org.topbraidcomposer.editors.actions.find.workspacereferences
Class FindWorkspaceReferencesAction

java.lang.Object
  extended by org.topbraid.actions.resource.AbstractResourceAction
      extended by org.topbraidcomposer.ui.actions.AbstractResourceActionWithProgressMonitor
          extended by org.topbraidcomposer.editors.actions.find.workspacereferences.FindWorkspaceReferencesAction
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableWithProgress, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate, IAction, IResourceAction

public class FindWorkspaceReferencesAction
extends AbstractResourceActionWithProgressMonitor
implements org.eclipse.ui.IWorkbenchWindowActionDelegate


Constructor Summary
FindWorkspaceReferencesAction()
           
 
Method Summary
 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)
           
protected  void run(org.eclipse.core.runtime.IProgressMonitor monitor, com.hp.hpl.jena.rdf.model.Resource resource)
           
 void selectionChanged(org.eclipse.jface.action.IAction arg0, org.eclipse.jface.viewers.ISelection arg1)
           
 
Methods inherited from class org.topbraidcomposer.ui.actions.AbstractResourceActionWithProgressMonitor
run, run
 
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
 
Methods inherited from interface org.eclipse.ui.IWorkbenchWindowActionDelegate
dispose
 

Constructor Detail

FindWorkspaceReferencesAction

public FindWorkspaceReferencesAction()
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.

Specified by:
getGroupName in interface IResourceAction
Returns:
the group name or null

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate

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

run

protected 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

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction arg0,
                             org.eclipse.jface.viewers.ISelection arg1)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate