Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse EMF Model Transaction Development Guide
Previous Page Home Next Page

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire