public class UMLElementSelectionServiceJob
extends org.eclipse.gmf.runtime.common.ui.services.elementselection.ElementSelectionServiceJob
Modifier and Type | Class and Description |
---|---|
class |
UMLElementSelectionServiceJob.PrivilegedJobCompletionObserver |
Constructor and Description |
---|
UMLElementSelectionServiceJob(java.lang.String name,
org.eclipse.gmf.runtime.common.ui.services.elementselection.IElementSelectionProvider provider)
Deprecated.
Use
UMLElementSelectionServiceJob(String, IElementSelectionProvider, TransactionalEditingDomain)
. This constructor uses the
MEditingDomain.INSTANCE which could lead to a
lock if the caller of the
UMLElementSelectionService is not using the
MEditingDomain.INSTANCE . |
UMLElementSelectionServiceJob(java.lang.String name,
org.eclipse.gmf.runtime.common.ui.services.elementselection.IElementSelectionProvider provider,
org.eclipse.emf.transaction.TransactionalEditingDomain domain)
Initializes me with a name and the provider to which I provide query
results.
|
Modifier and Type | Method and Description |
---|---|
UMLElementSelectionServiceJob.PrivilegedJobCompletionObserver |
getObserver() |
protected boolean |
isComplete() |
protected org.eclipse.core.runtime.IStatus |
run(org.eclipse.core.runtime.IProgressMonitor monitor) |
addJobChangeListener, belongsTo, cancel, canceling, create, create, 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
public UMLElementSelectionServiceJob(java.lang.String name, org.eclipse.gmf.runtime.common.ui.services.elementselection.IElementSelectionProvider provider)
UMLElementSelectionServiceJob(String, IElementSelectionProvider, TransactionalEditingDomain)
. This constructor uses the
MEditingDomain.INSTANCE
which could lead to a
lock if the caller of the
UMLElementSelectionService
is not using the
MEditingDomain.INSTANCE
.name
- my nameprovider
- my providerpublic UMLElementSelectionServiceJob(java.lang.String name, org.eclipse.gmf.runtime.common.ui.services.elementselection.IElementSelectionProvider provider, org.eclipse.emf.transaction.TransactionalEditingDomain domain)
name
- my nameprovider
- my providerdomain
- the editing domainprotected final org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
run
in class org.eclipse.gmf.runtime.common.ui.services.elementselection.ElementSelectionServiceJob
protected boolean isComplete()
public UMLElementSelectionServiceJob.PrivilegedJobCompletionObserver getObserver()