| Summary: | [ActionSets] Problems using actionSetPartAssociations | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dirk Baeumer <dirk_baeumer> |
| Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | major | ||
| Priority: | P5 | CC: | erich_gamma, mistria, n.a.edgar, pchaganti |
| Version: | 2.0 | Keywords: | helpwanted |
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 2000 | ||
| Whiteboard: | |||
| Bug Depends on: | 35168 | ||
| Bug Blocks: | |||
|
Description
Dirk Baeumer
The problem is that as soon as you use the customize dialog to enable or
disable an action set you can't reset the action set into a state that the part-
action set association is used. Steps to reproduce:
- create a fresh workspace
- switch to Java prespective
- disable Java action set
- give focus to Java part (e.g package view)
observe: Source and Refactor menu are still missing although there is a
view part - action set association.
We thought about letting the user deceide whether the Source and Refactor is
active for all views in a Java perspective or only if a Java view part or
editor is selected.
Expected behaviour:
- use a combo box with three states (enabled, disabled, honor part-action set
association) instead of a check box
A simple solution whould be:
- if action set is unchecked the workbench honors the part-action set
association
Note that Reset Perspective gets the part associations back. Defer work on better perspective custimization dialog Reopen to investigate For the two strange cases noted above for - focus on task list: action set visible <== ?? The first case occurs because actions sets associated with an editor remain visible as long as the editor is frontmost (even if it is not active). This is desirable for UI stability when switching between views and editors. The second case sounds like a bug, but I cannot reproduce it in I20021119. So the only remaining issue here is being able to recover the dynamic part association behaviour after the user explicitly turns an action set on or off. *** Bug 76550 has been marked as a duplicate of this bug. *** Assigning to component owner PW actionSetPartAssociations have been deprecated in favor of the org.eclipse.ui.commands/org.eclipse.ui.menus extensions. No more work will be planned on deprecated extensions. |