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

Bug 1820

Summary: [Viewers] Very hard to implement row-based cell editing (1G9ODD7)
Product: [Eclipse Project] Platform Reporter: Dejan Glozic <dejan>
Component: UIAssignee: Kevin Haaland <Kevin_Haaland>
Status: RESOLVED WONTFIX QA Contact:
Severity: enhancement    
Priority: P4 Keywords: investigate
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Windows All   
Whiteboard:

Description Dejan Glozic CLA 2001-10-10 22:19:55 EDT
The platform now allows custom property sheet views linked to the active editor in the similar way to
outline view. However, TableViewer API has been simultaneously changed to make this almost
impossible. 

In the old code, column-related objects (modifiers, cell editors etc.) were grouped into
viewer table column objects. It was good and it was object-oriented. The new code
scattered that functionality into several method calls (setCellEditors, setProperties etc.).
In addition to being a step back (IMHO) because it brings us back into the age of C language,
it made it impossible to override 'activateCellEditor' on the column and provide
row-specific cell editors. 

NOTES:
Comment 1 DJ Houghton CLA 2001-10-24 06:47:00 EDT
PRODUCT VERSION:

VAME022

Comment 2 Kevin Haaland CLA 2002-01-21 19:12:33 EST
There are no plans to change the current API in this development cycle. 
Comment 3 Randy Giffen CLA 2002-08-01 11:43:13 EDT
Reopened for investigation. 

Dejan if you have any more specific requests about changes to TableViewer API, 
it would be helpful.
Comment 4 Dejan Glozic CLA 2002-08-01 15:56:30 EDT
This is a very old defect. I opened it because I needed a property sheet-like 
behaviour in a dialog. Since I opened it, I managed to use the actual property 
sheet component (and use property descriptors) so I don't need this any more. 
You are free to close the defect (although I am still less than 100% happy with 
the column-related calls described above).
Comment 5 Kevin Haaland CLA 2002-08-29 17:37:08 EDT
Closing based on reporters comments.