Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF editor as viewer-only (no edition)
GMF editor as viewer-only (no edition) [message #152850] Tue, 02 October 2007 04:45 Go to next message
Eclipse UserFriend
Hi,

I would like my GMF editor to behave as a viewer, not allowing edition at
all. Could somebody help me with that? Thanks in advance.

Noé.
Re: GMF editor as viewer-only (no edition) [message #153140 is a reply to message #152850] Tue, 02 October 2007 15:58 Go to previous message
Eclipse UserFriend
Noe,

You can start by overriding GraphicalEditPart.isEditModeEnabled() on
your editparts. This should remove most of the editing functionality.
Anthing else might need to have its editpolicy removed.

Regards,
Cherie


noe casas wrote:
> Hi,
>
> I would like my GMF editor to behave as a viewer, not allowing edition
> at all. Could somebody help me with that? Thanks in advance.
>
> Noé.
>
Previous Topic:Placing figure inside a figure in GEF
Next Topic:Horizontal for compartment
Goto Forum:
  


Current Time: Mon Mar 31 20:36:04 EDT 2025

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

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

Back to the top