|
|
Re: ComboBoxCellEditor List (Selection) [message #1232327 is a reply to message #1232325] |
Thu, 16 January 2014 17:42 |
prototyp 144 Messages: 6 Registered: January 2014 |
Junior Member |
|
|
This is the code where i define them. The provider only reimplements 'getValues()' which returns a list.
I have no multiple selection and no check boxes within these combo boxes.
configRegistry.registerConfigAttribute(CellConfigAttributes.CELL_PAINTER, new ComboBoxPainter(),
DisplayMode.SELECT, COMBO_BOX_CONFIG_LABEL);
ComboBoxCellEditor comboBoxCellEditor = new ComboBoxCellEditor(new CSMComboBoxDataProvider(), 10);
configRegistry.registerConfigAttribute(EditConfigAttributes.CELL_EDITOR, comboBoxCellEditor,
DisplayMode.SELECT, COMBO_BOX_EDITOR_CONFIG_LABEL);
configRegistry.registerConfigAttribute(EditConfigAttributes.CELL_EDITOR, comboBoxCellEditor, DisplayMode.EDIT,
COMBO_BOX_EDITOR_CONFIG_LABEL);
configRegistry.registerConfigAttribute(EditConfigAttributes.CELL_EDITABLE_RULE, getEditRule(),
DisplayMode.EDIT, COMBO_BOX_CONFIG_LABEL);
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03472 seconds