disable editing only for part of the diagram [message #178090] |
Wed, 19 March 2008 09:27  |
Eclipse User |
|
|
|
Originally posted by: marsha.rohrer.swisscom.com
Hi,
I have a first editor with which I create "game" diagrams. Multiple "game"
diagrams are then merged to a "gfme" model and are vizualized with the
"gfme" editor which is also created using GMF.
In this "gfme" editor the merged "game" diagrams are displayed in boxes.
These boxes and what is contained in it shouldn't be editable.
The problem here is, that for the "game" and the "gfme" editor the same
ecore model is used. If it is possible I don't want to redefine each
figure either, so I reuse the graphical definition of the "game" editor
(see
http://dev.eclipse.org/newslists/news.eclipse.modeling.gmf/m sg11478.html).
This implies that everything that may be edited in the "game" editor may
also be edited in the "gfme" editor. How can I avoid this? Any ideas?
Thanks for your help,
Marsha
|
|
|
|
Powered by
FUDForum. Page generated in 0.04981 seconds