Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problems with receiving SelectionChangedEvent notifications
Problems with receiving SelectionChangedEvent notifications [message #371522] Mon, 07 July 2003 15:58 Go to next message
Askar Rahimberdiev is currently offline Askar RahimberdievFriend
Messages: 1
Registered: July 2009
Junior Member
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 09:31 Go to previous message
Thomas Tolborg is currently offline Thomas TolborgFriend
Messages: 20
Registered: July 2009
Junior Member
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 Apr 23 11:54:12 GMT 2024

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

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

Back to the top