org.topbraidcomposer.editors.actions.find.references
Class FindReferencesAction
java.lang.Object
org.topbraid.actions.resource.AbstractResourceAction
org.topbraidcomposer.ui.actions.AbstractResourceActionWithProgressMonitor
org.topbraidcomposer.editors.actions.find.references.FindReferencesAction
- All Implemented Interfaces:
- org.eclipse.jface.operation.IRunnableWithProgress, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate, IAction, IResourceAction
public class FindReferencesAction
- extends AbstractResourceActionWithProgressMonitor
- implements org.eclipse.ui.IWorkbenchWindowActionDelegate
|
Method Summary |
void |
dispose()
|
java.lang.String |
getGroupName()
Gets an (optional) group name allowing to define the placement
of this action in a menu. |
void |
init(org.eclipse.ui.IWorkbenchWindow window)
|
boolean |
isEnabledFor(com.hp.hpl.jena.rdf.model.Resource resource)
|
boolean |
isVisibleFor(com.hp.hpl.jena.rdf.model.Resource resource)
|
void |
run(org.eclipse.jface.action.IAction action)
|
void |
run(org.eclipse.core.runtime.IProgressMonitor monitor,
com.hp.hpl.jena.rdf.model.Resource resource)
|
void |
selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindReferencesAction
public FindReferencesAction()
dispose
public void dispose()
- Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate- Overrides:
dispose in class AbstractResourceAction
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.
- Specified by:
getGroupName in interface IResourceAction
- Returns:
- the group name or null
isEnabledFor
public boolean isEnabledFor(com.hp.hpl.jena.rdf.model.Resource resource)
- Specified by:
isEnabledFor in interface IResourceAction
isVisibleFor
public boolean isVisibleFor(com.hp.hpl.jena.rdf.model.Resource resource)
- Specified by:
isVisibleFor in interface IResourceAction
init
public void init(org.eclipse.ui.IWorkbenchWindow window)
- Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
run
public void run(org.eclipse.jface.action.IAction action)
- Specified by:
run in interface org.eclipse.ui.IActionDelegate
run
public void run(org.eclipse.core.runtime.IProgressMonitor monitor,
com.hp.hpl.jena.rdf.model.Resource resource)
throws java.lang.InterruptedException
- Specified by:
run in class AbstractResourceActionWithProgressMonitor
- Throws:
java.lang.InterruptedException
selectionChanged
public void selectionChanged(org.eclipse.jface.action.IAction action,
org.eclipse.jface.viewers.ISelection selection)
- Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate