|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.xtext.ui.editor.SchedulingRuleFactory
public class SchedulingRuleFactory
Scheduling rule factory for asynchronous operations. Mostly copied from org.eclipse.debug.internal.ui.viewers.AsynchronousSchedulingRuleFactory.
| Nested Class Summary | |
|---|---|
static class |
SchedulingRuleFactory.Sequence
All jobs that are configured with the same instance of this rule will run sequentially. |
| Field Summary | |
|---|---|
static SchedulingRuleFactory |
INSTANCE
|
| Method Summary | |
|---|---|
org.eclipse.core.runtime.jobs.ISchedulingRule |
newSequence()
Returns a scheduling rule that allows all jobs with an instance of the rule to run one at a time. |
org.eclipse.core.runtime.jobs.ISchedulingRule |
newSerialPerObjectRule(java.lang.Object lock)
Returns a scheduling rule that allows all jobs with an instance of the rule on the same object to run one at a time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static SchedulingRuleFactory INSTANCE
| Method Detail |
|---|
public org.eclipse.core.runtime.jobs.ISchedulingRule newSequence()
public org.eclipse.core.runtime.jobs.ISchedulingRule newSerialPerObjectRule(java.lang.Object lock)
lock - object to serialize one
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||