same or different TransactionalEditingDomain ? [message #208369] |
Sat, 11 October 2008 19:44 |
Eclipse User |
|
|
|
Originally posted by: spam.spam.spam
Hello everybody,
I have to base my appl. on a multi-page diagram editor whose pages are
instances of
the usual generated editor. There are specialized nodes -"Sub-Diagrams"- and
when
one of these is clicked a new page for the Sub-Diagram should open in the
multi-page editor.
Until now I wasn't able to find a firm and clear answer:
Should I give these editors (the separate pages in the multi-page) different
TransactionalEditingDomains or a single shared one ?
I think somewhere I read it is recommended to use a single TrEdDomain. On
the other hand,
right now I am playing with the Taipan example and it for sure uses
different
TransactionalEditingDomains for the taipan_diagrams and the linked
port_diagrams .
I believe there isn't a big difference between my use-case and that of the
Ports: when a
special node that is meant to contain other nodes is double-clicked it
should be opened somewhere for editing...
Any comments or info about new/updated references dealing with
TransactionalEditingDomains / Resources / ResourceSets / Linked Diagram
Editors / Muilti-page Diagram Editors ?
Cheers,
Theo
|
|
|
|
Powered by
FUDForum. Page generated in 0.01489 seconds