Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 90852 - [Contributions] ActionContributionItem should not change selection state when enable/disabled
Summary: [Contributions] ActionContributionItem should not change selection state when...
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.1 M7   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-08 15:34 EDT by Nick Edgar CLA
Modified: 2005-05-06 10:07 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 Nick Edgar CLA 2005-04-08 15:34:35 EDT
3.1 M6

See bug 11178 comment 14
Comment 1 Grant Gayed CLA 2005-04-08 15:56:13 EDT
(The Toggle Mark Occurrences ToolItem demonstrates the behaviour)
Comment 2 Nick Edgar CLA 2005-05-06 10:07:59 EDT
Since the selection state can change independendently from the enablement state,
there should be no special logic to prevent selection from changing when the
action is disabled.

ActionContributionItem does have logic to only update the selection state if it
has actually changed though.