problems with multiple resource sets [message #594853] |
Mon, 28 May 2007 18:33 |
Dave Carlson Messages: 402 Registered: July 2009 |
Senior Member |
|
|
I am reviewing the UML2Tools holistically for usability as an end-user
application. In M7 there is a critical issue that must be resolved with
use of redundant editing domains and resource sets. I am trying to
create a prototype of some possible fixes in this area, but thought I'd
ping the list to see if other solutions were planned or underway. We
are very close to lock-down for final release, but something needs to
change here.
Now, each navigator and each diagram editor has it own editing domain
with its own ResourceSet. As a consequence, if I open a class diagram,
then open a tree navigator on the diagram, then open the .uml model
navigator, I get 3 complete copies of the entire model loaded into
separate ResourceSets. Not a viable solution for anything other than
small demo models.
I would prefer one EditingDomain shared across all diagram types and all
navigators. Or at least one shared ResourceSet shared by all editing
domains. I am trying a prototype where an editing domain is declared in
the "common" plugin. I can't find where the editing domain is created
by GMF for diagrams so that I can use the shared domain; where would I
find that? I've already changed the domain creation in the navigators.
In common, I added this to plugin.xml
<extension point="org.eclipse.emf.transaction.editingDomains">
<editingDomain
id="org.eclipse.uml2.diagram.common.UML2EditingDomain"
factory=" org.eclipse.uml2.diagram.common.domain.UML2EditingDomainFact ory "/>
</extension>
|
|
|
Powered by
FUDForum. Page generated in 0.03531 seconds