Class BslSourceDisplay.SourceDisplayJob

java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.ui.progress.UIJob
com._1c.g5.v8.dt.internal.debug.ui.BslSourceDisplay.SourceDisplayJob
All Implemented Interfaces:
Comparable<org.eclipse.core.internal.jobs.InternalJob>, org.eclipse.core.runtime.IAdaptable
Enclosing class:
BslSourceDisplay

protected class BslSourceDisplay.SourceDisplayJob extends org.eclipse.ui.progress.UIJob
Display BSL source job.

Source jobs are a family per parent workbench page and can be cancelled with:

 Job.getJobManager().cancel(otherSourceDisplayJob);
 
  • 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

    Constructors
    Modifier
    Constructor
    Description
    protected
    SourceDisplayJob(org.eclipse.ui.IWorkbenchPage page, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature reference, IBslStackFrame stackFrame, boolean forceSourceLookup)
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    belongsTo(Object family)
     
    org.eclipse.core.runtime.IStatus
    runInUIThread(org.eclipse.core.runtime.IProgressMonitor monitor)
     

    Methods inherited from class org.eclipse.ui.progress.UIJob

    create, create, errorStatus, getDisplay, run, setDisplay

    Methods inherited from class org.eclipse.core.runtime.jobs.Job

    addJobChangeListener, cancel, canceling, createSystem, createSystem, 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

    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
  • Constructor Details

    • SourceDisplayJob

      protected SourceDisplayJob(org.eclipse.ui.IWorkbenchPage page, org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature reference, IBslStackFrame stackFrame, boolean forceSourceLookup)
      Parameters:
      page - the workbench page, cannot be null
      owner - the BSL module owner to display, cannot be null
      reference - the BSL module reference to display, cannot be null
      stackFrame - the BSL stack frame, cannot be null
      forceSourceLookup - whether source lookup should be performed, ignoring any previously cached results for the same element
  • Method Details

    • runInUIThread

      public org.eclipse.core.runtime.IStatus runInUIThread(org.eclipse.core.runtime.IProgressMonitor monitor)
      Specified by:
      runInUIThread in class org.eclipse.ui.progress.UIJob
    • belongsTo

      public boolean belongsTo(Object family)
      Overrides:
      belongsTo in class org.eclipse.core.runtime.jobs.Job