How to add PropertySheet to RCP application? [message #461087] |
Thu, 04 January 2007 20:05  |
Eclipse User |
|
|
|
Originally posted by: zjg.robin.gmail.com
Hi,
In my RCP application, I want to use the PropertySheet, first, I wrote the following code in my Perspective class:
public void createInitialLayout(IPageLayout layout) {
layout.setEditorAreaVisible(true);
IFolderLayout right = layout.createFolder("right", IPageLayout.RIGHT, 0.29f, layout.getEditorArea());
right.addView("org.eclipse.ui.views.properties.PropertySheet ");
}
when it launchs, an exception occurs:
Exception in org.eclipse.ui.internal.FolderLayout.addView(String): org.eclipse.ui.PartInitException: View descriptor not found: org.eclipse.ui.views.properties.PropertySheet
Reason:
Exception in org.eclipse.ui.internal.FolderLayout.addView(String): org.eclipse.ui.PartInitException: View descriptor not found: org.eclipse.ui.views.properties.PropertySheet
So, I think I need to declare that I need the org.eclipse.ui.views, so, I add it in the dependencies page and try again, but this time it even can not launch.
I guess I should declare the views extension in the extensions page, so I did, but in vain.
I am confusing, how to use the propertySheet?
Thanks. Robin
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03525 seconds