Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsIContributedContentsView and TabbedPropertyView
https://www.eclipse.org/forums/index.php/mv/msg/439994/985413/#msg_985413
I'm wondering how is the IContributedContentsView supposed to work.
Looking at the PropertySheet view, it tries to adapt the active part to this interface and when it's adaptable,
it shows the page registered for its contributing part. But at the same time it sets the active part's selection
(I would expect to set the contributing part's selection) to its active IPropertySheetPage.
What does it mean in a an example:
I would like to show a tabbed properties
I have an editor contributing some tabs and sections to the tabbed properties
The editor also contibutes some content to the outline view
I would like to have the same tabbed properties when I click into the outline view as when I click into the editor
Now when I select something in the editor, it works fine, but when I click on the outline view,
the property sheet view adapts the active part (outline view) to the IContributedContentsView and shows a page
registered to the contributing part which is the editor - in the property sheet is still shown the tabbed properties page, so far so good.
The problem is, that the property sheet view sets an empty selection to the tabbed property page (Outline view doesn't have any selection),
which in turns erase the tabbed property page (because any section accept the empty selection).
I would expect the property sheet to set selection from the contributing part it gets adapting the active part.
Is there a workaround to this?
Thanks]]>Jan Krakora2012-11-15T11:25:09-00:00Re: IContributedContentsView and TabbedPropertyView
https://www.eclipse.org/forums/index.php/mv/msg/439994/985647/#msg_985647
Jan Krakora2012-11-15T15:24:12-00:00