org.topbraid.actions.resource
Interface IResourceAction

All Superinterfaces:
IAction
All Known Implementing Classes:
AbstractChangeResourceAction, AbstractResourceAction, AbstractResourceActionWithProgressMonitor, AbstractWebAction, AssignPrefixAction, DeleteResourceAction, EditFormAction, FindGoogleAction, FindReferencesAction, FindWikipediaAction, FindWorkspaceReferencesAction, NavigateToDefinitionInImportAction, NavigateToOntologyAction

public interface IResourceAction
extends IAction

An IAction that can be applied to a given Resource.

Author:
Holger Knublauch

Method Summary
 java.lang.String getGroupName()
          Gets an (optional) group name allowing to define the placement of this action in a menu.
 boolean isEnabledFor(com.hp.hpl.jena.rdf.model.Resource resource)
           
 boolean isVisibleFor(com.hp.hpl.jena.rdf.model.Resource resource)
           
 void run(com.hp.hpl.jena.rdf.model.Resource resource)
           
 
Methods inherited from interface org.topbraid.actions.IAction
getImageMetadata, getText
 

Method Detail

getGroupName

java.lang.String getGroupName()
Gets an (optional) group name allowing to define the placement of this action in a menu.

Returns:
the group name or null

isEnabledFor

boolean isEnabledFor(com.hp.hpl.jena.rdf.model.Resource resource)

isVisibleFor

boolean isVisibleFor(com.hp.hpl.jena.rdf.model.Resource resource)

run

void run(com.hp.hpl.jena.rdf.model.Resource resource)