Class EventDispatchJob
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.ease.debugging.dispatcher.EventDispatchJob
- All Implemented Interfaces:
Comparable<org.eclipse.core.internal.jobs.InternalJob>,IAdaptable,IScriptRegistry
- Direct Known Subclasses:
PythonEventDispatchJob
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionEventDispatchJob(IEventProcessor host, IEventProcessor debugger) Creates a new dispatcher. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEvent(IDebugEvent event) getResource(Script script) voidAdd a newScriptto the registry and store its mapping.Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, belongsTo, cancel, create, create, createSystem, createSystem, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRuleMethods inherited from class org.eclipse.core.internal.jobs.InternalJob
compareToMethods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
-
Constructor Details
-
EventDispatchJob
Creates a new dispatcher. The dispatcher automatically attaches to the host and the debugger. Further the job get automatically scheduled.- Parameters:
host- debug modeldebugger- debugger implementation
-
-
Method Details
-
addEvent
-
getScript
Description copied from interface:IScriptRegistry -
getResource
Description copied from interface:IScriptRegistry- Specified by:
getResourcein interfaceIScriptRegistry- Parameters:
script-Scriptto getIResourcefor.- Returns:
IResourceidentified byScriptornullif no mapping found.
-
put
Description copied from interface:IScriptRegistryAdd a newScriptto the registry and store its mapping.- Specified by:
putin interfaceIScriptRegistry- Parameters:
script- Script to be stored in registry.
-