RSE
Release 3.4

org.eclipse.rse.core.subsystems
Class SubSystem.DisplayErrorMessageJob

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.core.internal.jobs.InternalJob
          extended by org.eclipse.core.runtime.jobs.Job
              extended by org.eclipse.ui.progress.UIJob
                  extended by org.eclipse.ui.progress.WorkbenchJob
                      extended by org.eclipse.rse.core.subsystems.SubSystem.DisplayErrorMessageJob
All Implemented Interfaces:
Comparable, IAdaptable
Enclosing class:
SubSystem

public static class SubSystem.DisplayErrorMessageJob
extends WorkbenchJob

Nested class which extends WorkbenchJob to allow us to show an error message, which is a GUI operation, from a non-GUI thread. This is done by creating an instance of this class and then scheduling it.


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
manager
 
Constructor Summary
SubSystem.DisplayErrorMessageJob(Shell shell, SystemMessageException msgExc)
          Constructor
 
Method Summary
 IStatus runInUIThread(IProgressMonitor monitor)
           
 
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, belongsTo, cancel, canceling, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, sleep, toString, wakeUp, wakeUp, yieldRule
 
Methods inherited from class org.eclipse.core.internal.jobs.InternalJob
compareTo
 
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
 

Constructor Detail

SubSystem.DisplayErrorMessageJob

public SubSystem.DisplayErrorMessageJob(Shell shell,
                                        SystemMessageException msgExc)
Constructor

Method Detail

runInUIThread

public IStatus runInUIThread(IProgressMonitor monitor)
Specified by:
runInUIThread in class UIJob
See Also:
UIJob.run(IProgressMonitor monitor)

RSE
Release 3.4

Copyright (c) IBM Corporation and others 2000, 2012. All Rights Reserved.