setEditorAreaVisible(false) ignored when switching between perspectives [message #673836] |
Tue, 24 May 2011 17:51  |
Eclipse User |
|
|
|
If I have two perspectives, one with and one without an editor area (configured with layout.setEditorAreaVisible(b)), and I switch from the one without to the one with the editor area and back, the perspective without the editor area now also shows an editor area.
Before I file a bug: Has anyone else seen (or have an explanation for) this behavior?
Here's how I switch perspectives:
void setPerspective(IWorkbenchPage page, String perspectiveId) {
IPerspectiveRegistry registry = page.getWorkbenchWindow()
.getWorkbench().getPerspectiveRegistry();
page.setPerspective(registry.findPerspectiveWithId(perspectiveId));
}
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04957 seconds