Adding menu to the palette [message #1071223] |
Fri, 19 July 2013 11:31  |
Eclipse User |
|
|
|
Hi everyone,
I am trying to add items to a palette of my gmf application.
I created a diagram editor that extends the DiagramDocumentEditor and I've already dinamically customized my palette modifying my PaletteFactory instantiated into createPaletteRoot method.
Anyway I would like to add something different, for istance a main menu or a tool menu to the palette but i don't understand how to do that.
Should i use PaletteViewerProvider ? Is that possible to add a menu or even other widgets to the palette ?
please any suggestions are welcome.
thanks,
Luca.
|
|
|
|
|
|
Re: Adding menu to the palette [message #1725258 is a reply to message #1073652] |
Wed, 02 March 2016 02:53  |
Eclipse User |
|
|
|
Hi Luca,
Could you explain about how to add PaletteDrawer, PaletteEntry to paletteRoot, programmatically?
I also want to listen when User select a entry from PaletteRoot.
Thanks,
Nhan
Luca Salemio wrote on Thu, 25 July 2013 08:40Does anyone have any suggestions ?
Please I really got stuck at this point.
I am able to add PaletteContainer, PaletteDrawer, PaletteEntry,PaletteSeparator, PaletteGroup to the PaletteRoot but I do not know how to add a menu or a toolbar to it. Is it possible ?
Thanks,
Luca.
|
|
|
Powered by
FUDForum. Page generated in 0.03058 seconds