org.topbraid.actionslib.resource
Class DeleteResourceAction
java.lang.Object
org.topbraid.actions.resource.AbstractResourceAction
org.topbraid.actionslib.resource.DeleteResourceAction
- All Implemented Interfaces:
- IAction, IResourceAction
public class DeleteResourceAction
- extends AbstractResourceAction
A ResourceAction to delete the currently selected 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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeleteResourceAction
public DeleteResourceAction()
getGroupName
public java.lang.String getGroupName()
- Description copied from interface:
IResourceAction
- Gets an (optional) group name allowing to define the placement
of this action in a menu.
- Returns:
- the group name or null
isEnabledFor
public boolean isEnabledFor(com.hp.hpl.jena.rdf.model.Resource resource)
isVisibleFor
public boolean isVisibleFor(com.hp.hpl.jena.rdf.model.Resource resource)
run
public void run(com.hp.hpl.jena.rdf.model.Resource resource)