Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Global AdapterFactory vs one per each EditingDomain
icon3.gif  Global AdapterFactory vs one per each EditingDomain [message #904383] Tue, 28 August 2012 06:59 Go to previous message
Sorin Fagateanu is currently offline Sorin Fagateanu
Messages: 46
Registered: July 2009
Member
Hello,

What are the differences of using the same instance of an AdapterFactory with all loaded EditingDomains over using an AdapterFactory per each loaded EditingDomain?

The first difference that comes to my mind is that when using a global AdapterFactory, only a single set of item providers exist whereas using one per each EditingDomain would result in a set of item providers for each domain.

Is the performance (memory, speed) of the overall EMF mechanism affected in any way by using a global instance?

What are the other important/notable differences?

Thank you in advance,
Sorin.

[Updated on: Tue, 28 August 2012 07:02]

Report message to a moderator

 
Read Message icon3.gif
Read Message
Read Message
Previous Topic:Distinct ItemProvider for different view
Next Topic:[CDO] Finding detached objects
Goto Forum:
  


Current Time: Fri May 24 03:34:37 EDT 2013

Powered by FUDForum. Page generated in 0.01584 seconds