Class PCMConfidentialityDSLLaunchConfigurationTab
- java.lang.Object
-
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
- org.palladiosimulator.dataflow.confidentiality.pcm.querydsl.ui.custom.launch.PCMConfidentialityDSLLaunchConfigurationTab
-
- All Implemented Interfaces:
IPrototypeAttributesLabelProvider
,ILaunchConfigurationTab
,ILaunchConfigurationTab2
public class PCMConfidentialityDSLLaunchConfigurationTab extends AbstractLaunchConfigurationTab
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
PCMConfidentialityDSLLaunchConfigurationTab.AttributeTakingExecutor
-
Field Summary
Fields Modifier and Type Field Description protected Collection<Runnable>
disposeTasks
protected Map<String,String>
errorMessages
protected Map<String,IObservableValue<IFile>>
fileValues
protected IObservableValue<IFile>
resultFileValue
-
Constructor Summary
Constructors Constructor Description PCMConfidentialityDSLLaunchConfigurationTab()
-
Method Summary
-
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
activated, canSave, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getErrorMessage, getHelpContextId, getId, getImage, 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
-
fileValues
protected final Map<String,IObservableValue<IFile>> fileValues
-
resultFileValue
protected final IObservableValue<IFile> resultFileValue
-
disposeTasks
protected final Collection<Runnable> disposeTasks
-
-
Method Detail
-
createControl
public void createControl(Composite parent)
-
addNewFileControlForResult
protected void addNewFileControlForResult(Composite parent, Composite composite)
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceILaunchConfigurationTab
- Overrides:
dispose
in classAbstractLaunchConfigurationTab
-
setDefaults
public void setDefaults(ILaunchConfigurationWorkingCopy configuration)
-
initializeFrom
public void initializeFrom(ILaunchConfiguration configuration)
-
performApply
public void performApply(ILaunchConfigurationWorkingCopy configuration)
-
isValid
public boolean isValid(ILaunchConfiguration launchConfig)
- Specified by:
isValid
in interfaceILaunchConfigurationTab
- Overrides:
isValid
in classAbstractLaunchConfigurationTab
-
getName
public String getName()
-
validateConfig
protected boolean validateConfig(ILaunchConfiguration launchConfig)
-
executeForAllFiles
protected static void executeForAllFiles(PCMConfidentialityDSLLaunchConfigurationTab.AttributeTakingExecutor task) throws CoreException
- Throws:
CoreException
-
addFileControls
protected void addFileControls(Composite parent, String artifactName, String attributeName, Collection<String> fileExtensions)
-
addErrorDetectionForFileHolder
protected void addErrorDetectionForFileHolder(String attributeName, IObservableValue<IFile> valueHolder)
-
updateErrorMessages
protected void updateErrorMessages()
-
setFileInModel
protected static void setFileInModel(ILaunchConfiguration configuration, String attributeName, IObservableValue<IFile> model, boolean mustExist) throws CoreException
- Throws:
CoreException
-
setFileInLaunchConfig
protected static void setFileInLaunchConfig(ILaunchConfigurationWorkingCopy configuration, String attributeName, IObservableValue<IFile> model)
-
-