org.topbraid.actions
Interface IAction

All Known Subinterfaces:
IPredicateAction, IResourceAction, IStatementAction
All Known Implementing Classes:
AbstractAction, AbstractChangeResourceAction, AbstractMoveStatementAction, AbstractPredicateAction, AbstractResourceAction, AbstractResourceActionWithProgressMonitor, AbstractStatementAction, AbstractWebAction, AddExistingAction, AddFunctionalPropertyTypeAction, AddInverseFunctionalPropertyTypeAction, AddMax1StatementAction, AddSiblingsToDisjointsAction, AddSymmetricPropertyTypeAction, AddTransitivePropertyTypeAction, AssertStatementAction, AssignPrefixAction, ConvertObjectToBNodeAction, CreateReifiedStatementAction, DeleteReifiedStatementAction, DeleteResourceAction, DeleteStatementAction, EditFormAction, ExecuteQueryAction, FindGoogleAction, FindReferencesAction, FindWikipediaAction, FindWorkspaceReferencesAction, InferencesExplanationsStatementAction, MakeAllSiblingsMutuallyDisjointAction, MoveDownStatementAction, MoveUpStatementAction, NavigateToDefinitionInImportAction, NavigateToOntologyAction, RemoveMutualDisjointsFromAllSiblingClassesAction, RemoveSiblingsFromDisjointsAction, ReplaceInstanceStatementAction, SetXSDBooleanAction, SetXSDDateAction, SetXSDDateTimeAction, SetXSDFloatAction, SetXSDIntAction, SetXSDStringAction, ViewReifiedStatementAction

public interface IAction

The base interface of various "action" types. Actions are triggered by the user, for example by clicking on a drop down menu item. This is very similar to action classes in frameworks like Swing and JFace, but independent from a specific user interface implementation, so that the same actions can execute in an Eclipse IDE plug-in or an Ajax application.

Author:
Holger Knublauch

Method Summary
 ImageMetadata getImageMetadata()
          Gets the (optional) ImageMetadata associated with this action.
 java.lang.String getText()
          Gets the display name of this action.
 

Method Detail

getImageMetadata

ImageMetadata getImageMetadata()
Gets the (optional) ImageMetadata associated with this action.

Returns:
the ImageMetadata or null

getText

java.lang.String getText()
Gets the display name of this action. Depending on the UI implementation this could be rendered into a menu item name, tool tip text or button label.

Returns:
the display name or null