Bug 264828

Summary: TableCursor keyboard navigation behaviour cannot be modified
Product: [Eclipse Project] Platform Reporter: Justin Dolezy <justin.dolezy>
Component: SWTAssignee: Felipe Heidrich <eclipse.felipe>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe, steve_northover
Version: 3.4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Justin Dolezy CLA 2009-02-13 06:44:11 EST
Build ID: M20080911-1700

Steps To Reproduce:
1. Try to modify keyboard navigation by adding a KeyListener
2. TableCursor's own KeyListener still active, gets in the way
3. Subclassing TableCursor no use as keyDown() is package protected


More information:
I need to change a table's keyboard navigation so that it matches another trading app the clients have been using. The Home & End keys need to be changed to go to the first/last column rather that first/last row as TableCursor currently does.

However to achieve this I need to copy/paste the whole of TableCursor just to change two lines.

Can TableCursor be refactored to make this kind of modifaction easier? eg making keyPressed protected, or refactoring each of the case statements to their own protected method, eg keyEndPressed(), etc.
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:10:31 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.