Bug 45386 - [Contributions] widgets: Need an action contribution that's only a menu
Summary: [Contributions] widgets: Need an action contribution that's only a menu
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2003-10-22 11:43 EDT by Jean-Michel Lemieux CLA
Modified: 2019-09-06 16:09 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Michel Lemieux CLA 2003-10-22 11:43:34 EDT
There are examples in the workbench where drop down toolitems are used as 
menus only. See the console view and the synchronize view. However, when the 
button is pressed for these actions nothing happens. Instead it should display 
the drop down menu.

There are examples in other applications (e.g. see internet explorer) with two 
different types of drop down buttons. The 'back' button has both an action and 
a drop down menu whereas the mail button is simply a drop down.

One way to solve this, before SWT implements another type of dropdown 
toolitem, is to allow another action type that has a menu but doesn't have an 
action (e.g something like IAction.AS_DROP_DOWN_MENU_ONLY). Then in the 
ActionContributionItem the menu can be shown when both the main button and 
drop down buttons are pressed.
Comment 1 Michael Van Meekeren CLA 2006-04-21 13:56:46 EDT
Moving Dougs bugs
Comment 2 Paul Webster CLA 2007-04-05 19:02:47 EDT
Assigning to component owner
PW
Comment 3 Eclipse Webmaster CLA 2019-09-06 16:09:16 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.