org.eclipse.ocl.examples.debug.vm.launching
Class VMLaunchConfigurationDelegate<EC extends EvaluationContext>

java.lang.Object
  extended by org.eclipse.debug.core.model.LaunchConfigurationDelegate
      extended by org.eclipse.ocl.examples.debug.vm.launching.VMLaunchConfigurationDelegate<EC>
All Implemented Interfaces:
org.eclipse.debug.core.model.ILaunchConfigurationDelegate, org.eclipse.debug.core.model.ILaunchConfigurationDelegate2
Direct Known Subclasses:
OCLVMLaunchConfigurationDelegate

public abstract class VMLaunchConfigurationDelegate<EC extends EvaluationContext>
extends org.eclipse.debug.core.model.LaunchConfigurationDelegate


Field Summary
 
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
 
Constructor Summary
VMLaunchConfigurationDelegate()
           
 
Method Summary
protected  void addSourceModificationListener(org.eclipse.core.resources.IFile unitFile, org.eclipse.debug.core.model.ITerminate terminate)
           
protected abstract  DebuggableRunnerFactory createDebuggableRunnerFactory(org.eclipse.emf.ecore.EPackage.Registry packageRegistry, java.util.List<java.lang.String> modelURIs, java.lang.String traceURI)
           
protected abstract  VMDebugTarget createDebugTarget(IVMVirtualMachineShell vm, VMVirtualProcess process)
           
protected abstract  EC createEvaluationContext(org.eclipse.debug.core.ILaunchConfiguration configuration)
           
protected  org.eclipse.emf.ecore.EPackage.Registry createPackageRegistry(java.lang.String debuggableUri)
           
protected abstract  VMVirtualMachine createVirtualMachine(EC evaluationContext, DebuggableRunner runner)
           
protected abstract  VMVirtualProcess createVirtualProcess(org.eclipse.debug.core.ILaunch launch, IVMVirtualMachineShell vm)
           
protected abstract  VMDebugCore getDebugCore()
           
 void launch(org.eclipse.debug.core.ILaunchConfiguration configuration, java.lang.String mode, org.eclipse.debug.core.ILaunch launch, org.eclipse.core.runtime.IProgressMonitor monitor)
           
 
Methods inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
addReferencedProjects, buildForLaunch, buildProjects, computeBuildOrder, computeReferencedBuildOrder, existsProblems, finalLaunchCheck, getBreakpoints, getBuildOrder, getLaunch, getProjectsForProblemSearch, isLaunchProblem, preLaunchCheck, saveBeforeLaunch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VMLaunchConfigurationDelegate

public VMLaunchConfigurationDelegate()
Method Detail

addSourceModificationListener

protected void addSourceModificationListener(@NonNull
                                             org.eclipse.core.resources.IFile unitFile,
                                             @NonNull
                                             org.eclipse.debug.core.model.ITerminate terminate)

createDebugTarget

@NonNull
protected abstract VMDebugTarget createDebugTarget(@NonNull
                                                           IVMVirtualMachineShell vm,
                                                           @NonNull
                                                           VMVirtualProcess process)

createDebuggableRunnerFactory

@NonNull
protected abstract DebuggableRunnerFactory createDebuggableRunnerFactory(@NonNull
                                                                                 org.eclipse.emf.ecore.EPackage.Registry packageRegistry,
                                                                                 @NonNull
                                                                                 java.util.List<java.lang.String> modelURIs,
                                                                                 @Nullable
                                                                                 java.lang.String traceURI)

createEvaluationContext

@NonNull
protected abstract EC createEvaluationContext(@NonNull
                                                      org.eclipse.debug.core.ILaunchConfiguration configuration)
                                                                 throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

createPackageRegistry

@NonNull
protected org.eclipse.emf.ecore.EPackage.Registry createPackageRegistry(java.lang.String debuggableUri)

createVirtualMachine

@NonNull
protected abstract VMVirtualMachine createVirtualMachine(@NonNull
                                                                 EC evaluationContext,
                                                                 @NonNull
                                                                 DebuggableRunner runner)

createVirtualProcess

@NonNull
protected abstract VMVirtualProcess createVirtualProcess(@NonNull
                                                                 org.eclipse.debug.core.ILaunch launch,
                                                                 @NonNull
                                                                 IVMVirtualMachineShell vm)

getDebugCore

@NonNull
protected abstract VMDebugCore getDebugCore()

launch

public void launch(org.eclipse.debug.core.ILaunchConfiguration configuration,
                   java.lang.String mode,
                   org.eclipse.debug.core.ILaunch launch,
                   org.eclipse.core.runtime.IProgressMonitor monitor)
            throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException