edu.stanford.smi.protegex.owl.ui.actions.triple
Class AbstractTripleAction
java.lang.Object
edu.stanford.smi.protegex.owl.ui.actions.triple.AbstractTripleAction
- All Implemented Interfaces:
- IconOwner, TripleAction
- Direct Known Subclasses:
- DeleteTripleAction, QueryTripleAction
- public abstract class AbstractTripleAction
- extends Object
- implements TripleAction
- Author:
- Holger Knublauch
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iconFileName
private String iconFileName
iconResourceClass
private Class iconResourceClass
name
private String name
AbstractTripleAction
public AbstractTripleAction(String name)
AbstractTripleAction
public AbstractTripleAction(String name,
String iconFileName,
Class iconResourceClass)
getGroup
public String getGroup()
- Description copied from interface:
TripleAction
- Gets an (optional) group name, allowing tools to display action items in groups.
- Specified by:
getGroup
in interface TripleAction
- Returns:
- a group name or null
getIconFileName
public String getIconFileName()
- Description copied from interface:
IconOwner
- Gets the relative name of an (optional) icon.
- Specified by:
getIconFileName
in interface IconOwner
- Returns:
- the icon name such as
"classify.gif"
or null
getIconResourceClass
public Class getIconResourceClass()
- Description copied from interface:
IconOwner
- Gets a Class that is in the same folder as the icon file.
- Specified by:
getIconResourceClass
in interface IconOwner
- Returns:
- the icon resource Class
getName
public String getName()
- Description copied from interface:
TripleAction
- Gets the name of the action to appear on screen.
- Specified by:
getName
in interface TripleAction
- Returns:
- the name of this action (should not be null)