|Re: Palette configuration using Eugenia [message #1008695 is a reply to message #1008639]
||Wed, 13 February 2013 10:44
| Hector Florez
Registered: February 2013
I could modify the palette. However, I also need to remove some elements..
I wrote the next lines, but it doesn't work.
var toolGroupConnections = GmfTool!ToolGroup.all.selectOne(r|r.title = 'Connections');
toolEntry = toolGroupConnections.tools.selectOne(r|r.title = 'ElementToDelete');
The error log shows the message:
Wed Feb 13 10:39:58 COT 2013
Property 'entries' not found in object org.eclipse.gmf.tooldef.impl.ToolGroupImpl@b077ad
Do you know the solution? or do you know another way to delete the entry?
Thank you so much
Powered by FUDForum
. Page generated in 0.01868 seconds