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 ILaunchlaunchprotected IDebugTargetmyDebugTarget
-
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 voidfireEvent(Object source, int eventKind)Fires a debug eventprotected voidfireEvent(DebugEvent event)Fires a debug eventObjectgetAdapter(Class adapter)IDebugTargetgetDebugTarget()ILaunchgetLaunch()StringgetModelIdentifier()NotifiergetTarget()booleanisAdapterForType(Object type)abstract voidnotifyChanged(Notification notification)voidsetTarget(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:
getDebugTargetin interfaceIDebugElement
-
getLaunch
public ILaunch getLaunch()
- Specified by:
getLaunchin interfaceIDebugElement
-
getModelIdentifier
public String getModelIdentifier()
- Specified by:
getModelIdentifierin interfaceIDebugElement
-
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapterin interfaceIAdaptable- Overrides:
getAdapterin 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:
isAdapterForTypein interfaceAdapter
-
notifyChanged
public abstract void notifyChanged(Notification notification)
- Specified by:
notifyChangedin interfaceAdapter
-
-