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: 132
Registered: July 2009
Senior Member
Hi,

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 ?

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


Current Time: Sun Dec 21 02:50:18 GMT 2014

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

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