Bug 264828 - TableCursor keyboard navigation behaviour cannot be modified
Summary: TableCursor keyboard navigation behaviour cannot be modified
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-13 06:44 EST by Justin Dolezy CLA
Modified: 2019-09-06 16:10 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.