Class LaunchAdapter
java.lang.Object
org.eclipse.m2m.atl.emftvm.launcher.LaunchAdapter
- All Implemented Interfaces:
VMMonitor
- Direct Known Subclasses:
NetworkDebugger,ProfilingLaunchAdapter
Adapts an
ILaunch object to the VMMonitor interface.-
Constructor Summary
ConstructorsConstructorDescriptionLaunchAdapter(org.eclipse.debug.core.ILaunch launch) Creates a newLaunchAdapter. -
Method Summary
Modifier and TypeMethodDescriptionvoidenter(StackFrame frame) Enters the stack frame.voiderror(StackFrame frame, String msg, Exception e) Throws an error.org.eclipse.debug.core.ILaunchReturns the Eclipse launch object.booleanReturnstruewhen the running EMFTVM instance should be terminated.voidleave(StackFrame frame) Leaves the stack frame.protected voidsetTerminated(boolean terminated) Sets whether this launch is terminated.voidstep(StackFrame frame) Steps into the stack frame.voidInvoked when execution is terminated.
-
Constructor Details
-
LaunchAdapter
public LaunchAdapter(org.eclipse.debug.core.ILaunch launch) Creates a newLaunchAdapter.- Parameters:
launch- the launch object to wrap
-
-
Method Details
-
isTerminated
public boolean isTerminated()Returnstruewhen the running EMFTVM instance should be terminated.- Specified by:
isTerminatedin interfaceVMMonitor- Returns:
truewhen the running EMFTVM instance should be terminated- See Also:
-
enter
Enters the stack frame. -
leave
Leaves the stack frame. -
step
Steps into the stack frame. -
terminated
public void terminated()Invoked when execution is terminated.- Specified by:
terminatedin interfaceVMMonitor- See Also:
-
error
Throws an error. -
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()Returns the Eclipse launch object.- Returns:
- the launch
-
setTerminated
protected void setTerminated(boolean terminated) Sets whether this launch is terminated.- Parameters:
terminated- whether this launch is terminated
-