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
Messages: 70
Registered: June 2010
Member
Hi,

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" />
<contribution>
<predefinedEntry id="standardGroup/noteStack/noteTool" remove="true" />
<predefinedEntry id="standardGroup/noteStack/textTool" remove="true" />
<predefinedEntry id="standardGroup/noteStack/noteattachmentTool" remove="true" />
</contribution>
</paletteProvider>
</extension>

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:GEF stencil and layout capabilities
Next Topic:Drag-and-Drop between two GEF-Editors
Goto Forum:
  


Current Time: Tue Oct 21 08:49:24 GMT 2014

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

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