Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 36230

Summary: [Viewers] new Table in 2.2 should *vastly* improve CellEditing
Product: [Eclipse Project] Platform Reporter: Paul E. Keyser <rolarenfan>
Component: UIAssignee: Boris Bokowski <bokowski>
Status: RESOLVED WORKSFORME QA Contact:
Severity: enhancement    
Priority: P3 CC: jqian, markus.kell.r
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Paul E. Keyser CLA 2003-04-08 13:22:24 EDT
Current Cell-editing technology (ICellModifier) is very hard for client code to 
use, and results in (literally) thousands of lines of client code as clients 
attempt to evade odd limitations of the existing framework.  It is positively 
the least pleasant client-coding experience within SWT. 

In particular it is difficult to: 

a) specify and use the different types of cell-editors (Text-, Checkbox-, and 
Combo-), each of which operates in subtly different ways with respect to 
ICellModifier's limited interface. 

b) arrange for user-friendly handling of things like ESC, Return, Tab, etc. 
during cell-editing 

c) update one's data-model from the cell-editor without running afoul of asynch 
updates from TableViewer 

d) sort Tables in the presence of CellEditing 

e) allow normal keyboard shortcuts in TextCellEditors (Ctrl-C/V/X, e.g., on 
WinDoze)
Comment 1 Nick Edgar CLA 2003-04-09 10:41:33 EDT
Note that cell editors are a JFace abstraction, not SWT, although some of the 
problems listed above arise due to SWT limitations.
Comment 2 Nick Edgar CLA 2006-03-15 11:47:40 EST
Reassigning bugs in component areas that are changing ownership.
Comment 3 Boris Bokowski CLA 2007-06-19 15:22:34 EDT
This has been addressed in 3.3. See the new org.eclipse.jface.snippets project for examples.
Comment 4 Paul E. Keyser CLA 2007-06-26 14:32:47 EDT
OK, so where do I find that project? (Also, migration to 3.3 doesn't work well for me: Bug 181787 -- so that'll have to be addressed before I can use this new feature.)