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 14:04 Go to next message
Rashmy A is currently offline Rashmy A
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 02:56 Go to previous message
Dirk Fauth is currently offline Dirk Fauth
Messages: 1066
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: Sun Apr 20 18:15:05 EDT 2014

Powered by FUDForum. Page generated in 0.13469 seconds