Bug 8594 - [Contributions] Hierarchy view menu items wrong style
Summary: [Contributions] Hierarchy view menu items wrong style
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Simon Arsenault CLA
QA Contact:
URL:
Whiteboard:
Keywords: api, investigate
Depends on:
Blocks:
 
Reported: 2002-01-28 10:58 EST by Peter Burka CLA
Modified: 2003-01-13 13:06 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Burka CLA 2002-01-28 10:58:23 EST
The drop down menu for the 'Hierarchy' view has three options:
  Vertical View Orientation
  Horizontal View Orientation
  Hierarchy View Only

A check mark appears next to the item which is currently selected.  The check 
mark implies that you can select more than one, or none at all.  And indeed 
this seems to be (at least partially) the case!  If you select the item which 
is currently selected and then display the menu again, no items will be checked.

The items should be shown with a 'radio' style, and it should be impossible to 
deselect the current view.

(Tested against 20020125 build)
Comment 1 Erich Gamma CLA 2002-05-11 15:08:14 EDT
we should use radio items as in Window>Open Perspective
Comment 2 Martin Aeschlimann CLA 2002-05-12 16:30:14 EDT
Could the ActionContributionItem support the RADIO flag? (It asks an action for 
it's style)
Comment 3 Nick Edgar CLA 2002-11-20 11:50:10 EST
Action and ActionContributionItem should support radio style.
The Edit / Encodings menu should be changed to use this too.
Comment 4 Simon Arsenault CLA 2002-12-11 13:04:12 EST
Not going to happen for M4
Comment 5 Simon Arsenault CLA 2003-01-13 13:06:36 EST
There is now support for radio style actions for the actionSets, editorActions, 
and popupMenus extension points. Please update your UI where radio buttons 
would be more appropriate than using check boxes or some other alternative.

There is a new attribute called "style" which can have the 
value "push", "radio", "toggle", or "pulldown". When the "style" attribute is 
used, then the "state" attribute can be used to specify the initial value 
for "toggle" and "radio" styles. The attribute "pulldown" is being deprecated.