Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Problem with ColumnViewerEditorActivationListener in a TableViewer(beforeEditorActivated is never called)
Problem with ColumnViewerEditorActivationListener in a TableViewer [message #508531] Tue, 19 January 2010 10:37
Arne Jans is currently offline Arne JansFriend
Messages: 9
Registered: December 2009
Junior Member
Hello everybody,

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?


Regards,

Arne jans
Previous Topic:Click on marker in Problems View jumps to different marker
Next Topic:Customizing Traverse-keys for ColumnViewerEditor
Goto Forum:
  


Current Time: Sun Nov 23 20:20:45 GMT 2014

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

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