|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.datatools.sqltools.debugger.model.SPDebugElement
public class SPDebugElement
Super class for all debug model elements. With helper functions for firing events and handle exception, etc.
Constructor Summary | |
---|---|
SPDebugElement(SPDebugTarget target)
|
Method Summary | |
---|---|
void |
fireChangeEvent(int detail)
Fires a debug event marking the CHANGE of this element with the specifed detail code. |
void |
fireResumeEvent(int detail)
Fires a debug event marking the RESUME of this element with the associated detail. |
void |
fireSuspendEvent(int detail)
Fires a debug event marking the SUSPEND of this element with the associated detail. |
java.lang.Object |
getAdapter(java.lang.Class adapter)
|
org.eclipse.debug.core.model.IDebugTarget |
getDebugTarget()
|
org.eclipse.debug.core.ILaunch |
getLaunch()
|
java.lang.String |
getModelIdentifier()
|
SPDebugTarget |
getSPDebugTarget()
|
void |
notSupported()
Throws a new debug exception with a status code of NOT_SUPPORTED . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SPDebugElement(SPDebugTarget target)
Method Detail |
---|
public java.lang.String getModelIdentifier()
getModelIdentifier
in interface org.eclipse.debug.core.model.IDebugElement
public final org.eclipse.debug.core.model.IDebugTarget getDebugTarget()
getDebugTarget
in interface org.eclipse.debug.core.model.IDebugElement
public final SPDebugTarget getSPDebugTarget()
public org.eclipse.debug.core.ILaunch getLaunch()
getLaunch
in interface org.eclipse.debug.core.model.IDebugElement
public java.lang.Object getAdapter(java.lang.Class adapter)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
getAdapter
in class org.eclipse.core.runtime.PlatformObject
public void fireResumeEvent(int detail)
detail
- The int detail of the eventDebugEvent
public void fireSuspendEvent(int detail)
detail
- The int detail of the eventDebugEvent
public void fireChangeEvent(int detail)
detail
- one of STATE
or CONTENT
public void notSupported() throws org.eclipse.debug.core.DebugException
NOT_SUPPORTED
.
message
- Failure message
org.eclipse.debug.core.DebugException
- The exception with a status code of NOT_SUPPORTED
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |