Protege 4.1.0

org.protege.editor.owl.ui.explanation.impl
Class BasicBlackboxExplanationService

java.lang.Object
  extended by org.protege.editor.owl.ui.explanation.ExplanationService
      extended by org.protege.editor.owl.ui.explanation.impl.BasicBlackboxExplanationService
All Implemented Interfaces:
Disposable, ProtegePluginInstance

public class BasicBlackboxExplanationService
extends ExplanationService

A very basic explanation service that will provide basic explanation until Matthew's explanation service is ready.

Author:
tredmond

Constructor Summary
BasicBlackboxExplanationService()
           
 
Method Summary
 void dispose()
           
 ExplanationResult explain(org.semanticweb.owlapi.model.OWLAxiom axiom)
           
 boolean hasExplanation(org.semanticweb.owlapi.model.OWLAxiom axiom)
           
 void initialise()
          The initialise method is called at the start of a plugin instance life cycle.
 
Methods inherited from class org.protege.editor.owl.ui.explanation.ExplanationService
getName, getOWLEditorKit, getOWLModelManager, getPluginId, setup, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasicBlackboxExplanationService

public BasicBlackboxExplanationService()
Method Detail

initialise

public void initialise()
                throws Exception
Description copied from interface: ProtegePluginInstance
The initialise method is called at the start of a plugin instance life cycle. This method is called to give the plugin a chance to initialise itself. All plugin initialisation should be done in this method rather than the plugin constructor, since the initialisation might need to occur at a point after plugin instance creation, and a each plugin must have a zero argument constructor.

Specified by:
initialise in interface ProtegePluginInstance
Specified by:
initialise in class ExplanationService
Throws:
Exception

dispose

public void dispose()
             throws Exception
Throws:
Exception

hasExplanation

public boolean hasExplanation(org.semanticweb.owlapi.model.OWLAxiom axiom)
Specified by:
hasExplanation in class ExplanationService

explain

public ExplanationResult explain(org.semanticweb.owlapi.model.OWLAxiom axiom)
Specified by:
explain in class ExplanationService

Protege 4.1.0

Submit a bug report or feature request

For further API reference and developer documentation, see Protege 4 Developer Documentation.

Copyright © 2010 Stanford Center for Biomedical Informatics Research