| [news.eclipse.platform.rcp] Re: Linking TreeViewer etc. to the PropertiesView |
Nick
Rob Bercik wrote:
Hi,
I am trying to display properties in the properties view in an RCP application. I would assume that you need to set the properties view as a listener to selection changes, but the PropertyBook view implements the ISelectionListener interface and the Viewer classes only have an addSelectionChangedListener. What am I missing?
Thanks, Rob
I think you want your viewer to be an ISelectionProvider so the properties view can pick up the viewer selection.
getSite().setSelectionProvider(viewer);
- Steve