| Summary: | Need a way to activate an appropriate part that is a visible and rendered part of the presentation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Dean Roberts <dean.t.roberts> | ||||
| Component: | UI | Assignee: | Dean Roberts <dean.t.roberts> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | remy.suen | ||||
| Version: | 4.2 | ||||||
| Target Milestone: | 4.2 M3 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 340875 | ||||||
| Attachments: |
|
||||||
|
Description
Dean Roberts
After more discussion it seems this API will not give me all of what I need, and the parts it does give me are trivial and nobody else would need this API anyhow. Instead, we might achieve our desired results with a small change to the existing requestActivation() API. Currently this API will do nothing if the currently active part is in the windows part list, regardless of whether the active part is in the presentation or not. Since the fast view part stacks are never in the presentation, and arguably it does not make sense to activate a part that is not in the presentation fixing this API to only consider parts that are in the presentation will work and is likely more correct. Interestingly, the code that looks for a candidate in the activation history already only considers visible and rendered parts in the presentation. It is simply that the activation history is never consulted in cases where the currently active part is any part in the window. Created attachment 203087 [details]
Change to scope requestActivation to parts in the presentation
Pushed in >20110921. commit a3384757e11ae898cac097a6fae7636dc94d99ac Verified on I20111014-1625 |