Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330944 - [Compatibility] IWorkbenchPage's setEditorAreaVisible(boolean) and isEditorAreaVisible() methods are unimplemented
Summary: [Compatibility] IWorkbenchPage's setEditorAreaVisible(boolean) and isEditorAr...
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 M5   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-23 12:23 EST by Remy Suen CLA
Modified: 2011-01-26 09:09 EST (History)
1 user (show)

See Also:


Attachments
WorkbenchPage patch v2 (1.65 KB, patch)
2011-01-18 13:41 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 12:23:49 EST
SSIA
Comment 1 Remy Suen CLA 2010-11-23 12:48:23 EST
Unrendering the shared area works if there are multiple perspectives but attempting to do so if there's only a single perspective will cause all of its child elements to be unrendered (as there aren't any other rendered placeholders pointing at the shared area).
Comment 2 Remy Suen CLA 2010-11-23 18:11:12 EST
(In reply to comment #1)
> Unrendering the shared area works if there are multiple perspectives but
> attempting to do so if there's only a single perspective will cause all of its
> child elements to be unrendered (as there aren't any other rendered
> placeholders pointing at the shared area).

Eric, did you have something in mind for this kind of model manipulation?
Comment 3 Remy Suen CLA 2011-01-18 13:41:09 EST
Created attachment 187035 [details]
WorkbenchPage patch v2

I talked to Eric yesterday and the solution is to use MUIElement's setVisible(boolean) method.
Comment 4 Remy Suen CLA 2011-01-19 11:18:03 EST
Fix has been released to HEAD.
Comment 5 Remy Suen CLA 2011-01-26 09:09:40 EST
Verified by source inspection with I20110125-2200 on Windows XP that the code changes are there.