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 Composite
container
Container for UI elements.protected ModifyListener
modifyListener
static String
PLUGIN_ID
The id of this plug-in.protected Text
textAllocation
Text field for path to allocation model file.protected Text
textUsage
Text 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 void
activated(ILaunchConfigurationWorkingCopy workingCopy)
boolean
canSave()
void
createControl(Composite parent)
void
deactivated(ILaunchConfigurationWorkingCopy workingCopy)
String
getId()
Image
getImage()
String
getName()
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
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:
getImage
in interfaceILaunchConfigurationTab
- Overrides:
getImage
in 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:
isValid
in interfaceILaunchConfigurationTab
- Overrides:
isValid
in classAbstractLaunchConfigurationTab
-
canSave
public boolean canSave()
- Specified by:
canSave
in interfaceILaunchConfigurationTab
- Overrides:
canSave
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
-
getId
public String getId()
- Overrides:
getId
in classAbstractLaunchConfigurationTab
-
-