Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » selectionChanged listener not getting called when View is minimized
selectionChanged listener not getting called when View is minimized [message #556914] Fri, 03 September 2010 07:14 Go to next message
Nikita is currently offline NikitaFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

I have 2 RCP Views, one containing a JFace TreeViewer (Navigator View) and
the other containting a JFace TableViewer (Metadata View). Based on the
selection made in the tree in the Navigator View, the contents of my table
in the Metadata View should get refreshed. This is done by implementing the
selectionChanged listener in the Metadata View.

Now my problem is that if I progrmatically change the selection in my tree
while the Navigator View is in the minimized state, the selectionChanged
listener of the Metadata View does not get called and its contents do not
get refreshed. This, however, works fine if my Navigator View is not
minimized.

Does anyone have a solution to this? How can I ensure that the contents of
my Metadata View get refreshed even if the selection in the tree is changed
programatically while the Navigator View is minimized?

Thanks and regards,
Nikita
Re: selectionChanged listener not getting called when View is minimized [message #556984 is a reply to message #556914] Fri, 03 September 2010 13:56 Go to previous message
eshvar60  is currently offline eshvar60 Friend
Messages: 51
Registered: March 2010
Member
Not sure about this but perhaps you need to fire an propertyChangeEvent after you change the selection programatically?
Previous Topic:Import a plugin,Then how to disable the plugin's menu,view etc.
Next Topic:Toolbar item's not visible in addition menu (>>) of toolbar
Goto Forum:
  


Current Time: Fri Dec 19 12:30:46 GMT 2014

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

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