Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 08:45 Go to next message
noe casas is currently offline noe casasFriend
Messages: 1
Registered: July 2009
Junior Member
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 19:58 Go to previous message
Cherie Revells is currently offline Cherie RevellsFriend
Messages: 299
Registered: July 2009
Senior Member
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: Sat Jul 27 16:33:07 GMT 2024

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

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

Back to the top