org.topbraidcomposer.ui.actions
Class AbstractResourceActionWithProgressMonitor

java.lang.Object
  extended by org.topbraid.actions.resource.AbstractResourceAction
      extended by org.topbraidcomposer.ui.actions.AbstractResourceActionWithProgressMonitor
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableWithProgress, IAction, IResourceAction
Direct Known Subclasses:
AbstractChangeResourceAction, FindReferencesAction, FindWorkspaceReferencesAction

public abstract class AbstractResourceActionWithProgressMonitor
extends AbstractResourceAction
implements org.eclipse.jface.operation.IRunnableWithProgress


Constructor Summary
protected AbstractResourceActionWithProgressMonitor(java.lang.String label)
           
protected AbstractResourceActionWithProgressMonitor(java.lang.String label, ImageMetadata im)
           
 
Method Summary
 void run(org.eclipse.core.runtime.IProgressMonitor monitor)
           
protected abstract  void run(org.eclipse.core.runtime.IProgressMonitor monitor, 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
 
Methods inherited from interface org.topbraid.actions.resource.IResourceAction
getGroupName, isEnabledFor, isVisibleFor
 

Constructor Detail

AbstractResourceActionWithProgressMonitor

protected AbstractResourceActionWithProgressMonitor(java.lang.String label)

AbstractResourceActionWithProgressMonitor

protected AbstractResourceActionWithProgressMonitor(java.lang.String label,
                                                    ImageMetadata im)
Method Detail

run

public void run(com.hp.hpl.jena.rdf.model.Resource resource)
Specified by:
run in interface IResourceAction

run

public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
         throws java.lang.reflect.InvocationTargetException,
                java.lang.InterruptedException
Specified by:
run in interface org.eclipse.jface.operation.IRunnableWithProgress
Throws:
java.lang.reflect.InvocationTargetException
java.lang.InterruptedException

run

protected abstract void run(org.eclipse.core.runtime.IProgressMonitor monitor,
                            com.hp.hpl.jena.rdf.model.Resource resource)
                     throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException