Revision f5832048
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/checklist/e4/FilterRowConfiguration.java | ||
---|---|---|
64 | 64 |
// Register a combo box editor to be displayed in the filter row |
65 | 65 |
// cell when a value is selected from the combo, the object is |
66 | 66 |
// converted to a string using the converter (registered below) |
67 |
|
|
67 |
StatusComboBoxDataProvider dataProvider; |
|
68 | 68 |
for (int i = 1; i <= editor.areas.size(); ++i) { |
69 |
dataProvider = new StatusComboBoxDataProvider(editor); |
|
69 | 70 |
configRegistry.registerConfigAttribute( |
70 | 71 |
EditConfigAttributes.CELL_EDITOR, |
71 |
new ComboBoxCellEditor(StatusComboBoxDataProvider.getValues()),
|
|
72 |
new ComboBoxCellEditor(dataProvider, dataProvider.getMaxVisibleItems()),
|
|
72 | 73 |
DisplayMode.NORMAL, |
73 | 74 |
FilterRowDataLayer.FILTER_ROW_COLUMN_LABEL_PREFIX + i); |
74 | 75 |
|
Also available in: Unified diff
ref #7854: changes in details view and supplemental data view need to result in dirty state of the distribution editor