Error in opening perspective [message #258599] |
Tue, 06 July 2004 03:59 |
Eclipse User |
|
|
|
Originally posted by: deepesh.jain.ugsplm.com
Hi All,
I have made a custom perspective and have added the cheat sheet view to it.
I am getting the following error when I open the perspective:
Part already exists in page layout:
org.eclipse.ui.cheatsheets.views.CheatSheetView.
Following is the code:
/*****************************************************/
public void defineLayout(IPageLayout layout)
{
String editorArea = layout.getEditorArea();
layout.setEditorAreaVisible(false);
IFolderLayout right = layout.createFolder("right",
IPageLayout.TOP, 0.80f, editorArea); //$NON-NLS-1$
right.addView("org.eclipse.ui.cheatsheets.views.CheatSheetView ");
}
/*****************************************************/
Any inputs to solve the error coming in the console.
Thanks,
Deepesh
|
|
|
Powered by
FUDForum. Page generated in 0.02631 seconds