Reset Perspective when Eclipse closes [message #656126] |
Thu, 24 February 2011 10:07 |
Pieter Messages: 2 Registered: February 2011 |
Junior Member |
|
|
I wrote a plug-in for Eclipse which is a perspective with some views. I'm having problems resetting the perspective when closing Eclipse. I got to the point where I can release all the things on the views and hide the the views but when you start Eclipse again the views which I hid is back. How do I get the perspective to reset when the user closes Eclipse ?
Info about my perspective :
IFolderLayout topleft = pLayout.createFolder(TOPLEFT,IPageLayout.LEFT,0.25f,
pLayout.getEditorArea());
topleft.addView(View1_ID);
//Bottom left
IFolderLayout leftbot = pLayout.createFolder(LEFTBOTTOM,IPageLayout.BOTTOM,0.50f,
TOPLEFT);
leftbot.addPlaceholder(SchemaVieW_ID+":viewSecondaryID*");
//leftbot.addView(View2_ID);
IFolderLayout bottom = pLayout.createFolder(BOTTOM,IPageLayout.BOTTOM,0.50f,
pLayout.getEditorArea());
bottom.addPlaceholder(View3_ID);
bottom.addPlaceholder(View4_ID);
bottom.addPlaceholder(View5_ID);
|
|
|
|
Powered by
FUDForum. Page generated in 0.04061 seconds