Skip to main content


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 17:49 Go to next message
Alex Kipling is currently offline Alex KiplingFriend
Messages: 260
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 12:41 Go to previous message
Alex Kipling is currently offline Alex KiplingFriend
Messages: 260
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:NatTable Developing
Next Topic:Filter Row - set row height
Goto Forum:
  


Current Time: Wed Apr 24 23:48:20 GMT 2024

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

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

Back to the top