|
Eclipse Platform 2.1 |
||||||||||
| 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.
| Constructor Summary | |
CommonTab()
|
|
| Method Summary | |
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. |
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. |
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. |
| Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab |
createPushButton, createRadioButton, 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 |
| Constructor Detail |
public CommonTab()
| Method Detail |
public void createControl(Composite parent)
ILaunchConfigurationTabsetLaunchConfigurationDialog
is called.
Implementors are responsible for ensuring that
the created control can be accessed via getControl
parent - the parent compositeILaunchConfigurationTab.createControl(Composite)public void initializeFrom(ILaunchConfiguration configuration)
ILaunchConfigurationTab
configuration - launch configurationILaunchConfigurationTab.initializeFrom(ILaunchConfiguration)public boolean isValid(ILaunchConfiguration config)
ILaunchConfigurationTabThis information is typically used by the launch configuration dialog to decide when it is okay to launch.
isValid in interface ILaunchConfigurationTabisValid in class AbstractLaunchConfigurationTabILaunchConfigurationTab.isValid(ILaunchConfiguration)public void setDefaults(ILaunchConfigurationWorkingCopy config)
ILaunchConfigurationTab
config - launch configurationILaunchConfigurationTab.setDefaults(ILaunchConfigurationWorkingCopy)public void performApply(ILaunchConfigurationWorkingCopy configuration)
ILaunchConfigurationTab
configuration - launch configurationILaunchConfigurationTab.performApply(ILaunchConfigurationWorkingCopy)public String getName()
ILaunchConfigurationTab
ILaunchConfigurationTab.getName()public boolean canSave()
ILaunchConfigurationTabisValid() in that canSave()
determines if this tab prevents the current launch configuration from being saved, whereas
isValid() determines if this tab prevents the current launch configuration from
being launched.
This information is typically used by the launch configuration dialog to decide when it is okay to save a launch configuration.
canSave in interface ILaunchConfigurationTabcanSave in class AbstractLaunchConfigurationTabILaunchConfigurationTab.canSave()public Image getImage()
ILaunchConfigurationTabnull if none
getImage in interface ILaunchConfigurationTabgetImage in class AbstractLaunchConfigurationTabILaunchConfigurationTab.getImage()protected org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager getLaunchConfigurationManager()
|
Eclipse Platform 2.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||