Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problems with receiving SelectionChangedEvent notifications
Problems with receiving SelectionChangedEvent notifications [message #371522] Mon, 07 July 2003 11:58 Go to next message
Eclipse UserFriend
I create a TableTreeViewer and attach to it an ISelectionChangedListener.
Now when I select items in the table viewer with mouse or select items
using up and down arrows while holding Shift on the keyboard, the listener
receives notification events. But no event comes when I select all the
items in the table with the Ctrl-A keyboard shortcut. Looks like a bug in
TableTreeViewer?
Re: Problems with receiving SelectionChangedEvent notifications [message #464374 is a reply to message #371522] Tue, 22 November 2005 04:31 Go to previous message
Eclipse UserFriend
Askar Rahimberdiev wrote:
> I create a TableTreeViewer and attach to it an ISelectionChangedListener.
> Now when I select items in the table viewer with mouse or select items
> using up and down arrows while holding Shift on the keyboard, the listener
> receives notification events. But no event comes when I select all the
> items in the table with the Ctrl-A keyboard shortcut. Looks like a bug in
> TableTreeViewer?
>

Do a: ....getTable().notifyListeners(SWT.Selection, new Event());

after you called the ....getTable().selectAll();

regards,
Thomas
Previous Topic:how to the set color of a tree row ?
Next Topic:Apply GridData for button created by jface action
Goto Forum:
  


Current Time: Tue Jul 08 22:15:41 EDT 2025

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

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

Back to the top