|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface TransactionalEditingDomain.Registry
An ID-based registry of shareable TransactionalEditingDomain
instances.
Although editing domains can be registered in code, the usual means is
to implement the org.eclipse.emf.transaction.editingDomains
extension point.
Field Summary | |
---|---|
static TransactionalEditingDomain.Registry |
INSTANCE
The single static registry instance. |
Method Summary | |
---|---|
void |
add(String id,
TransactionalEditingDomain domain)
Registers an editing domain under the specified ID. |
TransactionalEditingDomain |
getEditingDomain(String id)
Obtains the editing domain having the specified ID. |
TransactionalEditingDomain |
remove(String id)
Removes the editing domain matching the specified ID from the registry. |
Field Detail |
---|
static final TransactionalEditingDomain.Registry INSTANCE
Method Detail |
---|
TransactionalEditingDomain getEditingDomain(String id)
id
- the ID to request
null
if it is
not found and it could not be created from the extension pointvoid add(String id, TransactionalEditingDomain domain)
org.eclipse.emf.transaction.editingDomains
extension
point.
id
- the domain ID to registerdomain
- the domain to register. If its current
ID
is not the registered ID, then it
is updated to correspond
IllegalArgumentException
- if the specified ID is already registered
statically on the extension pointTransactionalEditingDomain remove(String id)
org.eclipse.emf.transaction.editingDomains
extension
point.
id
- the domain ID to deregister
null
if none was registered
IllegalArgumentException
- if the specified ID was registered
statically on the extension point
|
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 |