Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » disable editing only for part of the diagram
disable editing only for part of the diagram [message #178090] Wed, 19 March 2008 09:27 Go to next message
Eclipse UserFriend
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
Re: disable editing only for part of the diagram [message #178858 is a reply to message #178090] Tue, 25 March 2008 04:33 Go to previous message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Anyone an idea how this can be done?
Previous Topic:figure definition - best practice?
Next Topic:Creating shape at the position of the mouse
Goto Forum:
  


Current Time: Fri Jul 25 13:26:31 EDT 2025

Powered by FUDForum. Page generated in 0.04981 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top