MultiPageEditorPart and properties view [message #57653] |
Fri, 29 September 2006 18:03 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: jliu.parasoft.com
Hello All,
I been trying to connection a editor that implements MuliPageEditorPart
to send name/value pairs information to the properties view on
selection change. Within this MuliPageEditorPart, I have a TreeView
which I set as the selectionProvider by doing:
getSite().setSelectionProvider(treeviewer);
Then I implemented getAdaptor() in the editor to return a
IPropertySource implementation. Now, After all that is done, the
getAdapter() method never seems to get called with the
IPropertySource.class parameter.
I did all of this based on the "Take control of your properties" from
http://www.eclipse.org/articles/Article-Properties-View/prop erties-view.html
Is there anything else that I need to do?
I tested the TreeView by adding a ISelectionChangedListener. It fires
every time that I made a selection change so I know the events are coming.
Any help would be greatly appreciated.
Jason Liu
|
|
|
Powered by
FUDForum. Page generated in 0.03145 seconds