Bug 112057

Summary: [Viewers] [CellEditors] cannot update values of ComboBoxCellEditor from model when activated
Product: [Eclipse Project] Platform Reporter: Brad Reynolds <bradleyjames>
Component: UIAssignee: Boris Bokowski <bokowski>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: emoffatt
Version: 3.1.1Keywords: investigate
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Brad Reynolds CLA 2005-10-09 10:53:24 EDT
Two common requests that I hear when using editors in the TableViewer that
aren't possible today are:
* Ability to change the values of the ComboBoxCellEditor before it's displayed
depending upon data in the model.
* Ability to define editors at the cell level and not just column level.

In my own viewer I allow this by proving an implementation of an
IEditorProvider.  It has one method and to it I pass the column defined editor,
the element, and the property.  I call this before activating the editor and the
consumer can return any type of editor that they please.  I then use the
provided editor for the editing of the cell.  This seems to satisfy the 2 use
cases defined above.
Comment 1 Boris Bokowski CLA 2005-11-09 17:36:14 EST
These are really two separate issues. Since there already is another bug (bug
113713) that tracks the issue of being able to define cell editors at the cell
level, this one should focus on the ComboBoxCellEditor issue. I updated the
summary accordingly.
Comment 2 Boris Bokowski CLA 2005-11-11 11:45:13 EST

*** This bug has been marked as a duplicate of 70800 ***