How to add a Properties View in my RCP [message #256688] |
Tue, 30 September 2008 05:49 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: biteclipser.sina.com.cn
Hi,
I am new to RCP,I want to add a Properties View in my RCP,my target is
to want the view's display effect is the same as the Eclipse stardard
Properties View,you can find it at Window->Show
View->Other..->General->Properties.
That is,the view has a Name "Properties",and Property and Value column
Headers ,and also the view toolbar.
I add a code in my Perspective.java:
IFolderLayout bottom = IPageLayout.createFolder("bottomRight",
IPageLayout.BOTTOM, 0.70f, IPageLayout.getEditorArea());
bottom.addView(IPageLayout.ID_PROP_SHEET);
but i get only a grey area like a newly created view,not the predefined
Properties View in eclipse.
would you please try in eclipse and tell me how to add a stardard
Propertivies View in RCP.
|
|
|
Powered by
FUDForum. Page generated in 0.03097 seconds