|
Protégé-OWL 3.4 beta | ||||||||
| 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
public abstract class AbstractOWLModelAction
A base class for OWLModelActions.
| Field Summary | |
|---|---|
static String |
CODE_MENU
|
static String |
OWL_MENU
|
static String |
PROJECT_MENU
|
static String |
REASONING_MENU
|
static String |
TOOLS_MENU
|
static String |
WINDOW_MENU
|
| Fields inherited from interface edu.stanford.smi.protegex.owl.ui.actions.OWLModelAction |
|---|
ICON, NAME, PATH_SEPARATOR, SUITABILITY |
| Constructor Summary | |
|---|---|
AbstractOWLModelAction()
|
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to receive events when one of the characteristics of this (name, icon, suitability) have changed. |
void |
dispose()
|
String |
getIconFileName()
Gets the relative name of an (optional) icon. |
Class |
getIconResourceClass()
Gets a Class that is in the same folder as the icon file. |
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 |
notifyPropertyChangeListeners(String propertyName,
Object oldValue,
Object newValue)
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface edu.stanford.smi.protegex.owl.ui.actions.OWLModelAction |
|---|
getMenubarPath, getName, run |
| Field Detail |
|---|
public static final String CODE_MENU
public static final String OWL_MENU
public static final String REASONING_MENU
public static final String PROJECT_MENU
public static final String TOOLS_MENU
public static final String WINDOW_MENU
| Constructor Detail |
|---|
public AbstractOWLModelAction()
| Method Detail |
|---|
public void addPropertyChangeListener(PropertyChangeListener listener)
OWLModelAction
addPropertyChangeListener in interface OWLModelActionlistener - the listener to addpublic void dispose()
dispose in interface edu.stanford.smi.protege.util.Disposablepublic Class getIconResourceClass()
IconOwner
getIconResourceClass in interface IconOwnerpublic String getIconFileName()
IconOwner
getIconFileName in interface IconOwner"classify.gif" or nullpublic String getToolbarPath()
OWLModelAction
getToolbarPath in interface OWLModelActionpublic boolean isSuitable(OWLModel owlModel)
OWLModelAction
isSuitable in interface OWLModelActionowlModel - the OWLModel to check against
public void notifyPropertyChangeListeners(String propertyName,
Object oldValue,
Object newValue)
notifyPropertyChangeListeners in interface OWLModelActionpublic void removePropertyChangeListener(PropertyChangeListener listener)
removePropertyChangeListener in interface OWLModelAction
|
Protégé-OWL 3.4 beta | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||