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 StringCONFIGURATION_TAB_IMAGE_PATHThe path to the image file for the tab icon.protected ButtondefaultLocationButtonButton stating if the default location should be selected.protected ModifyListenermodifyListenerstatic StringPLUGIN_IDThe id of this plug-in.protected SelectionListenerselectionListenerprotected TexttemporaryLocationFieldText 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 voidactivated(ILaunchConfigurationWorkingCopy workingCopy)protected voidcreateAccuracySection(Composite container)Creates the section for the accuracy analysis.voidcreateControl(Composite parent)protected voidcreateDeleteTemporaryDataAfterAnalysisSection(Composite container)Creates the section for the deletion of temporary data.protected voidcreateFurtherSections(Composite container)Derived classes may add further sections here.protected voidcreateTemporaryDataLocationSection(Composite container)Creates the section for the selection of the temporary data location.voiddeactivated(ILaunchConfigurationWorkingCopy workingCopy)ImagegetImage()StringgetName()/* (non-Javadoc)voidinitializeFrom(ILaunchConfiguration configuration)booleanisValid(ILaunchConfiguration launchConfig)voidperformApply(ILaunchConfigurationWorkingCopy configuration)voidsetDefaults(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:
getImagein interfaceILaunchConfigurationTab- Overrides:
getImagein 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:
isValidin interfaceILaunchConfigurationTab- Overrides:
isValidin classAbstractLaunchConfigurationTab
-
activated
public void activated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
activatedin interfaceILaunchConfigurationTab- Overrides:
activatedin classAbstractLaunchConfigurationTab
-
deactivated
public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
deactivatedin interfaceILaunchConfigurationTab- Overrides:
deactivatedin classAbstractLaunchConfigurationTab
-
-