|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.smi.protegex.owl.ui.actions.AbstractOWLModelAction
edu.stanford.smi.protegex.owl.ui.menu.code.SourceCodeAction
An Action to display a SourceCodeDialog.
Field Summary |
Fields inherited from class edu.stanford.smi.protegex.owl.ui.actions.AbstractOWLModelAction |
CODE_MENU, OWL_MENU, PROJECT_MENU, TOOLS_MENU |
Fields inherited from interface edu.stanford.smi.protegex.owl.ui.actions.OWLModelAction |
ICON, NAME, PATH_SEPARATOR, SUITABILITY |
Constructor Summary | |
SourceCodeAction()
|
Method Summary | |
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. |
String |
getToolbarPath()
Gets the path to the tool bar location of this action. |
boolean |
isSuitable(OWLModel owlModel)
Determines whether this action shall be used for the given OWLModel. |
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, notifyPropertyChangeListeners, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SourceCodeAction()
Method Detail |
public String getIconFileName()
IconOwner
getIconFileName
in interface IconOwner
getIconFileName
in class AbstractOWLModelAction
public String getMenubarPath()
OWLModelAction
PATH_SEPARATOR
) between
the menu and group name.
public String getName()
OWLModelAction
public String getToolbarPath()
OWLModelAction
getToolbarPath
in interface OWLModelAction
getToolbarPath
in class AbstractOWLModelAction
public boolean isSuitable(OWLModel owlModel)
OWLModelAction
isSuitable
in interface OWLModelAction
isSuitable
in class AbstractOWLModelAction
public void run(OWLModel owlModel)
OWLModelAction
owlModel
- the OWLModel to operate on
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |