org.eclipse.ocl.examples.debug.launching
Class OCLVMLaunchConfigurationDelegate

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

public class OCLVMLaunchConfigurationDelegate
extends VMLaunchConfigurationDelegate<OCLEvaluationContext>
implements OCLLaunchConstants


Field Summary
static org.eclipse.core.runtime.IStatus MODIFIED_SOURCE_STATUS
           
 
Fields inherited from class org.eclipse.debug.core.model.LaunchConfigurationDelegate
complileErrorProjectPromptStatus, complileErrorPromptStatus, promptStatus, saveScopedDirtyEditors, switchToDebugPromptStatus
 
Fields inherited from interface org.eclipse.ocl.examples.debug.launching.OCLLaunchConstants
CONSTRAINT_URI, CONTEXT_OBJECT, CONTEXT_URI, EXPRESSION_OBJECT, LAUNCH_CONFIGURATION_TYPE_ID, MODEL_URI, OCL_KEY
 
Constructor Summary
OCLVMLaunchConfigurationDelegate()
           
 
Method Summary
protected  DebuggableRunnerFactory createDebuggableRunnerFactory(org.eclipse.emf.ecore.EPackage.Registry packageRegistry, java.util.List<java.lang.String> modelURIs, java.lang.String traceURI)
           
protected  OCLDebugTarget createDebugTarget(IVMVirtualMachineShell vm, VMVirtualProcess process)
           
protected  OCLEvaluationContext createEvaluationContext(org.eclipse.debug.core.ILaunchConfiguration configuration)
           
protected  OCLVMVirtualMachine createVirtualMachine(OCLEvaluationContext evaluationContext, DebuggableRunner runner)
           
protected  OCLVirtualProcess createVirtualProcess(org.eclipse.debug.core.ILaunch launch, IVMVirtualMachineShell vm)
           
protected  OCLDebugCore getDebugCore()
           
 
Methods inherited from class org.eclipse.ocl.examples.debug.vm.launching.VMLaunchConfigurationDelegate
addSourceModificationListener, createPackageRegistry, launch
 
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
 

Field Detail

MODIFIED_SOURCE_STATUS

public static final org.eclipse.core.runtime.IStatus MODIFIED_SOURCE_STATUS
Constructor Detail

OCLVMLaunchConfigurationDelegate

public OCLVMLaunchConfigurationDelegate()
Method Detail

createDebugTarget

@NonNull
protected OCLDebugTarget createDebugTarget(@NonNull
                                                   IVMVirtualMachineShell vm,
                                                   @NonNull
                                                   VMVirtualProcess process)
Specified by:
createDebugTarget in class VMLaunchConfigurationDelegate<OCLEvaluationContext>

createDebuggableRunnerFactory

@NonNull
protected DebuggableRunnerFactory createDebuggableRunnerFactory(@NonNull
                                                                        org.eclipse.emf.ecore.EPackage.Registry packageRegistry,
                                                                        @NonNull
                                                                        java.util.List<java.lang.String> modelURIs,
                                                                        @Nullable
                                                                        java.lang.String traceURI)
Specified by:
createDebuggableRunnerFactory in class VMLaunchConfigurationDelegate<OCLEvaluationContext>

createEvaluationContext

@NonNull
protected OCLEvaluationContext createEvaluationContext(@NonNull
                                                               org.eclipse.debug.core.ILaunchConfiguration configuration)
                                                throws org.eclipse.core.runtime.CoreException
Specified by:
createEvaluationContext in class VMLaunchConfigurationDelegate<OCLEvaluationContext>
Throws:
org.eclipse.core.runtime.CoreException

createVirtualMachine

@NonNull
protected OCLVMVirtualMachine createVirtualMachine(@NonNull
                                                           OCLEvaluationContext evaluationContext,
                                                           @NonNull
                                                           DebuggableRunner runner)
Specified by:
createVirtualMachine in class VMLaunchConfigurationDelegate<OCLEvaluationContext>

createVirtualProcess

@NonNull
protected OCLVirtualProcess createVirtualProcess(@NonNull
                                                         org.eclipse.debug.core.ILaunch launch,
                                                         @NonNull
                                                         IVMVirtualMachineShell vm)
Specified by:
createVirtualProcess in class VMLaunchConfigurationDelegate<OCLEvaluationContext>

getDebugCore

@NonNull
protected OCLDebugCore getDebugCore()
Specified by:
getDebugCore in class VMLaunchConfigurationDelegate<OCLEvaluationContext>