| Palette configuration using Eugenia [message #1008549] |
Tue, 12 February 2013 17:43  |
Hector Florez Messages: 4 Registered: February 2013 Location: Colombia |
Junior Member |
|
|
Dear All
I made my editor using Eugenia, and I need to re-order the elements in the palette by creating new palette groups
Where can I find information or examples??
Thanks
Regards,
Hector F
|
|
|
|
| Re: Palette configuration using Eugenia [message #1008695 is a reply to message #1008639] |
Wed, 13 February 2013 10:44   |
Hector Florez Messages: 4 Registered: February 2013 Location: Colombia |
Junior Member |
|
|
Hi Antonio
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');
toolGroupConnections.entries.remove(toolEntry);
The error log shows the message:
Error
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
Regards,
Hector F
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01871 seconds