Class ProtocomFileNamesInputTab
- java.lang.Object
-
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
- org.palladiosimulator.analyzer.workflow.runconfig.ProtocomFileNamesInputTab
-
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider,ILaunchConfigurationTab,ILaunchConfigurationTab2
- Direct Known Subclasses:
FileNamesInputTab
public class ProtocomFileNamesInputTab extends AbstractLaunchConfigurationTab
The class defines a tab, which is responsible for the input model(s) of the Palladio Component Model.
-
-
Field Summary
Fields Modifier and Type Field Description protected CompositecontainerContainer for UI elements.protected ModifyListenermodifyListenerstatic StringPLUGIN_IDThe id of this plug-in.protected TexttextAllocationText field for path to allocation model file.protected TexttextUsageText field for path to usage model file.
-
Constructor Summary
Constructors Constructor Description ProtocomFileNamesInputTab()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivated(ILaunchConfigurationWorkingCopy workingCopy)booleancanSave()voidcreateControl(Composite parent)voiddeactivated(ILaunchConfigurationWorkingCopy workingCopy)StringgetId()ImagegetImage()StringgetName()voidinitializeFrom(ILaunchConfiguration configuration)booleanisValid(ILaunchConfiguration launchConfig)voidperformApply(ILaunchConfigurationWorkingCopy configuration)voidsetDefaults(ILaunchConfigurationWorkingCopy configuration)-
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, dispose, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getErrorMessage, getHelpContextId, 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
-
textAllocation
protected Text textAllocation
Text field for path to allocation model file.
-
textUsage
protected Text textUsage
Text field for path to usage model file.
-
container
protected Composite container
Container for UI elements.
-
modifyListener
protected ModifyListener modifyListener
-
-
Method Detail
-
getImage
public Image getImage()
- Specified by:
getImagein interfaceILaunchConfigurationTab- Overrides:
getImagein classAbstractLaunchConfigurationTab
-
createControl
public void createControl(Composite parent)
-
getName
public String 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
-
canSave
public boolean canSave()
- Specified by:
canSavein interfaceILaunchConfigurationTab- Overrides:
canSavein 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
-
getId
public String getId()
- Overrides:
getIdin classAbstractLaunchConfigurationTab
-
-