Class SimulationDebugElement
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- de.uka.ipd.sdq.codegen.simucontroller.debug.SimulationDebugElement
-
- All Implemented Interfaces:
IAdaptable
,IDebugElement
,Adapter
- Direct Known Subclasses:
SimuComProcessDebugThread
,SimulationDebugTarget
,SimulationDebugThread
public abstract class SimulationDebugElement extends PlatformObject implements IDebugElement, Adapter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
-
Field Summary
Fields Modifier and Type Field Description protected ILaunch
launch
protected IDebugTarget
myDebugTarget
-
Constructor Summary
Constructors Constructor Description SimulationDebugElement(IDebugTarget myDebugTarget, ILaunch launch)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
fireEvent(Object source, int eventKind)
Fires a debug eventprotected void
fireEvent(DebugEvent event)
Fires a debug eventObject
getAdapter(Class adapter)
IDebugTarget
getDebugTarget()
ILaunch
getLaunch()
String
getModelIdentifier()
Notifier
getTarget()
boolean
isAdapterForType(Object type)
abstract void
notifyChanged(Notification notification)
void
setTarget(Notifier newTarget)
-
-
-
Field Detail
-
myDebugTarget
protected IDebugTarget myDebugTarget
-
launch
protected ILaunch launch
-
-
Constructor Detail
-
SimulationDebugElement
public SimulationDebugElement(IDebugTarget myDebugTarget, ILaunch launch)
-
-
Method Detail
-
getDebugTarget
public IDebugTarget getDebugTarget()
- Specified by:
getDebugTarget
in interfaceIDebugElement
-
getLaunch
public ILaunch getLaunch()
- Specified by:
getLaunch
in interfaceIDebugElement
-
getModelIdentifier
public String getModelIdentifier()
- Specified by:
getModelIdentifier
in interfaceIDebugElement
-
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapter
in interfaceIAdaptable
- Overrides:
getAdapter
in classPlatformObject
-
fireEvent
protected void fireEvent(DebugEvent event)
Fires a debug event- Parameters:
event
- the event to be fired
-
fireEvent
protected void fireEvent(Object source, int eventKind)
Fires a debug event- Parameters:
event
- the event to be fired
-
isAdapterForType
public boolean isAdapterForType(Object type)
- Specified by:
isAdapterForType
in interfaceAdapter
-
notifyChanged
public abstract void notifyChanged(Notification notification)
- Specified by:
notifyChanged
in interfaceAdapter
-
-