Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » NatTable » Getting the original Object from the cell?
Getting the original Object from the cell? [message #998787] Thu, 10 January 2013 12:49 Go to next message
Alex Kipling is currently offline Alex Kipling
Messages: 246
Registered: July 2012
Senior Member
I am building an ICellEditor for editing Dates.
Inside the activateCell() I would like to get the original Date.class object
(in order to initialize my Date Widget)

Can I somehow retreve the original Object (Before it was converted by IDisplayConverter) from the given Cell inside of ICellEditor's activateCell() method?
Re: Getting the original Object from the cell? [message #999141 is a reply to message #998787] Fri, 11 January 2013 07:41 Go to previous message
Alex Kipling is currently offline Alex Kipling
Messages: 246
Registered: July 2012
Senior Member
The cell Object is passed as a parameter "originalCanonicalValue" to the method
interface ICellEditor{

@Override
	protected Control activateCell(Composite parent,
			Object originalCanonicalValue, Character initialEditValue) {
..
}
Previous Topic:Questions about Nattable capabilities
Next Topic:Filter Row - set row height
Goto Forum:
  


Current Time: Fri Apr 18 04:04:57 EDT 2014

Powered by FUDForum. Page generated in 0.04021 seconds