public class EventDispatchJob extends org.eclipse.core.runtime.jobs.Job implements IScriptRegistry
| Constructor and Description |
|---|
EventDispatchJob(IEventProcessor host,
IEventProcessor debugger)
Creates a new dispatcher.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addEvent(IDebugEvent event) |
org.eclipse.core.resources.IResource |
getResource(Script script)
Get the
IResource identified by this Script. |
Script |
getScript(org.eclipse.core.resources.IResource resource)
Return the
Script identified by this IResource. |
void |
put(Script script)
Add a new
Script to the registry and store its mapping. |
void |
terminate() |
addJobChangeListener, belongsTo, cancel, create, create, createSystem, 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, yieldRulepublic EventDispatchJob(IEventProcessor host, IEventProcessor debugger)
host - debug modeldebugger - debugger implementationpublic void addEvent(IDebugEvent event)
public void terminate()
public Script getScript(org.eclipse.core.resources.IResource resource)
IScriptRegistryScript identified by this IResource.getScript in interface IScriptRegistryresource - IResource to get Script for.Script identified by IResource or null if no mapping found.public org.eclipse.core.resources.IResource getResource(Script script)
IScriptRegistryIResource identified by this Script.getResource in interface IScriptRegistryIResource identified by Script or null if no mapping found.public void put(Script script)
IScriptRegistryScript to the registry and store its mapping.put in interface IScriptRegistryscript - Script to be stored in registry.