Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330931 - [Compatibility] IWorkbenchPage's getSortedPerspectives() may not be updated if perspective is set from the model
Summary: [Compatibility] IWorkbenchPage's getSortedPerspectives() may not be updated i...
Status: VERIFIED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1 M4   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 10:41 EST by Remy Suen CLA
Modified: 2010-12-07 12:36 EST (History)
0 users

See Also:


Attachments
WorkbenchPage patch v1 (1.26 KB, patch)
2010-11-23 10:44 EST, Remy Suen CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-11-23 10:41:57 EST
We should use an event handler to update the list instead of relying on the call to setPerspective(IPerspectiveDescriptor).
Comment 1 Remy Suen CLA 2010-11-23 10:44:28 EST
Created attachment 183676 [details]
WorkbenchPage patch v1
Comment 2 Remy Suen CLA 2010-11-23 10:45:05 EST
Fixed in CVS HEAD.
Comment 3 Remy Suen CLA 2010-12-07 12:36:09 EST
Verified with I20101207-0250 on Windows XP.