|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.transaction.impl.EditingDomainManager
public class EditingDomainManager
The editing domain manager initializes editing domain instances from the
org.eclipse.emf.transaction.editingDomains
extension point.
It also configures listeners from the
org.eclipse.emf.transaction.listeners
point.
Method Summary | |
---|---|
void |
configureListeners(String id,
TransactionalEditingDomain domain)
Creates (if necessary) listeners registered against the specified editing domain ID and and adds them to it. |
TransactionalEditingDomain |
createEditingDomain(String id)
Creates the editing domain registered on the extension point under the specified id , if an appropriate extension exists. |
void |
deconfigureListeners(String id,
TransactionalEditingDomain domain)
Removes from the editing domain the listeners that are registered against its ID. |
static EditingDomainManager |
getInstance()
Gets the singleton instance. |
boolean |
isStaticallyRegistered(String id)
Queries whether the specified editing domain ID is statically registered on our extension point. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static EditingDomainManager getInstance()
public TransactionalEditingDomain createEditingDomain(String id)
id
, if an appropriate extension exists.
id
- the editing domain ID to initialize
null
if no
such extension was foundpublic boolean isStaticallyRegistered(String id)
id
- the domain ID to query
public void configureListeners(String id, TransactionalEditingDomain domain)
At most a single instance of any registered listener is created.
id
- the editing domain IDdomain
- the editing domain to which to add the listenerspublic void deconfigureListeners(String id, TransactionalEditingDomain domain)
id
- the editing domain IDdomain
- the editing domain from which to remove the listeners
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |