Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Question about the tabbed properties view
Question about the tabbed properties view [message #1014821] Tue, 26 February 2013 09:27 Go to next message
Ted Mosby is currently offline Ted Mosby
Messages: 9
Registered: April 2012
Junior Member
Hi

I have a question about the tabbed properties view. Is there a way that the properties view response to a selection provided by
treeViewer.setSelection(ISelection selection, boolean reveal)
when the view in which the TreeViewer is embedded does NOT have the current focus?

Thank you!
Re: Question about the tabbed properties view [message #1021939 is a reply to message #1014821] Wed, 20 March 2013 20:22 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
Hi Ted,

I'm not sure. But it is obv not working for you. I wonder if you could fool
it by also firing that same selection from the part that does the call to
treeviewer.setselection?

Best regards,

Wim


> Hi
>
> I have a question about the tabbed properties view. Is there a way that the
properties view response to a selection provided by
treeViewer.setSelection(ISelection selection, boolean reveal) when the view
in which the TreeViewer is embedded does NOT have the current focus?
>
> Thank you!
Re: Question about the tabbed properties view [message #1022099 is a reply to message #1021939] Thu, 21 March 2013 05:20 Go to previous messageGo to next message
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
I don't think so.
The properties view is intended to be view for the active part.
So it's pointless to response to selection in other part's.
As soon as you switch to the part containing the treeviewer, it should change its contents accordingly.
Re: Re: Question about the tabbed properties view [message #1022740 is a reply to message #1022099] Fri, 22 March 2013 08:58 Go to previous message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
Can you hack it and call selectionChanged directly on the properties?


> I don't think so.
> The properties view is intended to be view for the active part.
> So it's pointless to response to selection in other part's.
> As soon as you switch to the part containing the treeviewer, it should
change its contents accordingly.
Previous Topic:How to open multiple workbench windows?
Next Topic:Only respond to Resource Change Events caused by external changes to a file
Goto Forum:
  


Current Time: Fri Aug 22 11:47:38 EDT 2014

Powered by FUDForum. Page generated in 0.01728 seconds