edu.stanford.smi.protegex.owl.inference.ui
Class ReasonerActionRunner
java.lang.Object
edu.stanford.smi.protegex.owl.inference.ui.ReasonerActionRunner
- public class ReasonerActionRunner
- extends Object
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Aug 23, 2004
matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm
The ReasonerActionRunner can be used to exuecute a number
of reasoner actions in a separate worker thread. It will
also pop up a dialog with a progress bar and reasoner log.
Method Summary |
void |
execute()
Executes the reasoner actions that are specified in the
RunnableReasonerAction's executeReasonerActions
method. |
protected void |
showInferredHierarchy(boolean visible)
Displays the inferred hierarchy and the classifier results
panel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
showClassifierResults
private boolean showClassifierResults
- The progress dialog that will be poped up
runner
private RunnableReasonerAction runner
journalingEnabled
private boolean journalingEnabled
ReasonerActionRunner
public ReasonerActionRunner(RunnableReasonerAction runner,
boolean showClassifierResults)
- Constructs a ReasonerActionRunner.
- Parameters:
runner
- The RunnableReasonerAction that specifies
the code to be executed by this ReasonerActionRunnershowClassifierResults
- If true
the
classification results panel will be displayed after
the reasone actions have been executed.
execute
public void execute()
- Executes the reasoner actions that are specified in the
RunnableReasonerAction's
executeReasonerActions
method. This will execute the actions is a worker thread
and pop up a progress dialog.
showInferredHierarchy
protected void showInferredHierarchy(boolean visible)
- Displays the inferred hierarchy and the classifier results
panel.
- Parameters:
visible
-