Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Remove default tools in palette
Remove default tools in palette [message #559304] Thu, 16 September 2010 10:32
123star  is currently offline 123star Friend
Messages: 70
Registered: June 2010

I'd like to remove (or at least hide them at startup) the Nodes and Edges groups from the default palette, I found this:

<extension point="org.eclipse.gmf.runtime.diagram.ui.paletteProviders" >
<paletteProvider class=" org.eclipse.gmf.runtime.diagram.ui.providers.DefaultPaletteP rovider ">
<Priority name="Highest" />
<predefinedEntry id="standardGroup/noteStack/noteTool" remove="true" />
<predefinedEntry id="standardGroup/noteStack/textTool" remove="true" />
<predefinedEntry id="standardGroup/noteStack/noteattachmentTool" remove="true" />

But I don't know the ids of the group Nodes and Edges, are they like this?

<predefinedEntry id="standardGroup/nodesStack" remove="true" />
<predefinedEntry id="standardGroup/edgesStack" remove="true" />

Thanks in advance, 123star
Previous Topic:[DND] TransferDropTargetListener should not be deprecated
Next Topic:Learn GEF at $499 - Online Training Introductory Offer
Goto Forum:

Current Time: Sun Apr 22 22:18:19 GMT 2018

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

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