Bug 112057 - [Viewers] [CellEditors] cannot update values of ComboBoxCellEditor from model when activated
Summary: [Viewers] [CellEditors] cannot update values of ComboBoxCellEditor from model...
Status: RESOLVED DUPLICATE of bug 70800
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Boris Bokowski CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2005-10-09 10:53 EDT by Brad Reynolds CLA
Modified: 2005-11-11 11:45 EST (History)
1 user (show)

See Also:


Attachments

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