public class WorkspaceOperationWorkspaceJob
extends org.eclipse.core.resources.WorkspaceJob
WorkspaceJob
that can be used to run IWorkspaceOperation
s as a background task.Modifier and Type | Field and Description |
---|---|
protected IWorkspaceOperation |
operation |
Constructor and Description |
---|
WorkspaceOperationWorkspaceJob(IWorkspaceOperation operation) |
Modifier and Type | Method and Description |
---|---|
org.eclipse.core.runtime.IStatus |
runInWorkspace(org.eclipse.core.runtime.IProgressMonitor monitor) |
addJobChangeListener, belongsTo, cancel, canceling, create, done, getJobGroup, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, join, removeJobChangeListener, schedule, schedule, setJobGroup, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
protected IWorkspaceOperation operation
public WorkspaceOperationWorkspaceJob(IWorkspaceOperation operation)
public org.eclipse.core.runtime.IStatus runInWorkspace(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
runInWorkspace
in class org.eclipse.core.resources.WorkspaceJob
org.eclipse.core.runtime.CoreException