Class AbstractConfigurationTab
- java.lang.Object
-
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
- org.palladiosimulator.analyzer.workflow.runconfig.AbstractConfigurationTab
-
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider
,ILaunchConfigurationTab
,ILaunchConfigurationTab2
- Direct Known Subclasses:
ConfigurationTab
public class AbstractConfigurationTab extends AbstractLaunchConfigurationTab
Configuration of an analysis method. Represents configuration settings which are independent of the solving method.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIGURATION_TAB_IMAGE_PATH
The path to the image file for the tab icon.protected Button
defaultLocationButton
Button stating if the default location should be selected.protected ModifyListener
modifyListener
static String
PLUGIN_ID
The id of this plug-in.protected SelectionListener
selectionListener
protected Text
temporaryLocationField
Text field for name of the plug-in project containing temporary data.
-
Constructor Summary
Constructors Constructor Description AbstractConfigurationTab()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activated(ILaunchConfigurationWorkingCopy workingCopy)
protected void
createAccuracySection(Composite container)
Creates the section for the accuracy analysis.void
createControl(Composite parent)
protected void
createDeleteTemporaryDataAfterAnalysisSection(Composite container)
Creates the section for the deletion of temporary data.protected void
createFurtherSections(Composite container)
Derived classes may add further sections here.protected void
createTemporaryDataLocationSection(Composite container)
Creates the section for the selection of the temporary data location.void
deactivated(ILaunchConfigurationWorkingCopy workingCopy)
Image
getImage()
String
getName()
/* (non-Javadoc)void
initializeFrom(ILaunchConfiguration configuration)
boolean
isValid(ILaunchConfiguration launchConfig)
void
performApply(ILaunchConfigurationWorkingCopy configuration)
void
setDefaults(ILaunchConfigurationWorkingCopy configuration)
-
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, dispose, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getErrorMessage, getHelpContextId, getId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, initializeAttributes, isDirty, 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 Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
The id of this plug-in.- See Also:
- Constant Field Values
-
CONFIGURATION_TAB_IMAGE_PATH
public static final String CONFIGURATION_TAB_IMAGE_PATH
The path to the image file for the tab icon.- See Also:
- Constant Field Values
-
temporaryLocationField
protected Text temporaryLocationField
Text field for name of the plug-in project containing temporary data.
-
defaultLocationButton
protected Button defaultLocationButton
Button stating if the default location should be selected.
-
modifyListener
protected ModifyListener modifyListener
-
selectionListener
protected SelectionListener selectionListener
-
-
Method Detail
-
getImage
public Image getImage()
- Specified by:
getImage
in interfaceILaunchConfigurationTab
- Overrides:
getImage
in classAbstractLaunchConfigurationTab
-
createControl
public void createControl(Composite parent)
-
createAccuracySection
protected void createAccuracySection(Composite container)
Creates the section for the accuracy analysis.- Parameters:
container
- Container in which teh elements are created.
-
createDeleteTemporaryDataAfterAnalysisSection
protected void createDeleteTemporaryDataAfterAnalysisSection(Composite container)
Creates the section for the deletion of temporary data.- Parameters:
container
- Container in which the elements are created.
-
createTemporaryDataLocationSection
protected void createTemporaryDataLocationSection(Composite container)
Creates the section for the selection of the temporary data location.- Parameters:
container
- Container in which the elements are created.modifyListener
- The lister to use on modifications.
-
createFurtherSections
protected void createFurtherSections(Composite container)
Derived classes may add further sections here.- Parameters:
container
- Container in which the elements are created.
-
getName
public String getName()
/* (non-Javadoc)- See Also:
ILaunchConfigurationTab.getName()
-
initializeFrom
public void initializeFrom(ILaunchConfiguration configuration)
-
performApply
public void performApply(ILaunchConfigurationWorkingCopy configuration)
-
setDefaults
public void setDefaults(ILaunchConfigurationWorkingCopy configuration)
-
isValid
public boolean isValid(ILaunchConfiguration launchConfig)
- Specified by:
isValid
in interfaceILaunchConfigurationTab
- Overrides:
isValid
in classAbstractLaunchConfigurationTab
-
activated
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
activated
in interfaceILaunchConfigurationTab
- Overrides:
activated
in classAbstractLaunchConfigurationTab
-
deactivated
public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
deactivated
in interfaceILaunchConfigurationTab
- Overrides:
deactivated
in classAbstractLaunchConfigurationTab
-
-