diff options
author | Darin Wright | 2006-11-16 19:50:23 +0000 |
---|---|---|
committer | Darin Wright | 2006-11-16 19:50:23 +0000 |
commit | d69b2343df9c313c4abff3b6f158cfe9e957f3a7 (patch) | |
tree | 33ebf892a31d226a5eb857e81edfdd505673dbd9 | |
parent | d95a6fae4e710e84c0cd02c6e4323dc60366f6f7 (diff) | |
download | eclipse.platform.debug-d69b2343df9c313c4abff3b6f158cfe9e957f3a7.tar.gz eclipse.platform.debug-d69b2343df9c313c4abff3b6f158cfe9e957f3a7.tar.xz eclipse.platform.debug-d69b2343df9c313c4abff3b6f158cfe9e957f3a7.zip |
Bug 157059 [launching] extensible launch options
-rw-r--r-- | org.eclipse.debug.core/schema/launchConfigurationTypes.exsd | 2 | ||||
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationListenerTab.java | 69 |
2 files changed, 1 insertions, 70 deletions
diff --git a/org.eclipse.debug.core/schema/launchConfigurationTypes.exsd b/org.eclipse.debug.core/schema/launchConfigurationTypes.exsd index 8c1b8d3d4..94dd31c31 100644 --- a/org.eclipse.debug.core/schema/launchConfigurationTypes.exsd +++ b/org.eclipse.debug.core/schema/launchConfigurationTypes.exsd @@ -64,7 +64,7 @@ As of 3.2 the types can also define a migration delegate that can be used to set <annotation> <documentation> specifies the fully qualified name of the Java class that implements <code>ILaunchConfigurationDelegate</code>. -Launch configuration instances of this type will delegate to instances of this class to perform launching. Launch delegates can also be contributed for a launch configuration type via the <code>launchDelegates</code> extension. +Launch configuration instances of this type will delegate to instances of this class to perform launching. Launch delegates can also be contributed for a launch configuration type via the <code>launchDelegates</code> extension. The launch delegate specified by a <code>launchConfigurationType</code> extension is responsible for launching in all modes specified by the same extension. To extend the launching capabilities of an existing configuration type, or when different delegates are required for different launch mode combinations, the <code>launchDelegates</code> extension should be used to contribute a launch delegate. </documentation> <appInfo> <meta.attribute kind="java" basedOn="org.eclipse.debug.core.model.ILaunchConfigurationDelegate"/> diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationListenerTab.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationListenerTab.java deleted file mode 100644 index bf9d96633..000000000 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/ui/AbstractLaunchConfigurationListenerTab.java +++ /dev/null @@ -1,69 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2006 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.debug.ui; - -import java.util.Set; - -import org.eclipse.debug.core.DebugPlugin; -import org.eclipse.debug.core.ILaunchConfiguration; -import org.eclipse.debug.core.ILaunchConfigurationListener; -import org.eclipse.swt.widgets.Composite; - -/** - * Common function for a launch tab that edits a launch mode. - * <p> - * This class is intended to be subclassed by clients contributing launch tabs - * that modify launch modes on a launch configuration. - * </p> - * @since 3.3 - * - * <p> - * <strong>EXPERIMENTAL</strong>. This class has been added as - * part of a work in progress. There is no guarantee that this API will - * remain unchanged during the 3.3 release cycle. Please do not use this API - * without consulting with the Platform/Debug team. - * </p> - */ -public abstract class AbstractLaunchConfigurationListenerTab extends AbstractLaunchConfigurationTab implements ILaunchConfigurationListener { - - /** - * Returns the set of the modes this tab modifies. - * - * @return set of the modes this tab modifies - */ - public abstract Set getModes(); - - /** - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#createControl(org.eclipse.swt.widgets.Composite) - */ - public void createControl(Composite parent) { - DebugPlugin.getDefault().getLaunchManager().addLaunchConfigurationListener(this); - } - - /** - * @see org.eclipse.debug.ui.ILaunchConfigurationTab#dispose() - */ - public void dispose() { - DebugPlugin.getDefault().getLaunchManager().removeLaunchConfigurationListener(this); - super.dispose(); - } - - /** - * @see org.eclipse.debug.core.ILaunchConfigurationListener#launchConfigurationAdded(org.eclipse.debug.core.ILaunchConfiguration) - */ - public void launchConfigurationAdded(ILaunchConfiguration configuration) {} - - /** - * @see org.eclipse.debug.core.ILaunchConfigurationListener#launchConfigurationRemoved(org.eclipse.debug.core.ILaunchConfiguration) - */ - public void launchConfigurationRemoved(ILaunchConfiguration configuration) {} - -} |