Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » MultiPageEditorPart and properties view
MultiPageEditorPart and properties view [message #57653] Fri, 29 September 2006 18:03
Eclipse UserFriend
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
Previous Topic:How to set the lenght and width of different elemets in gmf
Next Topic:Click on one, insert in another
Goto Forum:
  


Current Time: Fri Jul 19 05:24:23 GMT 2024

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

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

Back to the top