Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 75557 - [Viewers] add table navigation like TableCursor into TableViewer
Summary: [Viewers] add table navigation like TableCursor into TableViewer
Status: RESOLVED DUPLICATE of bug 142655
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P4 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 82990 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-10-04 06:16 EDT by Michael Seele CLA
Modified: 2006-05-21 11:34 EDT (History)
3 users (show)

See Also:


Attachments
contribution from the newsgroup (7.40 KB, application/octet-stream)
2005-11-07 12:04 EST, Boris Bokowski CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Seele CLA 2004-10-04 06:16:49 EDT
please add tableNavigation like TableCursor in the simple swt-table into JFace
TableViewer!!!
Comment 1 Tod Creasey CLA 2004-10-04 11:03:19 EDT
If you have a suggested implementation feel free to append it to this Bug.
Comment 2 Tobias Weih CLA 2004-10-13 09:33:59 EDT
i finally managed coupling those two with CellEditors, spreadsheet-nav, blabla.

++ i uploaded the src: https://sourceforge.net/project/showfiles.php?
group_id=35889
check out the tableviewer-example.



problem left the TableCursor still receives KeyDowns and MouseEvents if a 
TableCellEditor is activated.
this has to be avoided since (i.e.) when navigating a ComboBoxCellEditor the 
TableCursor
should not move.


doing somthing like

 new MyTableCursor extends TableCursor {
     void keyDown(Event event) { ... }
     void tableMouseDown(Event event) { ... }
   ...       }  does not work since the methods are not overrideable.

a 'copy/paste-emulatation' of the TableCursor-constructor for setting different 
listeners is ugly, not
version-proof and (stupid me) not possible, since its not possible to call 
super.super() for Canvas.

so, the only chance I see is to reimplement full TableCursor by Copy&Paste. But 
thats not cool. 
Comment 3 Eddie Galvez CLA 2005-01-26 16:06:14 EST
Is this coming along soon? We have a commercial product that is in dire need 
of this support. Thank you!
Comment 4 Tod Creasey CLA 2005-05-19 11:35:15 EDT
*** Bug 82990 has been marked as a duplicate of this bug. ***
Comment 5 Boris Bokowski CLA 2005-11-07 12:04:29 EST
Created attachment 29444 [details]
contribution from the newsgroup

This class was posted on eclipse.platform by venkataramana on November 4, 2005
05:47. (Might have been originally posted on EclipseZone...)
Comment 6 Boris Bokowski CLA 2005-11-08 16:42:54 EST
There is overlap between this bug and bug 75114.
Comment 7 Thomas Schindl CLA 2006-05-20 09:20:22 EDT
(In reply to comment #6)
> There is overlap between this bug and bug 75114.
> 

This bug is resolved with the implemetation given in #142655 so I think it can be marked as duplicate and closed or do I miss the point?
Comment 8 Boris Bokowski CLA 2006-05-21 11:30:59 EDT

*** This bug has been marked as a duplicate of 142655 ***
Comment 9 Boris Bokowski CLA 2006-05-21 11:34:46 EDT
It seems that there are various proposals for this. To consolidate, I marked this bug as a duplicate of bug 142655 - if you would like to take part in the discussion, please cc yourself on bug 142655.