|Making a diagram read-only [message #213866]
||Tue, 11 April 2006 11:44
Originally posted by: markp.softlanding.com|
I am using GEF 3.0.0. I have a diagram app that is loosely based on
the Shapes example. I want to be able to allow a user to open this
diagram in "read-only" mode. Is there some easy way to do this? It is
relatively easy to make changes so that you do not save anything, but
the user can still manipulate the diagram and see and use the palette.
Is the only way to do this to create a second editor?
|Re: Making a diagram read-only [message #214782 is a reply to message #213958]
||Sun, 23 April 2006 01:01
Originally posted by: prostephen1983.hotmail.com|
I think a short way is let all the EditPart install this
EditPolicy ----- RootComponentEditPolicy
this editpolicy make your model and view can not be removed.And you may
can not create a connection in your diagram.
I come from china and just a B.S in university.
And this is my first time here.
Powered by FUDForum
. Page generated in 0.02075 seconds