Class PinsetSourceConfigurationTab
- java.lang.Object
-
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
- org.eclipse.epsilon.common.dt.launching.tabs.AbstractSourceConfigurationTab
-
- org.eclipse.epsilon.pinset.dt.launching.tabs.PinsetSourceConfigurationTab
-
- All Implemented Interfaces:
java.util.EventListener
,org.eclipse.debug.core.IPrototypeAttributesLabelProvider
,org.eclipse.debug.ui.ILaunchConfigurationTab
,org.eclipse.debug.ui.ILaunchConfigurationTab2
,org.eclipse.swt.events.ModifyListener
,org.eclipse.swt.events.SelectionListener
,org.eclipse.swt.internal.SWTEventListener
public class PinsetSourceConfigurationTab extends AbstractSourceConfigurationTab implements org.eclipse.swt.events.SelectionListener
PinsetSourceConfigurationTab.- Since:
- 2.1
- Author:
- Alfonso de la Vega
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.widgets.Button
browseForOutputFolder
static java.lang.String
GENERATE_TO
static int
GENERATE_TO_CUSTOM_FOLDER
static int
GENERATE_TO_DEFAULT_FOLDER
protected org.eclipse.swt.widgets.Button
generateToCustomFolder
protected org.eclipse.swt.widgets.Button
generateToDefaultFolder
static java.lang.String
OUTPUT_FOLDER
protected org.eclipse.swt.widgets.Group
outputFolderGroup
protected org.eclipse.swt.widgets.Text
outputFolderPath
-
Fields inherited from class org.eclipse.epsilon.common.dt.launching.tabs.AbstractSourceConfigurationTab
browse, extras, fileLabel, filePath
-
-
Constructor Summary
Constructors Constructor Description PinsetSourceConfigurationTab()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createControl(org.eclipse.swt.widgets.Composite parent)
protected void
createOutputFolderGroup(org.eclipse.swt.widgets.Composite control)
protected org.eclipse.swt.widgets.Text
createPathTextBox(org.eclipse.swt.widgets.Composite parent)
java.lang.String
getFileExtension()
java.lang.String
getImagePath()
java.lang.String
getLaunchConfigurationKey()
EpsilonPlugin
getPlugin()
java.lang.String
getSelectionSubtitle()
java.lang.String
getSelectionTitle()
java.lang.String
getTitle()
void
initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
void
performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
void
setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
protected void
updateEnabledStateOfOutputWidgets()
void
widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
void
widgetSelected(org.eclipse.swt.events.SelectionEvent e)
-
Methods inherited from class org.eclipse.epsilon.common.dt.launching.tabs.AbstractSourceConfigurationTab
canSave, createBrowseWorkspaceForContainerButton, createBrowseWorkspaceForFileButton, createGroup, createTwoColumnComposite, getActiveEditorName, getActiveEditorPath, getExtras, getFileLabel, getImage, getName, getSourceAttributeName, modifyText, newLaunchConfigurationName
-
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
activated, createCheckButton, createPushButton, createRadioButton, createSeparator, createUpdateJob, createVerticalSpacer, deactivated, dispose, getAttributeLabel, getAttributesLabelsForPrototype, getControl, getErrorMessage, getHelpContextId, getId, getLaunchConfigurationDialog, getLaunchManager, getMessage, getShell, getUpdateJobDelay, getWarningMessage, initializeAttributes, isDirty, isValid, launched, scheduleUpdateJob, setAttribute, setControl, setDirty, setErrorMessage, setHelpContextId, setLaunchConfigurationDialog, setMessage, setWarningMessage, updateLaunchConfigurationDialog
-
-
-
-
Field Detail
-
OUTPUT_FOLDER
public static final java.lang.String OUTPUT_FOLDER
- See Also:
- Constant Field Values
-
GENERATE_TO
public static final java.lang.String GENERATE_TO
- See Also:
- Constant Field Values
-
GENERATE_TO_DEFAULT_FOLDER
public static final int GENERATE_TO_DEFAULT_FOLDER
- See Also:
- Constant Field Values
-
GENERATE_TO_CUSTOM_FOLDER
public static final int GENERATE_TO_CUSTOM_FOLDER
- See Also:
- Constant Field Values
-
outputFolderGroup
protected org.eclipse.swt.widgets.Group outputFolderGroup
-
outputFolderPath
protected org.eclipse.swt.widgets.Text outputFolderPath
-
generateToDefaultFolder
protected org.eclipse.swt.widgets.Button generateToDefaultFolder
-
generateToCustomFolder
protected org.eclipse.swt.widgets.Button generateToCustomFolder
-
browseForOutputFolder
protected org.eclipse.swt.widgets.Button browseForOutputFolder
-
-
Method Detail
-
getPlugin
public EpsilonPlugin getPlugin()
- Specified by:
getPlugin
in classAbstractSourceConfigurationTab
-
getImagePath
public java.lang.String getImagePath()
- Specified by:
getImagePath
in classAbstractSourceConfigurationTab
-
getFileExtension
public java.lang.String getFileExtension()
- Overrides:
getFileExtension
in classAbstractSourceConfigurationTab
- Returns:
-
getSelectionTitle
public java.lang.String getSelectionTitle()
- Specified by:
getSelectionTitle
in classAbstractSourceConfigurationTab
-
getSelectionSubtitle
public java.lang.String getSelectionSubtitle()
- Specified by:
getSelectionSubtitle
in classAbstractSourceConfigurationTab
-
getLaunchConfigurationKey
public java.lang.String getLaunchConfigurationKey()
-
createControl
public void createControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createControl
in interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
createControl
in classAbstractSourceConfigurationTab
-
createOutputFolderGroup
protected void createOutputFolderGroup(org.eclipse.swt.widgets.Composite control)
-
createPathTextBox
protected org.eclipse.swt.widgets.Text createPathTextBox(org.eclipse.swt.widgets.Composite parent)
-
updateEnabledStateOfOutputWidgets
protected void updateEnabledStateOfOutputWidgets()
-
widgetSelected
public void widgetSelected(org.eclipse.swt.events.SelectionEvent e)
- Specified by:
widgetSelected
in interfaceorg.eclipse.swt.events.SelectionListener
-
widgetDefaultSelected
public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent e)
- Specified by:
widgetDefaultSelected
in interfaceorg.eclipse.swt.events.SelectionListener
-
setDefaults
public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
- Specified by:
setDefaults
in interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
setDefaults
in classAbstractSourceConfigurationTab
-
performApply
public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
- Specified by:
performApply
in interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
performApply
in classAbstractSourceConfigurationTab
-
initializeFrom
public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
- Specified by:
initializeFrom
in interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
initializeFrom
in classAbstractSourceConfigurationTab
-
getTitle
public java.lang.String getTitle()
- Overrides:
getTitle
in classAbstractSourceConfigurationTab
-
-