EMF Transaction Editing Domains

org.eclipse.emf.transaction.editingDomains

1.0

Registers named TransactionslEditingDomain instances, to be sharable by multiple applications.

<!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.



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>

The value of the <editingDomain> element factory attribute must be the fully qualified name of a class that implements the org.eclipse.emf.transaction.TransactionalEditingDomain.Factory interface. It is instantiated using the default (no-argument) constructor. If the factory attribute is omitted, the default factory instance is used.