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
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.debug.core.ILaunchConfiguration
protected Object
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
protected EolDebugger
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
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.debug.core.model.ILaunchConfigurationDelegate
showCommandLine
-
Field Details
-
result
-
configuration
protected org.eclipse.debug.core.ILaunchConfiguration configuration -
listeners
-
-
Constructor Details
-
EpsilonLaunchConfigurationDelegate
public EpsilonLaunchConfigurationDelegate()
-
-
Method Details
-
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
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
-
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
-
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
-
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
-