|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.transaction.util.TransactionUtil
Static utilities for dealing with EMF elements and resources in a transactional editing domain.
| Method Summary | |
static TransactionalEditingDomain |
getEditingDomain(org.eclipse.emf.ecore.EObject eObject)
Obtains the transactional editing domain that manages the specified element. |
static TransactionalEditingDomain |
getEditingDomain(Object object)
Obtains the transactional editing domain that manages the specified object. |
static TransactionalEditingDomain |
getEditingDomain(org.eclipse.emf.ecore.resource.Resource resource)
Obtains the transactional editing domain that manages the specified resource. |
static TransactionalEditingDomain |
getEditingDomain(org.eclipse.emf.ecore.resource.ResourceSet rset)
Obtains the transactional editing domain that manages the specified resource set. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static TransactionalEditingDomain getEditingDomain(org.eclipse.emf.ecore.EObject eObject)
eObject - an EMF model element
null if it is not attached
to any resource in an editing domainpublic static TransactionalEditingDomain getEditingDomain(org.eclipse.emf.ecore.resource.Resource resource)
resource - a resource
null if it is not in a
resource set managed by an editing domainpublic static TransactionalEditingDomain getEditingDomain(org.eclipse.emf.ecore.resource.ResourceSet rset)
rset - a resource set
null if it is managed by
an editing domainpublic static TransactionalEditingDomain getEditingDomain(Object object)
Notification originated by
testing its
notifier.
object - some object
null if it is not of a type
that is managed by an editing domain or if it is of an appropriate
type but happens not to be managed by an editing domain
|
Copyright 2002, 2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||