org.topbraidcomposer.editors.actions.find.web
Class AbstractWebAction
java.lang.Object
org.topbraid.actions.resource.AbstractResourceAction
org.topbraidcomposer.editors.actions.find.web.AbstractWebAction
- All Implemented Interfaces:
- IAction, IResourceAction
- Direct Known Subclasses:
- FindGoogleAction, FindWikipediaAction
public abstract class AbstractWebAction
- extends AbstractResourceAction
|
Method Summary |
java.lang.String |
getGroupName()
Gets an (optional) group name allowing to define the placement
of this action in a menu. |
protected abstract java.lang.String |
getURL(com.hp.hpl.jena.rdf.model.Resource resource)
|
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 |
AbstractWebAction
public AbstractWebAction(java.lang.String text)
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
getURL
protected abstract java.lang.String getURL(com.hp.hpl.jena.rdf.model.Resource resource)
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)