EMF Transaction Editing Domains
Identifier:
org.eclipse.emf.transaction.editingDomains
Since:
1.0
Description:
Registers named
TransactionslEditingDomain
instances, to be sharable by
multiple applications.
Configuration Markup:
<!ELEMENT extension (
editingDomain+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
<!ELEMENT editingDomain EMPTY>
<!ATTLIST editingDomain
id CDATA #REQUIRED
factory CDATA #IMPLIED
>
Registration of a sharable editing domain instance.
-
id - The unique identifier of the registered editing domain instance.
-
factory - Name of a class implementing the
TransactionalEditingDomain.Factory
interface, which is used by the registry to create the registered editing domain the first time that it is accessed. If not specified, the default shared factory instance is used.
Examples:
This example shows an extension that declares a registered editing domain, possibly to be shared with other applications. A custom editing domain factory is specified to configure
the domain when a client first requests it from the registry.
<extension
point=
"org.eclipse.emf.transaction.editingDomains"
>
<editingDomain
id=
"com.example.my.editing.domain"
factory=
"com.example.transaction.MyEditingDomainFactory"
/>
</listener>
</extension>
Copyright (c) 2005, 2006 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
https://www.eclipse.org/legal/epl-v10.html