Package com._1c.g5.v8.dt.bsl.resource
Class BslResolveCrossReferencesJob
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- org.eclipse.core.internal.jobs.InternalJob
-
- org.eclipse.core.runtime.jobs.Job
-
- com._1c.g5.v8.dt.bsl.resource.BslResolveCrossReferencesJob
-
- All Implemented Interfaces:
Comparable
,org.eclipse.core.runtime.IAdaptable
public class BslResolveCrossReferencesJob extends org.eclipse.core.runtime.jobs.Job
SpecialJob
for separetly runningLazyLinkingResource.resolveLazyCrossReferences(CancelIndicator)
not in ui thread
-
-
Field Summary
Fields Modifier and Type Field Description static String
JOB_FAMILY
Prefix of the family objects.
-
Constructor Summary
Constructors Constructor Description BslResolveCrossReferencesJob(org.eclipse.xtext.linking.lazy.LazyLinkingResource resource, org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
belongsTo(Object family)
static Collection<BslResolveCrossReferencesJob>
findJobsByResource(org.eclipse.xtext.linking.lazy.LazyLinkingResource resource)
Gets allBslResolveCrossReferencesJob
for actual resourceprotected org.eclipse.core.runtime.IStatus
run(org.eclipse.core.runtime.IProgressMonitor monitor)
-
Methods inherited from class org.eclipse.core.runtime.jobs.Job
addJobChangeListener, cancel, canceling, create, create, createSystem, 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
-
-
-
-
Field Detail
-
JOB_FAMILY
public static final String JOB_FAMILY
Prefix of the family objects. Full family object is string object equals to "JOB_FAMILY + resource.getURI().toString()"- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BslResolveCrossReferencesJob
public BslResolveCrossReferencesJob(org.eclipse.xtext.linking.lazy.LazyLinkingResource resource, org.eclipse.xtext.util.CancelIndicator cancelIndicator)
Constructor- Parameters:
resource
- actualLazyLinkingResource
for running methodLazyLinkingResource.resolveLazyCrossReferences(CancelIndicator)
, cannot benull
cancelIndicator
- actual indicator for stopping computation, cannot benull
-
-
Method Detail
-
findJobsByResource
public static Collection<BslResolveCrossReferencesJob> findJobsByResource(org.eclipse.xtext.linking.lazy.LazyLinkingResource resource)
Gets allBslResolveCrossReferencesJob
for actual resource- Parameters:
resource
- for getting allBslResolveCrossReferencesJob
jobs, cannot benull
- Returns:
- all
BslResolveCrossReferencesJob
for actual resource or empty collection of there is no jobs, nevernull
-
belongsTo
public boolean belongsTo(Object family)
- Overrides:
belongsTo
in classorg.eclipse.core.runtime.jobs.Job
-
run
protected org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
- Specified by:
run
in classorg.eclipse.core.runtime.jobs.Job
-
-