Class EglLaunchConfigurationDelegate
- java.lang.Object
-
- org.eclipse.debug.core.model.LaunchConfigurationDelegate
-
- org.eclipse.epsilon.eol.dt.launching.EpsilonLaunchConfigurationDelegate
-
- org.eclipse.epsilon.egl.dt.launching.EglLaunchConfigurationDelegate
-
- All Implemented Interfaces:
org.eclipse.debug.core.model.ILaunchConfigurationDelegate
,org.eclipse.debug.core.model.ILaunchConfigurationDelegate2
,EpsilonLaunchConfigurationDelegateListener
public class EglLaunchConfigurationDelegate extends EpsilonLaunchConfigurationDelegate
-
-
Field Summary
Fields Modifier and Type Field Description protected Trace
fineGrainedTrace
-
Fields inherited from class org.eclipse.epsilon.eol.dt.launching.EpsilonLaunchConfigurationDelegate
configuration, listeners, result
-
-
Constructor Summary
Constructors Constructor Description EglLaunchConfigurationDelegate()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected EolDebugger
createDebugger()
IEolModule
createModule()
Create the new module based on the configuration.EglTemplateFactory
createTemplateFactoryFromConfiguration()
IEolModule
getDefaultModule(org.eclipse.debug.core.ILaunchConfiguration configuration)
Get the module default module implementation.static java.lang.String
getImplementationFromConfig(org.eclipse.debug.core.ILaunchConfiguration configuration)
protected java.lang.String
getLanguage()
static java.lang.String
getLanguageFromSource(org.eclipse.debug.core.ILaunchConfiguration configuration)
The language provided by the plugin.protected boolean
isEgx()
protected void
postExecute(IEolModule module)
protected void
preExecute(IEolModule module)
protected void
preParse(IEolModule module)
-
Methods inherited from class org.eclipse.epsilon.eol.dt.launching.EpsilonLaunchConfigurationDelegate
aboutToExecute, aboutToParse, collectListeners, executed, launch, launch, parse, preLaunchCheck, teardown
-
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getBuildOrder, getLaunch, getProjectsForProblemSearch, isLaunchProblem, saveBeforeLaunch
-
-
-
-
Field Detail
-
fineGrainedTrace
protected Trace fineGrainedTrace
-
-
Method Detail
-
getLanguageFromSource
public static java.lang.String getLanguageFromSource(org.eclipse.debug.core.ILaunchConfiguration configuration)
The language provided by the plugin. It allows other plugins to contribute alternate IModule implementation of the language.- Parameters:
configuration
- The Eclipse configuration that has the source file information.- Since:
- 1.6
-
getImplementationFromConfig
public static java.lang.String getImplementationFromConfig(org.eclipse.debug.core.ILaunchConfiguration configuration) throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
-
createModule
public IEolModule createModule() throws org.eclipse.core.runtime.CoreException
Description copied from class:EpsilonLaunchConfigurationDelegate
Create the new module based on the configuration.- Overrides:
createModule
in classEpsilonLaunchConfigurationDelegate
- Returns:
- an ExL module for the specific language being executed
- Throws:
org.eclipse.core.runtime.CoreException
-
createTemplateFactoryFromConfiguration
public EglTemplateFactory createTemplateFactoryFromConfiguration() throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
-
preParse
protected void preParse(IEolModule module)
- Overrides:
preParse
in classEpsilonLaunchConfigurationDelegate
-
preExecute
protected void preExecute(IEolModule module) throws org.eclipse.core.runtime.CoreException, EolRuntimeException
- Overrides:
preExecute
in classEpsilonLaunchConfigurationDelegate
- Throws:
org.eclipse.core.runtime.CoreException
EolRuntimeException
-
postExecute
protected void postExecute(IEolModule module) throws org.eclipse.core.runtime.CoreException, EolRuntimeException
- Overrides:
postExecute
in classEpsilonLaunchConfigurationDelegate
- Throws:
org.eclipse.core.runtime.CoreException
EolRuntimeException
-
isEgx
protected boolean isEgx()
-
createDebugger
protected EolDebugger createDebugger()
- Overrides:
createDebugger
in classEpsilonLaunchConfigurationDelegate
-
getDefaultModule
public IEolModule getDefaultModule(org.eclipse.debug.core.ILaunchConfiguration configuration)
Description copied from class:EpsilonLaunchConfigurationDelegate
Get the module default module implementation.- Specified by:
getDefaultModule
in classEpsilonLaunchConfigurationDelegate
-
getLanguage
protected java.lang.String getLanguage()
- Specified by:
getLanguage
in classEpsilonLaunchConfigurationDelegate
-
-