org.eclipse.ocl.examples.validity.locator
Class PivotUIConstraintLocator.DebugStarter
java.lang.Object
org.eclipse.ocl.examples.validity.locator.PivotUIConstraintLocator.DebugStarter
- All Implemented Interfaces:
- org.eclipse.jface.operation.IRunnableWithProgress
- Enclosing class:
- PivotUIConstraintLocator
protected static class PivotUIConstraintLocator.DebugStarter
- extends java.lang.Object
- implements org.eclipse.jface.operation.IRunnableWithProgress
The DebugStarter sequences the start up of the debugger off the thread.
Method Summary |
org.eclipse.debug.core.ILaunch |
getLaunch()
|
protected org.eclipse.debug.core.ILaunch |
launchDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
org.eclipse.emf.ecore.EObject contextObject,
ExpressionInOCL expressionInOCL)
Create and launch an internal launch configuration to debug expressionInOCL applied to contextObject. |
protected void |
openError(java.lang.String message,
java.lang.Exception e)
|
void |
run(org.eclipse.core.runtime.IProgressMonitor monitor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shell
@NonNull
protected final org.eclipse.swt.widgets.Shell shell
metaModelManager
@NonNull
protected final MetaModelManager metaModelManager
contextObject
@Nullable
protected final org.eclipse.emf.ecore.EObject contextObject
constraint
@NonNull
protected final ExpressionInOCL constraint
PivotUIConstraintLocator.DebugStarter
public PivotUIConstraintLocator.DebugStarter(@NonNull
org.eclipse.swt.widgets.Shell shell,
@NonNull
MetaModelManager metaModelManager,
@Nullable
org.eclipse.emf.ecore.EObject contextObject,
@NonNull
ExpressionInOCL constraint)
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()
launchDebugger
protected org.eclipse.debug.core.ILaunch launchDebugger(org.eclipse.core.runtime.IProgressMonitor monitor,
@Nullable
org.eclipse.emf.ecore.EObject contextObject,
@NonNull
ExpressionInOCL expressionInOCL)
throws org.eclipse.core.runtime.CoreException
- Create and launch an internal launch configuration to debug expressionInOCL applied to contextObject.
- Throws:
org.eclipse.core.runtime.CoreException
openError
protected void openError(java.lang.String message,
@NonNull
java.lang.Exception e)
run
public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
run
in interface org.eclipse.jface.operation.IRunnableWithProgress