Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » use PropertySheet with own Editor
use PropertySheet with own Editor [message #435344] Mon, 15 August 2005 14:40 Go to next message
sakae is currently offline sakaeFriend
Messages: 21
Registered: July 2009
Junior Member
Hi all,

I am having difficulty with associating my own editor with PropertySheet.

My editor holds a Composite which can hold one to many Composites.
Every time user select a composite, I would like Property Sheet to show
its properties.

Do anyone know how to associate own Editor with PropertySheet ?
Re: use PropertySheet with own Editor [message #435599 is a reply to message #435344] Fri, 19 August 2005 07:58 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
PropertySheets are configured when the selection changes in the workspace, and the selected item supports the IPropertySource, then they will be displayed in the Properties View.

So, you need to (a) provide a IPropertySource for your composite(s) (so that it knows which properties to display) and (b) ensure that the selection is being tracked by the Workspace (which it might not if you're rolling your own nested hierarchies).

There's an article on Eclipse about writing properties views at http://www.eclipse.org/articles/Article-Properties-View/prop erties-view.html
Previous Topic:how to programmatically move a view from a folder to another one
Next Topic:Concurrent Jobs?
Goto Forum:
  


Current Time: Sat Dec 07 02:35:00 GMT 2024

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

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

Back to the top