Class ReasoningProgressObserver
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.core.internal.resources.InternalWorkspaceJob
org.eclipse.core.resources.WorkspaceJob
net.ssehub.easy.producer.eclipse.observer.ObservableWorkspaceJob
net.ssehub.easy.producer.eclipse.internal.ReasoningProgressObserver
- All Implemented Interfaces:
Comparable<org.eclipse.core.internal.jobs.InternalJob>,org.eclipse.core.runtime.IAdaptable
(Graphical) observer for reasoning steps.
Reasoning runs also in an own thread.
- Author:
- El-Sharkawy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate net.ssehub.easy.reasoning.core.frontend.ReasoningProcessFields inherited from class org.eclipse.core.runtime.jobs.Job
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITINGFields inherited from class org.eclipse.core.internal.jobs.InternalJob
manager -
Constructor Summary
ConstructorsConstructorDescriptionReasoningProgressObserver(net.ssehub.easy.reasoning.core.frontend.ReasoningProcess process) Sole constructor for this Observer. -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.core.runtime.IStatusdoJob()The method which should be performed.Methods inherited from class net.ssehub.easy.producer.eclipse.observer.ObservableWorkspaceJob
getObserver, runInWorkspaceMethods inherited from class org.eclipse.core.internal.resources.InternalWorkspaceJob
runMethods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, belongsTo, cancel, canceling, 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
-
Field Details
-
process
private net.ssehub.easy.reasoning.core.frontend.ReasoningProcess process
-
-
Constructor Details
-
ReasoningProgressObserver
public ReasoningProgressObserver(net.ssehub.easy.reasoning.core.frontend.ReasoningProcess process) Sole constructor for this Observer.- Parameters:
process- A configuredReasoningProcess(cf.#reason(net.ssehub.easy.reasoning.core.utils.ReasoningOperation, net.ssehub.easy.reasoning.core.frontend.IReasonerListener)).
-
-
Method Details
-
doJob
protected org.eclipse.core.runtime.IStatus doJob()Description copied from class:ObservableWorkspaceJobThe method which should be performed.- Specified by:
doJobin classObservableWorkspaceJob- Returns:
- A status object represents the outcome of an operation.
-