|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.debug.ui.AbstractLaunchConfigurationTab org.eclipse.debug.ui.CommonTab
Launch configuration tab used to specify the location a launch configuration is stored in, whether it should appear in the favorites list, and perspective switching behavior for an associated launch.
Clients may instantiate this class. This class is not intended to be subclassed.
Field Summary | |
protected Button | fLaunchInBackgroundButton
|
Constructor Summary | |
CommonTab()
|
Method Summary | |
void | activated(ILaunchConfigurationWorkingCopy workingCopy)
This method was added to the ILaunchConfigurationTab interface in the 3.0 release to allow tabs to distinguish between a tab being activated and a tab group be initialized for the first time, from a selected launch configuration. |
boolean | canSave()
Returns whether this tab is in a state that allows the launch configuration whose values this tab is showing to be saved. |
void | createControl(Composite parent)
Creates the top level control for this launch configuration tab under the given parent composite. |
protected void | createLaunchInBackgroundComponent(Composite parent)
Creates the controls needed to edit the launch in background attribute of an external tool |
void | deactivated(ILaunchConfigurationWorkingCopy workingCopy)
This method was added to the ILaunchConfigurationTab interface in the 3.0 release to allow tabs to distinguish between a tab being deactivated and saving its attributes to a launch configuration. |
Image | getImage()
Returns the image for this tab, or null if none |
protected org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager | getLaunchConfigurationManager()
Convenience accessor |
String | getName()
Returns the name of this tab. |
void | initializeFrom(ILaunchConfiguration configuration)
Initializes this tab's controls with values from the given launch configuration. |
static boolean | isLaunchInBackground(ILaunchConfiguration configuration)
Returns whether the given configuration should be launched in the background. |
boolean | isValid(ILaunchConfiguration config)
Returns whether this tab is in a valid state in the context of the specified launch configuration. |
void | performApply(ILaunchConfigurationWorkingCopy configuration)
Copies values from this tab into the given launch configuration. |
void | setDefaults(ILaunchConfigurationWorkingCopy config)
Initializes the given launch configuration with default values for this tab. |
protected void | updateLaunchInBackground(ILaunchConfiguration configuration)
|
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab |
createCheckButton, createPushButton, createRadioButton, createSeparator, createVerticalSpacer, dispose, getControl, getErrorMessage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, isDirty, launched, setAttribute, setControl, setDirty, setErrorMessage, setLaunchConfigurationDialog, setMessage, updateLaunchConfigurationDialog |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Button fLaunchInBackgroundButton
Constructor Detail |
public CommonTab()
Method Detail |
public void createControl(Composite parent)
Implementors are responsible for ensuring that the created control can be accessed via getControl
protected void createLaunchInBackgroundComponent(Composite parent)
public void initializeFrom(ILaunchConfiguration configuration)
protected void updateLaunchInBackground(ILaunchConfiguration configuration)
public static boolean isLaunchInBackground(ILaunchConfiguration configuration)
public boolean isValid(ILaunchConfiguration config)
This information is typically used by the launch configuration dialog to decide when it is okay to launch.
public void setDefaults(ILaunchConfigurationWorkingCopy config)
public void performApply(ILaunchConfigurationWorkingCopy configuration)
public String getName()
public boolean canSave()
This information is typically used by the launch configuration dialog to decide when it is okay to save a launch configuration.
public Image getImage()
protected org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager getLaunchConfigurationManager()
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
The launch tab framework was originially designed to take care of inter tab communication by applying attributes from the active tab to the launch configuration being edited, when a tab is exited, and by initializing a tab when activated. The addition of the methods activated and deactivated allow tabs to determine the appropriate course of action.
public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
The launch tab framework was originially designed to take care of inter tab communication by applying attributes from the active tab to the launch configuration being edited, when a tab is exited, and by initializing a tab when activated. The addition of the methods activated and deactivated allow tabs to determine the appropriate course of action.
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.