Class LaunchMultipleTab
java.lang.Object
org.eclipse.debug.ui.AbstractLaunchConfigurationTab
de.uka.ipd.sdq.workflow.launchconfig.multiple.LaunchMultipleTab
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider
,ILaunchConfigurationTab
,ILaunchConfigurationTab2
Launch configuration tab to choose from existing launch configurations.
Configurations of all types except the own one are provided.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Identifier for the selected launches attribute. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createControl
(Composite parent) Create the view to configure the launch configuration as part of the ui tab.Gets the launch configurations to present to the user.getName()
Get the name of the launch configuration tab.void
initializeFrom
(ILaunchConfiguration configuration) Initialize the configuration view with the values of a launch configuration object.void
Handle the apply action.void
Set the default values in the configuration view.Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, dispose, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getErrorMessage, getHelpContextId, getId, getImage, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, initializeAttributes, isDirty, isValid, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTab
OkToLeaveTab, postApply
-
Field Details
-
SELECTED_LAUNCHES
Identifier for the selected launches attribute.- See Also:
-
-
Constructor Details
-
LaunchMultipleTab
public LaunchMultipleTab()
-
-
Method Details
-
createControl
Create the view to configure the launch configuration as part of the ui tab.- Parameters:
parent
- The composite the ui control will be placed in.- See Also:
-
getLaunchConfigs
Gets the launch configurations to present to the user. The method loads the configuration instances for all types except of the launch multiple type itself.- Returns:
- The list of launch configurations.
-
getName
Get the name of the launch configuration tab.- Returns:
- The name.
- See Also:
-
initializeFrom
Initialize the configuration view with the values of a launch configuration object.- Parameters:
configuration
- The configuration object to read the values from.- See Also:
-
performApply
Handle the apply action. Build the list of selected launch configurations identified by the button text and store the list of selected launches in a configuration attribute.- Parameters:
config
- The configuration to be filled as part of the apply.- See Also:
-
setDefaults
Set the default values in the configuration view.- Parameters:
config
- The configuration object to set the default values in.- See Also:
-