Class EpsilonLaunchConfigurationDelegate
- java.lang.Object
-
- org.eclipse.debug.core.model.LaunchConfigurationDelegate
-
- org.eclipse.epsilon.eol.dt.launching.EpsilonLaunchConfigurationDelegate
-
- All Implemented Interfaces:
org.eclipse.debug.core.model.ILaunchConfigurationDelegate
,org.eclipse.debug.core.model.ILaunchConfigurationDelegate2
,EpsilonLaunchConfigurationDelegateListener
- Direct Known Subclasses:
EclLaunchConfigurationDelegate
,EglLaunchConfigurationDelegate
,EmlLaunchConfigurationDelegate
,EolLaunchConfigurationDelegate
,EplLaunchConfigurationDelegate
,EtlLaunchConfigurationDelegate
,EvlLaunchConfigurationDelegate
,FlockLaunchConfigurationDelegate
,PinsetLaunchConfigurationDelegate
public abstract class EpsilonLaunchConfigurationDelegate extends org.eclipse.debug.core.model.LaunchConfigurationDelegate implements EpsilonLaunchConfigurationDelegateListener
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.debug.core.ILaunchConfiguration
configuration
protected ArrayList<EpsilonLaunchConfigurationDelegateListener>
listeners
protected Object
result
-
Constructor Summary
Constructors Constructor Description EpsilonLaunchConfigurationDelegate()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
aboutToExecute(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IEolModule module)
void
aboutToParse(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IEolModule module)
protected void
collectListeners()
protected EolDebugger
createDebugger()
IEolModule
createModule()
Create the new module based on the configuration.void
executed(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IEolModule module, Object result)
abstract IEolModule
getDefaultModule(org.eclipse.debug.core.ILaunchConfiguration configuration)
Get the module default module implementation.protected abstract String
getLanguage()
void
launch(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
boolean
launch(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IEolModule module, EolDebugger debugger, String lauchConfigurationSourceAttribute, boolean setup, boolean disposeModelRepository)
protected boolean
parse(IModule module, String sourceAttribute, org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
protected void
postExecute(IEolModule module)
protected void
preExecute(IEolModule module)
boolean
preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.core.runtime.IProgressMonitor monitor)
protected void
preParse(IEolModule module)
void
teardown(IEolContext context, boolean disposeModelRepository)
-
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
-
result
protected Object result
-
configuration
protected org.eclipse.debug.core.ILaunchConfiguration configuration
-
listeners
protected ArrayList<EpsilonLaunchConfigurationDelegateListener> listeners
-
-
Method Detail
-
getDefaultModule
public abstract IEolModule getDefaultModule(org.eclipse.debug.core.ILaunchConfiguration configuration)
Get the module default module implementation.- Since:
- 1.6
-
preLaunchCheck
public boolean preLaunchCheck(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
- Specified by:
preLaunchCheck
in interfaceorg.eclipse.debug.core.model.ILaunchConfigurationDelegate2
- Overrides:
preLaunchCheck
in classorg.eclipse.debug.core.model.LaunchConfigurationDelegate
- Throws:
org.eclipse.core.runtime.CoreException
-
launch
public void launch(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws org.eclipse.core.runtime.CoreException
- Specified by:
launch
in interfaceorg.eclipse.debug.core.model.ILaunchConfigurationDelegate
- Throws:
org.eclipse.core.runtime.CoreException
-
launch
public boolean launch(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IEolModule module, EolDebugger debugger, String lauchConfigurationSourceAttribute, boolean setup, boolean disposeModelRepository) throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
-
createModule
public IEolModule createModule() throws org.eclipse.core.runtime.CoreException
Create the new module based on the configuration.- Returns:
- an ExL module for the specific language being executed
- Throws:
org.eclipse.core.runtime.CoreException
-
getLanguage
protected abstract String getLanguage()
-
collectListeners
protected void collectListeners()
-
aboutToParse
public void aboutToParse(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IEolModule module) throws org.eclipse.core.runtime.CoreException
- Specified by:
aboutToParse
in interfaceEpsilonLaunchConfigurationDelegateListener
- Throws:
org.eclipse.core.runtime.CoreException
-
aboutToExecute
public void aboutToExecute(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IEolModule module) throws Exception
- Specified by:
aboutToExecute
in interfaceEpsilonLaunchConfigurationDelegateListener
- Throws:
Exception
-
executed
public void executed(org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor, IEolModule module, Object result) throws Exception
- Specified by:
executed
in interfaceEpsilonLaunchConfigurationDelegateListener
- Throws:
Exception
-
preParse
protected void preParse(IEolModule module)
-
preExecute
protected void preExecute(IEolModule module) throws org.eclipse.core.runtime.CoreException, EolRuntimeException
- Throws:
org.eclipse.core.runtime.CoreException
EolRuntimeException
-
postExecute
protected void postExecute(IEolModule module) throws org.eclipse.core.runtime.CoreException, EolRuntimeException
- Throws:
org.eclipse.core.runtime.CoreException
EolRuntimeException
-
createDebugger
protected EolDebugger createDebugger()
-
parse
protected boolean parse(IModule module, String sourceAttribute, org.eclipse.debug.core.ILaunchConfiguration configuration, String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException
-
teardown
public void teardown(IEolContext context, boolean disposeModelRepository)
-
-