Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » TableViewer contributing to TabbedPropertysheetPage
TableViewer contributing to TabbedPropertysheetPage [message #331370] Wed, 03 September 2008 17:28 Go to next message
Eclipse UserFriend
Originally posted by: andreas-scharf.gmx.de

Hi,

I have some trouble with my TabbedPropertySheetPage. I have a an own
view which contains a TableViewer. My view is asked for an
IPropertySheetPage via getAdapter() and I return such a
PropertySheetPage. But selectionChanged() is never called on the
propertySheetPage which is why I can't see any properties :).

How do I forward the the selectionChanged events from my TableViewer to
my PropertySheetPage?

Cheers,
Andreas
Re: TableViewer contributing to TabbedPropertysheetPage [message #331386 is a reply to message #331370] Thu, 04 September 2008 08:49 Go to previous message
Eclipse UserFriend
Originally posted by: andreas-scharf.gmx.de

Hi,

I sovled the problem myself. For those who are interested: The real
problem is, that a site can only have one SelectionProvider at one time.
So you need a SelectionProviderMediator which acts as an adapter from
multiple views (which are selectionProviders) to one single
SelectionProvider.

see also:
http://www.eclipse.org/articles/Article-WorkbenchSelections/ article.html

Cheers,
Andreas

Andreas Scharf schrieb:
> Hi,
>
> I have some trouble with my TabbedPropertySheetPage. I have a an own
> view which contains a TableViewer. My view is asked for an
> IPropertySheetPage via getAdapter() and I return such a
> PropertySheetPage. But selectionChanged() is never called on the
> propertySheetPage which is why I can't see any properties :).
>
> How do I forward the the selectionChanged events from my TableViewer to
> my PropertySheetPage?
>
> Cheers,
> Andreas
Previous Topic:Show Heap Status without preferences
Next Topic:Retarget MoveResourceAction & RenameResourceAction
Goto Forum:
  


Current Time: Tue Jul 16 11:46:22 GMT 2024

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

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

Back to the top