Class SimuComConfigurationTab
- java.lang.Object
-
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
- de.uka.ipd.sdq.codegen.simucontroller.runconfig.SimuComConfigurationTab
-
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider,ILaunchConfigurationTab,ILaunchConfigurationTab2
- Direct Known Subclasses:
RerunSimuComConfigurationTab
public class SimuComConfigurationTab extends AbstractLaunchConfigurationTab
The class defines a tab, which is responsible for the SimuCom configuration.
-
-
Constructor Summary
Constructors Constructor Description SimuComConfigurationTab()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactivated(ILaunchConfigurationWorkingCopy configuration)protected voidapplySimulatorGroup(ILaunchConfigurationWorkingCopy configuration)Applies the configuration for the simulator groupprotected voidcreateConfidenceStopConditionGroup(ModifyListener modifyListener)The confidence stop condition group, the fifth group of the SimuComConfigurationTabvoidcreateControl(Composite parent)protected voidcreateDataSetGroup()Creates the data set group, the third group of the SimuComConfigurationTabprotected voidcreateExperimentRunGroup(ModifyListener modifyListener)Creates the experiment run group, the second section of the SimuComConfigurationTabprotected voidcreateGeneratorSeedsGroup(ModifyListener modifyListener)The generator seeds group, previous in analysis configuration tab, now the last section of the SimuComConfigurationTabprotected voidcreateLoggingGroup()The logging group, the sixth section of the SimuComConfigurationTabprotected voidcreateSimulatorGroup()Creates the simulator group, the first section of the SimuComConfigurationTabprotected voidcreateStopConditionGroup(ModifyListener modifyListener)Creates the stop condition group, the fourth section of the SimuComConfigurationTabvoiddeactivated(ILaunchConfigurationWorkingCopy workingCopy)ImagegetImage()StringgetName()voidinitializeFrom(ILaunchConfiguration configuration)protected voidinitializeSimulatorGroup(ILaunchConfiguration configuration)initializes the simulator group with the help of the given configurationprotected booleanisSimulatorGroupValid()Validation of the simulator groupbooleanisValid(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
-
container
protected Composite container
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
-
createSimulatorGroup
protected void createSimulatorGroup()
Creates the simulator group, the first section of the SimuComConfigurationTab
-
createExperimentRunGroup
protected void createExperimentRunGroup(ModifyListener modifyListener)
Creates the experiment run group, the second section of the SimuComConfigurationTab- Parameters:
modifyListener- the ModifyListener which should be added to the elements
-
createDataSetGroup
protected void createDataSetGroup()
Creates the data set group, the third group of the SimuComConfigurationTab
-
createStopConditionGroup
protected void createStopConditionGroup(ModifyListener modifyListener)
Creates the stop condition group, the fourth section of the SimuComConfigurationTab- Parameters:
modifyListener- the ModifyListener which should be added to the elements
-
createConfidenceStopConditionGroup
protected void createConfidenceStopConditionGroup(ModifyListener modifyListener)
The confidence stop condition group, the fifth group of the SimuComConfigurationTab- Parameters:
modifyListener- the ModifyListener which should be added to the elements
-
createLoggingGroup
protected void createLoggingGroup()
The logging group, the sixth section of the SimuComConfigurationTab
-
createGeneratorSeedsGroup
protected void createGeneratorSeedsGroup(ModifyListener modifyListener)
The generator seeds group, previous in analysis configuration tab, now the last section of the SimuComConfigurationTab- Parameters:
modifyListener- the ModifyListener which should be added to the elements
-
getName
public String getName()
-
initializeFrom
public void initializeFrom(ILaunchConfiguration configuration)
-
initializeSimulatorGroup
protected void initializeSimulatorGroup(ILaunchConfiguration configuration)
initializes the simulator group with the help of the given configuration- Parameters:
configuration- the given ILaunchConfiguration
-
performApply
public void performApply(ILaunchConfigurationWorkingCopy configuration)
-
applySimulatorGroup
protected void applySimulatorGroup(ILaunchConfigurationWorkingCopy configuration)
Applies the configuration for the simulator group- Parameters:
configuration- the configuration where the values should be written to
-
setDefaults
public void setDefaults(ILaunchConfigurationWorkingCopy configuration)
-
getImage
public Image getImage()
- Specified by:
getImagein interfaceILaunchConfigurationTab- Overrides:
getImagein classAbstractLaunchConfigurationTab
-
isValid
public boolean isValid(ILaunchConfiguration launchConfig)
- Specified by:
isValidin interfaceILaunchConfigurationTab- Overrides:
isValidin classAbstractLaunchConfigurationTab
-
isSimulatorGroupValid
protected boolean isSimulatorGroupValid()
Validation of the simulator group
-
activated
public void activated(ILaunchConfigurationWorkingCopy configuration)
- Specified by:
activatedin interfaceILaunchConfigurationTab- Overrides:
activatedin classAbstractLaunchConfigurationTab
-
deactivated
public void deactivated(ILaunchConfigurationWorkingCopy workingCopy)
- Specified by:
deactivatedin interfaceILaunchConfigurationTab- Overrides:
deactivatedin classAbstractLaunchConfigurationTab
-
-