Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Disable tool palette when opening an editor
Disable tool palette when opening an editor [message #825076] Tue, 20 March 2012 12:34 Go to next message
M F is currently offline M FFriend
Messages: 1
Registered: March 2012
Junior Member
I am working with GMF and trying to open a *.modeling_diagram file in the editor but I want to disable the tool palette so that it does not appear. The purpose of this is that the user only is allowed to see the diagram but not to put new elements in it. Is it possible to do that in some way?

Any help is appreciated!
Thanks in advance!

[Updated on: Tue, 20 March 2012 12:35]

Report message to a moderator

Re: Disable tool palette when opening an editor [message #825079 is a reply to message #825076] Tue, 20 March 2012 12:44 Go to previous message
Andreas Muelder is currently offline Andreas MuelderFriend
Messages: 73
Registered: July 2011

take a look at the constructor of class DiagramDocumentEditor. You can pass in a boolean flag indicating if the editor should have a palette or not.


Previous Topic:Restricting attribute value choice
Next Topic:[GMF] Containment Bug
Goto Forum:

Current Time: Fri Oct 23 06:09:46 GMT 2020

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

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

Back to the top