|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An object representing an "action" that can be performed on a given Triple. Instances of this class can be added to context menus of single property values. A typical use case for this is to add right-click menu items to the TriplesTable.
Method Summary | |
String |
getGroup()
Gets an (optional) group name, allowing tools to display action items in groups. |
String |
getName()
Gets the name of the action to appear on screen. |
boolean |
isSuitable(Triple triple)
Tests if this action can be applied to a given Triple. |
void |
run(Triple triple)
Performs the action to a given Triple. |
Methods inherited from interface edu.stanford.smi.protegex.owl.ui.actions.IconOwner |
getIconFileName, getIconResourceClass |
Method Detail |
public String getGroup()
public String getName()
public boolean isSuitable(Triple triple)
triple
- the Triple to apply this to
public void run(Triple triple)
triple
- the Triple to operate on
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |