Protégé-OWL 3.4.1

edu.stanford.smi.protegex.owl.inference.ui.action
Class ClassifyTaxonomyAction

java.lang.Object
  extended by edu.stanford.smi.protegex.owl.ui.actions.AbstractOWLModelAction
      extended by edu.stanford.smi.protegex.owl.inference.ui.action.ClassifyTaxonomyAction
All Implemented Interfaces:
edu.stanford.smi.protege.util.Disposable, RunnableReasonerAction, IconOwner, OWLModelAction

public class ClassifyTaxonomyAction
extends AbstractOWLModelAction
implements RunnableReasonerAction

User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Jun 18, 2004

matthew.horridge@cs.man.ac.uk
www.cs.man.ac.uk/~horridgm


Field Summary
 
Fields inherited from class edu.stanford.smi.protegex.owl.ui.actions.AbstractOWLModelAction
CODE_MENU, OWL_MENU, PROJECT_MENU, REASONING_MENU, TOOLS_MENU, WINDOW_MENU
 
Fields inherited from interface edu.stanford.smi.protegex.owl.ui.actions.OWLModelAction
ICON, NAME, PATH_SEPARATOR, SUITABILITY
 
Constructor Summary
ClassifyTaxonomyAction()
           
 
Method Summary
 void executeReasonerActions(ReasonerTaskListener taskListener)
          Will be called by the runner to execute some reasoner actions.
 String getIconFileName()
          Gets the relative name of an (optional) icon.
 String getMenubarPath()
          Gets a path to the menu bar location of this action.
 String getName()
          Gets the human readable name of this action, to be used as menu item text and tool bar button tool tip text.
 OWLModel getOWLModel()
           
 String getToolbarPath()
          Gets the path to the tool bar location of this action.
 void run(OWLModel owlModel)
          Called when the action is executed by the user.
 
Methods inherited from class edu.stanford.smi.protegex.owl.ui.actions.AbstractOWLModelAction
addPropertyChangeListener, dispose, getIconResourceClass, isSuitable, notifyPropertyChangeListeners, removePropertyChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassifyTaxonomyAction

public ClassifyTaxonomyAction()
Method Detail

executeReasonerActions

public void executeReasonerActions(ReasonerTaskListener taskListener)
                            throws ProtegeReasonerException
Description copied from interface: RunnableReasonerAction
Will be called by the runner to execute some reasoner actions.

Specified by:
executeReasonerActions in interface RunnableReasonerAction
Throws:
ProtegeReasonerException

getIconFileName

public String getIconFileName()
Description copied from interface: IconOwner
Gets the relative name of an (optional) icon.

Specified by:
getIconFileName in interface IconOwner
Overrides:
getIconFileName in class AbstractOWLModelAction
Returns:
the icon name such as "classify.gif" or null

getMenubarPath

public String getMenubarPath()
Description copied from interface: OWLModelAction
Gets a path to the menu bar location of this action. This method determines where the menu item will show up, if at all. The path consists of a menu name with an optional group name. There must be a '/' character (PATH_SEPARATOR) between the menu and group name.

Specified by:
getMenubarPath in interface OWLModelAction
Returns:
the path for the menu or null if this shall not appear in the menu

getToolbarPath

public String getToolbarPath()
Description copied from interface: OWLModelAction
Gets the path to the tool bar location of this action. This is either null (to not show up in the tool bar), or a group name. Actions that shall be grouped together should get the same path.

Specified by:
getToolbarPath in interface OWLModelAction
Overrides:
getToolbarPath in class AbstractOWLModelAction
Returns:
the path or null

getName

public String getName()
Description copied from interface: OWLModelAction
Gets the human readable name of this action, to be used as menu item text and tool bar button tool tip text.

Specified by:
getName in interface OWLModelAction
Returns:
the name (must not be null)

run

public void run(OWLModel owlModel)
Description copied from interface: OWLModelAction
Called when the action is executed by the user.

Specified by:
run in interface OWLModelAction
Parameters:
owlModel - the OWLModel to operate on

getOWLModel

public OWLModel getOWLModel()
Specified by:
getOWLModel in interface RunnableReasonerAction

Protégé-OWL 3.4.1

Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.