org.eclipse.ocl.examples.debug.vm.launching
Class DebuggableRunnerFactory

java.lang.Object
  extended by org.eclipse.ocl.examples.debug.vm.launching.DebuggableRunnerFactory
All Implemented Interfaces:
IDebuggableRunnerFactory
Direct Known Subclasses:
OCLDebuggableRunnerFactory

public abstract class DebuggableRunnerFactory
extends java.lang.Object
implements IDebuggableRunnerFactory


Field Summary
protected  java.util.List<java.lang.String> modelURIs
           
protected  org.eclipse.emf.ecore.EPackage.Registry packageRegistry
           
protected  java.lang.String traceFileURI
           
 
Constructor Summary
protected DebuggableRunnerFactory(org.eclipse.emf.ecore.EPackage.Registry packageRegistry, java.util.List<java.lang.String> modelURIs, java.lang.String traceFileURI)
           
 
Method Summary
 org.eclipse.emf.common.util.BasicDiagnostic createDiagnostic(java.lang.String message)
           
protected abstract  DebuggableRunner createRunner(EvaluationContext evaluationContext)
           
protected abstract  java.lang.String getPluginId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ocl.examples.debug.vm.evaluator.IDebuggableRunnerFactory
getValidBreakpointLocator
 

Field Detail

packageRegistry

@NonNull
protected final org.eclipse.emf.ecore.EPackage.Registry packageRegistry

modelURIs

@NonNull
protected final java.util.List<java.lang.String> modelURIs

traceFileURI

@Nullable
protected final java.lang.String traceFileURI
Constructor Detail

DebuggableRunnerFactory

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

createDiagnostic

@NonNull
public org.eclipse.emf.common.util.BasicDiagnostic createDiagnostic(@NonNull
                                                                            java.lang.String message)
Specified by:
createDiagnostic in interface IDebuggableRunnerFactory

createRunner

@NonNull
protected abstract DebuggableRunner createRunner(@NonNull
                                                         EvaluationContext evaluationContext)
                                          throws org.eclipse.emf.common.util.DiagnosticException
Throws:
org.eclipse.emf.common.util.DiagnosticException

getPluginId

@NonNull
protected abstract java.lang.String getPluginId()