Hi again!
I would like to use the SingleCDockableListMenuPiece class. But how do I use it? Do I add it to a dockable, a menu or to what?
BTW: I do not use a JMenu, so I would like to have it as an action button in a dockable. Is that possible?
Thanks for your answers and best regards,
grml
Currently at work so a brief answer:
Hm, Menu-pieces only go well with menus, without them it gets hard. It might be possible to subclass a CPanelPopup-action and allow it to show some menu.
But I think filling up a real CMenu would be easier, with a few listeners to the CControl you can find out what Dockables are flying around and what their states are.
Thanks for the reply. I will try my own solution. However, I think that this feature could make the framework even more flexible. Now I can’t use this feature just because I do not use JMenu although it could be also triggered by a button or any other trigger-capable component.
Moreover, I think this feature is so inherent to the framework that it should be implemented as standard action like Close, Maximize etc. What do you think, Beni?
Best,
grml
Might be a nice feature, but not that important that it makes it into 1.0.8.