|
Re: when using setSaveAndRestore() the application always show the editor area [message #832747 is a reply to message #832650] |
Fri, 30 March 2012 14:36 |
Luiz E. Messages: 100 Registered: September 2010 |
Senior Member |
|
|
I debugged the application, and I saw something weird...
My `Perspective` class is like this
public void createInitialLayout(IPageLayout layout) {
IPartService partService = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getPartService();
partService.addPartListener(new PerspectiveListenerAdapter());
this.layout = layout;
String editorAreaId = layout.getEditorArea();
layout.createPlaceholderFolder(FI_TOP, IPageLayout.TOP, ratioTop, editorAreaId);
layout.createPlaceholderFolder(FI_BOTTOM, IPageLayout.BOTTOM, ratioBottom, editorAreaId);
layout.setEditorAreaVisible(false);
}
but, when i set `setSaveAndRestore` to true, the Application doesn't hit `createInitialLayout`
is this a bug?
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.01732 seconds