Skip to main content


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 14:27 Go to next message
Ted Mosby is currently offline Ted MosbyFriend
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] Thu, 21 March 2013 00:22 Go to previous messageGo to next message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
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 09:20 Go to previous messageGo to next message
Jan Krakora is currently offline Jan KrakoraFriend
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 12:58 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 423
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: Tue Mar 19 08:46:34 GMT 2024

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

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

Back to the top