Dropdown menu for toolbar button [message #269903] |
Thu, 02 September 2004 18:09 |
Eclipse User |
|
|
|
Originally posted by: mward.harmonia.com
Hello,
Im having trouble trying to make a toolbar button a drop down menu. I am
not doing anything through xml, but rather an ActionBarCOntributor using
RetargetActions. I had seen in a thread a while ago that for what im
trying to do I need to look into implementing the IMenuCreator. I was
not sure of where to implemented this, and have tried to do so within
the Action that the RetargetAction refers to. The over-all idea is to
have an Undo button that has a drop down menu associated with it that
will show a list of the latest undoable actions.
I have gotten to the point by when I create the RetargetAction I have it
set as a drop down menu (so the little arrow appears) but passed that I
am not sure of where I should be implementing IMenuCreator (or where it
is called). So does anybody have any ideas or a better way of going
abotu doing this>? Thanks in advance
-Matt
|
|
|
Powered by
FUDForum. Page generated in 0.03115 seconds