Package org.eclipse.m2m.atl.debug.core
Class AtlDebugElement
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.m2m.atl.debug.core.AtlDebugElement
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable,org.eclipse.debug.core.model.IDebugElement
- Direct Known Subclasses:
AtlDebugTarget,AtlStackFrame,AtlThread,AtlValue,AtlVariable
public abstract class AtlDebugElement extends org.eclipse.core.runtime.PlatformObject implements org.eclipse.debug.core.model.IDebugElementAn abstract class to mark debugged elements.
-
-
Field Summary
Fields Modifier and Type Field Description protected AtlDebugTargetfTargetcontaining target.
-
Constructor Summary
Constructors Constructor Description AtlDebugElement(AtlDebugTarget target)Constructs a new debug element contained in the given debug target.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidabort(java.lang.String message, java.lang.Throwable e)Aborts the current debug.<T> TgetAdapter(java.lang.Class<T> adapter)org.eclipse.debug.core.model.IDebugTargetgetDebugTarget()org.eclipse.debug.core.ILaunchgetLaunch()java.lang.StringgetModelIdentifier()
-
-
-
Field Detail
-
fTarget
protected AtlDebugTarget fTarget
containing target.
-
-
Constructor Detail
-
AtlDebugElement
public AtlDebugElement(AtlDebugTarget target)
Constructs a new debug element contained in the given debug target.- Parameters:
target- debug target (PDA VM)
-
-
Method Detail
-
getModelIdentifier
public java.lang.String getModelIdentifier()
- Specified by:
getModelIdentifierin interfaceorg.eclipse.debug.core.model.IDebugElement
-
getDebugTarget
public org.eclipse.debug.core.model.IDebugTarget getDebugTarget()
- Specified by:
getDebugTargetin interfaceorg.eclipse.debug.core.model.IDebugElement- See Also:
IDebugElement.getDebugTarget()
-
getLaunch
public org.eclipse.debug.core.ILaunch getLaunch()
- Specified by:
getLaunchin interfaceorg.eclipse.debug.core.model.IDebugElement- See Also:
IDebugElement.getLaunch()
-
getAdapter
public <T> T getAdapter(java.lang.Class<T> adapter)
- Specified by:
getAdapterin interfaceorg.eclipse.core.runtime.IAdaptable- Overrides:
getAdapterin classorg.eclipse.core.runtime.PlatformObject- See Also:
PlatformObject.getAdapter(java.lang.Class)
-
abort
protected void abort(java.lang.String message, java.lang.Throwable e) throws org.eclipse.debug.core.DebugExceptionAborts the current debug.- Parameters:
message- abort messagee- exception- Throws:
org.eclipse.debug.core.DebugException
-
-