org.topbraidcomposer.editors.actions.find.references
Class FindReferencesAction

java.lang.Object
  extended by org.topbraid.actions.resource.AbstractResourceAction
      extended by org.topbraidcomposer.ui.actions.AbstractResourceActionWithProgressMonitor
          extended by 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


Constructor Summary
FindReferencesAction()
           
 
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 org.topbraidcomposer.ui.actions.AbstractResourceActionWithProgressMonitor
run, run
 
Methods inherited from class org.topbraid.actions.resource.AbstractResourceAction
getImageMetadata, getText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindReferencesAction

public FindReferencesAction()
Method Detail

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