java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.ui.progress.UIJob
org.eclipse.ui.progress.WorkbenchJob
com.ibm.jdg2e.view.files.ui.FileContentProvider.AddToViewer
This job is used to deliver content to the viewer. The files found by
the IResourceProxyVisitor are sent off to the viewer in
batches. Instances of this job are used to deliver the adds to the viewer
which must be made on the UI thread. Job also support a family
relationship so that all pending jobs can be cancled.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING |
| Fields inherited from class org.eclipse.core.internal.jobs.InternalJob |
|---|
|
| Method Summary | |
|---|---|
boolean |
belongsTo(java.lang.Object family)
All jobs of this type are in one family; this supports a family level cancel request. |
org.eclipse.core.runtime.IStatus |
runInUIThread(org.eclipse.core.runtime.IProgressMonitor monitor)
Add the files passed to the job to the viewer. |
| Methods inherited from class org.eclipse.ui.progress.WorkbenchJob |
|---|
performDone, shouldRun, shouldSchedule |
| Methods inherited from class org.eclipse.ui.progress.UIJob |
|---|
errorStatus, getDisplay, run, setDisplay |
| Methods inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
addJobChangeListener, cancel, done, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, sleep, wakeUp, wakeUp |
| Methods inherited from class org.eclipse.core.internal.jobs.InternalJob |
|---|
compareTo, toString |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Method Detail |
public boolean belongsTo(java.lang.Object family)
Job.belongsTo(java.lang.Object)public org.eclipse.core.runtime.IStatus runInUIThread(org.eclipse.core.runtime.IProgressMonitor monitor)
UIJob.runInUIThread(org.eclipse.core.runtime.IProgressMonitor)