com.ibm.xtools.uml.ui.elementselection
Class UMLElementSelectionServiceJob
java.lang.Object
org.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.gmf.runtime.common.ui.services.elementselection.ElementSelectionServiceJob
com.ibm.xtools.uml.ui.elementselection.UMLElementSelectionServiceJob
- All Implemented Interfaces:
- Comparable, IAdaptable
public class UMLElementSelectionServiceJob
- extends ElementSelectionServiceJob
A job that knows how to coordinate access to the transactional editing domain
via read transactions, when the thread scheduling the job (hence, accessing
the element selection service) has a transaction already.
| Fields inherited from class org.eclipse.core.internal.jobs.InternalJob |
manager |
| 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, shouldRun, shouldSchedule, sleep, wakeUp, wakeUp |
| Methods inherited from class org.eclipse.core.internal.jobs.InternalJob |
compareTo, toString |
UMLElementSelectionServiceJob
public UMLElementSelectionServiceJob(String name,
IElementSelectionProvider provider)
- Deprecated. Use
UMLElementSelectionServiceJob.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.
- Initializes me with a name and the provider to which I provide query
results.
- Parameters:
name - my nameprovider - my provider
UMLElementSelectionServiceJob
public UMLElementSelectionServiceJob(String name,
IElementSelectionProvider provider,
TransactionalEditingDomain domain)
- Initializes me with a name and the provider to which I provide query
results.
- Parameters:
name - my nameprovider - my providerdomain - the editing domain
run
protected final IStatus run(IProgressMonitor monitor)
- Overrides:
run in class ElementSelectionServiceJob
isComplete
protected boolean isComplete()
getObserver
public UMLElementSelectionServiceJob.PrivilegedJobCompletionObserver getObserver()
© Copyright IBM Corp. 2009. All rights reserved.