Summary: | [Viewers] ColorCellEditor is displayed instead of TextCellEditor | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Ole Laurisch <Ole.Laurisch> |
Component: | UI | Assignee: | Platform UI Triaged <platform-ui-triaged> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | Keywords: | needinfo |
Version: | 2.1.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Ole Laurisch
2004-10-26 06:53:36 EDT
Can you give a small code example showing this problem? This code example should show the problem. Integrate this in any dialog with a TableViewer. The CellModifier need probably not to been implemented with any reasonable code. private static final String[] PROPS = { A, B, C, D}; Tableviewer myTableViewer= new TableViewer(myTable); myTableViewer.setColumnProperties(PROPS); myTableViewer.setCellModifier( new MyCellModifier(this, myTableViewer)); CellEditor[] editors = new CellEditor[4]; editors[1] = new TextCellEditor(myTable); editors[2] = new TextCellEditor(myTable); editors[3] = new ColorCellEditor(myTable); myTableViewer.setCellEditors(editors); addTableListener(myTable); Moving to UI team since code sample is all JFace code. Ole, I notice that your eclipse version is 2.1.1. Please try with 3.0. Is this still a problem in 3.3? Hitesh is now responsible for watching bugs in the [Viewers] component area. This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |