Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to add a Properties View in my RCP
How to add a Properties View in my RCP [message #331941] Tue, 30 September 2008 05:48 Go to next message
Eclipse UserFriend
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.
Re: How to add a Properties View in my RCP [message #331943 is a reply to message #331941] Tue, 30 September 2008 06:52 Go to previous message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

Just a guess: The PropertySheet is defined in the org.eclipse.ui.views
plug-in. Your RCP app must include this plug-in to display a
PropertySheet.


Achim
--
Achim Lörke

Eclipse-Stammtisch in the Braunschweig, Germany area:
http://www.bredex.de/de/news/events.html


Achim Lörke

Previous Topic:Problem updating Ganymede SR1 Modeling version on XP
Next Topic:Java Profiling using Eclipse TPTP
Goto Forum:
  


Current Time: Thu Jul 18 03:38:44 GMT 2024

Powered by FUDForum. Page generated in 0.03920 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top