org.topbraidcomposer.editors.actions.prefix
Class AssignPrefixAction

java.lang.Object
  extended by org.topbraid.actions.resource.AbstractResourceAction
      extended by org.topbraidcomposer.editors.actions.prefix.AssignPrefixAction
All Implemented Interfaces:
IAction, IResourceAction

public class AssignPrefixAction
extends AbstractResourceAction


Nested Class Summary
 class AssignPrefixAction.PrefixNSInputDialog
           
 
Constructor Summary
AssignPrefixAction()
           
 
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 org.topbraid.actions.resource.AbstractResourceAction
dispose, getImageMetadata, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignPrefixAction

public AssignPrefixAction()
Method Detail

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)