Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Get current selections
Get current selections [message #976656] Thu, 08 November 2012 19:04 Go to next message
Rashmy A is currently offline Rashmy AFriend
Messages: 149
Registered: July 2009
Senior Member
Hello,
What is a good way to know the current selections in NatTable?
I'm in a command handler that does not have access to the selection layer.

Thanks,
Rashmy
Re: Get current selections [message #977346 is a reply to message #976656] Fri, 09 November 2012 07:56 Go to previous message
Dirk Fauth is currently offline Dirk FauthFriend
Messages: 1407
Registered: July 2012
Senior Member
Hi,

if you need to access the current selection, you should let your command handler know about the SelectionLayer. The only other solution is, if you are using row selection behaviour, you can use the SelectionLayer as an Eclipse selection provider. But this only works with the RowSelectionModel.

Greez,
Dirk
Previous Topic:Nattable builder extension
Next Topic:Can't compile the nattable examples
Goto Forum:
  


Current Time: Thu Nov 27 04:42:25 GMT 2014

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

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