Spreadsheet-like cell Editor problem [message #756202] |
Fri, 11 November 2011 13:23 |
Nicolas Messages: 23 Registered: October 2011 |
Junior Member |
|
|
Hi, i have a table/tableViewer with 18 columns.
I created a TableCursor for that table.
I also created a ColumnViewerEditorActivationListener ( folllowing topic http://www.eclipse.org/forums/index.php/mv/msg/165436/631971/#msg_631971)
And I see, with the debug and log, that the keypad number is correctly listened by this method : afterEditorActivated
And also I get the eventType and the keyCode values, but somewhere in the middle I lost the event.charcater value.
What I wont (need) is that when the user press a number, from numeric pad key or numbers in the main keyboard, activate the editor, show the text field, and show and selected the number that triggers the editor.
I'm still confussed about table/tableViewer tablecolumn/column viewer, editors, etc, etc, but i'm following Lars Voeguel tutorials and of course eclipse tutorial.
I will upload some files, to let someone of you check what is wrong or missing.
I'm developing with eclipse 3.7, java 1.5 (yes not 1.6).
Also very confused with Jface/SWT/AWT, etc ...
Best regards.
|
|
|
Powered by
FUDForum. Page generated in 0.02698 seconds