Community
Participate
Working Groups
Created attachment 223416 [details] Project that reproduces the issue I have been trying to get dropdown menu to display in a toolitem, but haven't been able to get it to work. I am using the MMenuFactory to create a MDirectToolItem and then I am setting a MMenu on that tool item. The MMenu has a couple items in it. When I run the application the tool item displays with the down arrow, but when I click on the down arrow the menu doesn't display. I will attach screen prints and a project that reproduces the issue.
Created attachment 223417 [details] Screen capture of tool item with dropdown menu that will not display
Here is my Eclipse version Eclipse SDK Version: 4.2.1 Build id: M20120914-1800
Josh, it is possible, although not the way you are doing it! I did not reproduce it in code but in the application model, funny thing is the following: Part/Toolbar/HandledMenuItem/Menu/DirectMenuItem -> works Part/Toolbar/DirectMenuItem/Menu/DirectMenuItem -> does NOT work Whats the thing here? One additional funny thing: Part/Toolbar leads to the same menu as Part/Menus/ViewMenu!
Created attachment 232785 [details] Sample with workaround
(In reply to comment #2) > Here is my Eclipse version > > Eclipse SDK > Version: 4.2.1 > Build id: M20120914-1800 Josh, I've created the sample project with workaround for the issue: https://bugs.eclipse.org/bugs/attachment.cgi?id=232785 I will continue to investigate the main issue, Daniel
Released as http://git.eclipse.org/c/platform/eclipse.platform.ui.git/commit/?id=05735beaf7d3217caba9506f1bc4cea774a53936 PW
Verified in the build: I20130730-0800