Class EglAdvancedConfigurationTab
- java.lang.Object
-
- org.eclipse.debug.ui.AbstractLaunchConfigurationTab
-
- org.eclipse.epsilon.common.dt.launching.tabs.AbstractAdvancedConfigurationTab
-
- org.eclipse.epsilon.egl.dt.launching.tabs.EglAdvancedConfigurationTab
-
- All Implemented Interfaces:
org.eclipse.debug.core.IPrototypeAttributesLabelProvider
,org.eclipse.debug.ui.ILaunchConfigurationTab
,org.eclipse.debug.ui.ILaunchConfigurationTab2
public class EglAdvancedConfigurationTab extends AbstractAdvancedConfigurationTab
The Class EglAdvancedConfigurationTab.- Since:
- 1.6
- Author:
- Horacio Hoyos Rodriguez
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.common.dt.launching.tabs.AbstractAdvancedConfigurationTab
IMPL_NAME, implName
-
-
Constructor Summary
Constructors Constructor Description EglAdvancedConfigurationTab()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLanguage(org.eclipse.debug.core.ILaunchConfiguration configuration)
Get the name of the language being configuredEpsilonPlugin
getPlugin()
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 boolean
shouldConfigurationElementBeIncludedAsAnImplementation(String language, org.eclipse.core.runtime.IConfigurationElement configurationElement)
Used by subclasses to control flexibility of what languages should be included when callingAbstractAdvancedConfigurationTab.getImplementations()
from a given IConfigurationElement.protected boolean
shouldImplementationBeIncludedInDropDown(String implName, org.eclipse.debug.core.ILaunchConfiguration configuration)
Whether to include the given option in the implementations drop-down combo list.protected boolean
shouldImplementationBeRemoved(String language, org.eclipse.core.runtime.IConfigurationElement configurationElement)
Called ifAbstractAdvancedConfigurationTab.shouldConfigurationElementBeIncludedAsAnImplementation(String, IConfigurationElement)
is false for the given inputs.-
Methods inherited from class org.eclipse.epsilon.common.dt.launching.tabs.AbstractAdvancedConfigurationTab
activated, createControl, enableApply, getImage, getImplementations, getImplementations, getName, setImplementations, updateAvailableImpls
-
Methods inherited from class org.eclipse.debug.ui.AbstractLaunchConfigurationTab
canSave, 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
-
-
-
-
Method Detail
-
getPlugin
public EpsilonPlugin getPlugin()
- Specified by:
getPlugin
in classAbstractAdvancedConfigurationTab
-
initializeFrom
public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration)
- Specified by:
initializeFrom
in interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
initializeFrom
in classAbstractAdvancedConfigurationTab
-
performApply
public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
- Specified by:
performApply
in interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab
- Overrides:
performApply
in classAbstractAdvancedConfigurationTab
-
setDefaults
public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration)
-
getLanguage
public String getLanguage(org.eclipse.debug.core.ILaunchConfiguration configuration)
Description copied from class:AbstractAdvancedConfigurationTab
Get the name of the language being configured- Specified by:
getLanguage
in classAbstractAdvancedConfigurationTab
- Parameters:
configuration
- the eclipse launch configuration
-
shouldImplementationBeIncludedInDropDown
protected boolean shouldImplementationBeIncludedInDropDown(String implName, org.eclipse.debug.core.ILaunchConfiguration configuration)
Description copied from class:AbstractAdvancedConfigurationTab
Whether to include the given option in the implementations drop-down combo list.- Overrides:
shouldImplementationBeIncludedInDropDown
in classAbstractAdvancedConfigurationTab
- Parameters:
implName
- The name of the implementation- Returns:
- Whether it should be included
-
shouldImplementationBeRemoved
protected boolean shouldImplementationBeRemoved(String language, org.eclipse.core.runtime.IConfigurationElement configurationElement)
Description copied from class:AbstractAdvancedConfigurationTab
Called ifAbstractAdvancedConfigurationTab.shouldConfigurationElementBeIncludedAsAnImplementation(String, IConfigurationElement)
is false for the given inputs.- Overrides:
shouldImplementationBeRemoved
in classAbstractAdvancedConfigurationTab
- Parameters:
language
- As obtained fromAbstractAdvancedConfigurationTab.getLanguage(ILaunchConfiguration)
configurationElement
- Elements from the extension point.- Returns:
- Whether to remove this implementation.
-
shouldConfigurationElementBeIncludedAsAnImplementation
protected boolean shouldConfigurationElementBeIncludedAsAnImplementation(String language, org.eclipse.core.runtime.IConfigurationElement configurationElement)
Description copied from class:AbstractAdvancedConfigurationTab
Used by subclasses to control flexibility of what languages should be included when callingAbstractAdvancedConfigurationTab.getImplementations()
from a given IConfigurationElement. By default, this simply tests for equality between the language and the configurationElement's language attribute.- Overrides:
shouldConfigurationElementBeIncludedAsAnImplementation
in classAbstractAdvancedConfigurationTab
- Parameters:
language
- As obtained fromAbstractAdvancedConfigurationTab.getLanguage(ILaunchConfiguration)
configurationElement
- Elements from the extension point.- Returns:
- Whether the language from the configuration element should be included.
-
-