Reset Perspective when Eclipse closes [message #656126] |
Thu, 24 February 2011 05:07  |
Eclipse User |
|
|
|
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);
|
|
|
Re: Reset Perspective when Eclipse closes [message #657585 is a reply to message #656126] |
Thu, 03 March 2011 06:24  |
Eclipse User |
|
|
|
Where can I ask so something can be built into the next eclipse so I can do what I asked ? Even if an event called BeforeClosePerspective can be built into eclipse which fires before the perspective start closing so I can reset it ?
Or some way that I can stop Eclipse from saving the perspective current layout ?
|
|
|
Powered by
FUDForum. Page generated in 0.07834 seconds