Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Remove Palette from the Editor
Remove Palette from the Editor [message #819861] Tue, 13 March 2012 12:17 Go to next message
Abhinaw Sachan is currently offline Abhinaw SachanFriend
Messages: 9
Registered: July 2009
Junior Member

I am using Graphiti Editor and I want a way not to show the Palette at all. I looked for an option and could not find one.

I googled and found a link saying this will be in included in Eclipse Juno release.

Can someone please provide a solution?

I am working on graphiti 0.7

Thanks & Regards,
Re: Remove Palette from the Editor [message #819933 is a reply to message #819861] Tue, 13 March 2012 14:04 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1890
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Prior to the Juno release of Graphiti this can only be achieved by
overriding an internal class:

You need to override the method DiagramEditor.getPalettePreferences() and
return a modified FlyoutPreferences instance that returns 8 (the associated
GEF constant FlyoutPaletteComposite.STATE_HIDDEN is unfortunatly private)
when getPaletteState() is called.

Re: Remove Palette from the Editor [message #988721 is a reply to message #819933] Sat, 01 December 2012 22:58 Go to previous message
Matthias Gutheil is currently offline Matthias GutheilFriend
Messages: 1
Registered: January 2011
Location: Bonn
Junior Member
In 0.9.1 you can hide the Palette with overriding isShowFlyoutPalette() in your ToolBehaviorProvider.

Use your DiagramTypeProvider.getAvailableToolBehaviorProviders() to return your ToolBehaviorProvider.
Previous Topic:Lazy tool tips
Next Topic:Regarding Graphiti 0.10.0 MileStone Fixes
Goto Forum:

Current Time: Fri May 25 07:13:44 GMT 2018

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

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

Back to the top