Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Databinding custom cell editor
Databinding custom cell editor [message #656721] Mon, 28 February 2011 09:28
Marco Maccaferri is currently offline Marco MaccaferriFriend
Messages: 136
Registered: July 2009
Senior Member

I'm trying to use a custom cell editor with databinding. I wrote a
custom observable value for the cell editor that fires value change
events from an ICellEditorListener.applyEditorValue. The problem I'm
facing is that these notifications are completely ignored by the
framework. I added some debug outputs to the methods and I'm sure that
the fireValueChange method is called with the correct parameters. The
notifications are simply discarded, without errors. Why ?

The only way I found to get notifications is through a KeyListener added
to the cell editor, when the user hits RETURN the notification is fired
and the model updated correctly. Same observable value class, same cell
editor, same place where it is added, same notification, the KeyListener
works, the ICellEditorListener don't. This is driving me crazy!

Any suggestion ?

Previous Topic:ISelectionProvider and Proxy Objects
Next Topic:Clearing cached elements in virtual table
Goto Forum:

Current Time: Thu Jun 21 06:57:25 GMT 2018

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

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

Back to the top