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
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 -
Method Summary
Modifier and TypeMethodDescriptiongetLanguage(org.eclipse.debug.core.ILaunchConfiguration configuration) Get the name of the language being configuredvoidinitializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) voidperformApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) voidsetDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) protected booleanshouldConfigurationElementBeIncludedAsAnImplementation(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 booleanshouldImplementationBeIncludedInDropDown(String implName, org.eclipse.debug.core.ILaunchConfiguration configuration) Whether to include the given option in the implementations drop-down combo list.protected booleanshouldImplementationBeRemoved(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, updateAvailableImplsMethods 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, updateLaunchConfigurationDialogMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.debug.ui.ILaunchConfigurationTab
OkToLeaveTab, postApply
-
Constructor Details
-
EglAdvancedConfigurationTab
public EglAdvancedConfigurationTab()
-
-
Method Details
-
getPlugin
- Specified by:
getPluginin classAbstractAdvancedConfigurationTab
-
initializeFrom
public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration configuration) - Specified by:
initializeFromin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
initializeFromin classAbstractAdvancedConfigurationTab
-
performApply
public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) - Specified by:
performApplyin interfaceorg.eclipse.debug.ui.ILaunchConfigurationTab- Overrides:
performApplyin classAbstractAdvancedConfigurationTab
-
setDefaults
public void setDefaults(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy configuration) -
getLanguage
Description copied from class:AbstractAdvancedConfigurationTabGet the name of the language being configured- Specified by:
getLanguagein classAbstractAdvancedConfigurationTab- Parameters:
configuration- the eclipse launch configuration
-
shouldImplementationBeIncludedInDropDown
protected boolean shouldImplementationBeIncludedInDropDown(String implName, org.eclipse.debug.core.ILaunchConfiguration configuration) Description copied from class:AbstractAdvancedConfigurationTabWhether to include the given option in the implementations drop-down combo list.- Overrides:
shouldImplementationBeIncludedInDropDownin 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:AbstractAdvancedConfigurationTabCalled ifAbstractAdvancedConfigurationTab.shouldConfigurationElementBeIncludedAsAnImplementation(String, IConfigurationElement)is false for the given inputs.- Overrides:
shouldImplementationBeRemovedin 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:AbstractAdvancedConfigurationTabUsed 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:
shouldConfigurationElementBeIncludedAsAnImplementationin 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.
-