public class WorkspaceOperationAdapter extends AbstractWorkspaceOperation
IWorkspaceOperation adapter that can be used to wrap existing IWorkspaceRunnables and use them as
IWorkspaceOperations.IWorkspaceOperation,
ILabeledWorkspaceRunnable,
IWorkspaceRunnable| Constructor and Description |
|---|
WorkspaceOperationAdapter(java.lang.String label,
org.eclipse.core.runtime.jobs.ISchedulingRule rule,
org.eclipse.core.resources.IWorkspaceRunnable runnable) |
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.core.runtime.jobs.ISchedulingRule |
getRule()
Returns the
scheduling rule required by this operation. |
void |
run(org.eclipse.core.runtime.IProgressMonitor monitor) |
getLabelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLabelpublic WorkspaceOperationAdapter(java.lang.String label,
org.eclipse.core.runtime.jobs.ISchedulingRule rule,
org.eclipse.core.resources.IWorkspaceRunnable runnable)
public org.eclipse.core.runtime.jobs.ISchedulingRule getRule()
IWorkspaceOperationscheduling rule required by this operation.null if no such is required.public void run(org.eclipse.core.runtime.IProgressMonitor monitor)
throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException