| Summary: | [Compatibility] presentation toolitems only enabled for first open editor | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | Paul Webster <pwebster> | ||||
| Component: | UI | Assignee: | Remy Suen <remy.suen> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | bokowski, remy.suen | ||||
| Version: | 1.0 | Flags: | pwebster:
review+
bokowski: review+ |
||||
| Target Milestone: | 1.0 RC3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Paul Webster
Created attachment 174876 [details]
Editor tool bar contribution patch v1
We were using the editor's context for its contributions. This is incorrect because there is only one editor action bar per workbench window. We should be scoping contributions at the editor's level.
Tool items were not getting rendered properly because it had no parent widget due to a flaw in the getUIContainer(MUIElement) implementation in ToolBarRenderer.
Looks good. PW Boris, I think we need to fix this in RC3 (the editor actions in the toolbar only work for the first editor of that type). PW (In reply to comment #1) > Created an attachment (id=174876) [details] > Editor tool bar contribution patch v1 Patch released to HEAD. Verified with I20100726-2152 on Windows XP. |