|Problem with ColumnViewerEditorActivationListener in a TableViewer [message #508531]
||Tue, 19 January 2010 10:37
| Arne Jans
Registered: December 2009
I want to use a ColumnViewerEditorActivationListener to catch the event beforeEditorActivated for a TableViewer-Cell. This listener is connected to the ColumnViewerEditor in the constructor of my EditingSupport-class. But "beforeEditorActivated" is never called, because the ListenerList editorActivationListener in ColumnViewerEditor is null!
If I attach the ColumnViewerEditorActivationListener in my EditingSupport.initializeCellEditorValue-method, I can atleast catch the events afterEditorActivated and afterEditorDeactivated, but thats too late, I need to catch the event beforeEditorActivated too.
What could be the cause of it? Am I doing something wrong? Where is the right place to attach the ColumnViewerEditorActivationListener to the ColumnViewerEditor?
Powered by FUDForum
. Page generated in 0.01787 seconds