Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » selectionChanged didn't called ?
selectionChanged didn't called ? [message #444095] Thu, 09 February 2006 09:32 Go to next message
Eclipse UserFriend
Hi there!

I have a view which contains a TableViewer.
Some Actions are added to this view (view toolbar).

When I select a row in the TableViewer, the selectionChanged of my
Actions is not called. It is called only when the action is triggered
but the selection (ISelection) is always empty.

I think I need to "connect" my TableViewer and my view to catch
selections of the TableViewer in the actions. (I'm not really sure about
this.)

Does anybody have an idea of what is my problem ?

David
Re: selectionChanged didn't called ? [message #444116 is a reply to message #444095] Thu, 09 February 2006 22:50 Go to previous messageGo to next message
Eclipse UserFriend
This link will help you.(Read the ISelectionListener)


http://www-128.ibm.com/developerworks/java/library/os-ecllin k/
Re: selectionChanged didn't called ? [message #444164 is a reply to message #444116] Fri, 10 February 2006 02:53 Go to previous message
Eclipse UserFriend
Thank you !
it was getSite().setSelectionProvider(ISelectionProvider provider) where
"provider" is the JFace Viewer.



Rohit wrote:
> This link will help you.(Read the ISelectionListener)
>
>
> http://www-128.ibm.com/developerworks/java/library/os-ecllin k/
Previous Topic:Multiple views with single Model
Next Topic:Feature-based application export
Goto Forum:
  


Current Time: Sun Jul 13 08:21:47 EDT 2025

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

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

Back to the top