public interface EditConfigAttributes
Modifier and Type | Field and Description |
---|---|
static ConfigAttribute<IEditableRule> |
CELL_EDITABLE_RULE
The configuration attribute for the
IEditableRule that is used to determine
whether a cell is editable or not. |
static ConfigAttribute<ICellEditor> |
CELL_EDITOR
The configuration attribute for the
ICellEditor that should be used for editing
a cell value. |
static ConfigAttribute<IEditErrorHandler> |
CONVERSION_ERROR_HANDLER
The configuration attribute for the
IEditErrorHandler that should be used for conversion failure
handling. |
static ConfigAttribute<IStyle> |
CONVERSION_ERROR_STYLE
The configuration attribute for the style that should be used on just in time conversion error
rendering within an editor control.
|
static ConfigAttribute<IDataValidator> |
DATA_VALIDATOR
The configuration attribute to register the
IDataValidator that should be used for
validation if a value is committed by an editor. |
static ConfigAttribute<Map<String,Object>> |
EDIT_DIALOG_SETTINGS
The configuration attribute to specify custom dialog settings for edit dialogs.
|
static ConfigAttribute<Boolean> |
OPEN_ADJACENT_EDITOR
The configuration attribute to specify behaviour after committing a value inline.
|
static ConfigAttribute<Boolean> |
OPEN_IN_DIALOG
The configuration attribute to specify if cell editors should be opened inline or in a dialog.
|
static ConfigAttribute<Boolean> |
SUPPORT_MULTI_EDIT
The configuration attribute to specify whether an editor supports multi edit behaviour or not.
|
static ConfigAttribute<IEditErrorHandler> |
VALIDATION_ERROR_HANDLER
The configuration attribute for the
IEditErrorHandler that should be used for validation failure
handling. |
static ConfigAttribute<IStyle> |
VALIDATION_ERROR_STYLE
The configuration attribute for the style that should be used on just in time validation error
rendering within an editor control.
|
static final ConfigAttribute<IEditableRule> CELL_EDITABLE_RULE
IEditableRule
that is used to determine
whether a cell is editable or not.static final ConfigAttribute<ICellEditor> CELL_EDITOR
ICellEditor
that should be used for editing
a cell value.static final ConfigAttribute<IDataValidator> DATA_VALIDATOR
IDataValidator
that should be used for
validation if a value is committed by an editor. Note that the IDisplayConverter is not part
of the EditConfigAttributes as it might also be used without editing, e.g. converting a
date for correct display.static final ConfigAttribute<IEditErrorHandler> CONVERSION_ERROR_HANDLER
IEditErrorHandler
that should be used for conversion failure
handling.static final ConfigAttribute<IEditErrorHandler> VALIDATION_ERROR_HANDLER
IEditErrorHandler
that should be used for validation failure
handling.static final ConfigAttribute<IStyle> CONVERSION_ERROR_STYLE
Note: Currently this configuration attribute is only evaluated by the TextCellEditor in combination with the RenderErrorHandling for just in time conversion error rendering.
static final ConfigAttribute<IStyle> VALIDATION_ERROR_STYLE
Note: Currently this configuration attribute is only evaluated by the TextCellEditor in combination with the RenderErrorHandling for just in time validation error rendering.
static final ConfigAttribute<Boolean> OPEN_IN_DIALOG
static final ConfigAttribute<Boolean> OPEN_ADJACENT_EDITOR
true
and the cell selection is specified to move
after a successful commit operation, the editor for the selected cell will be activated
immediately. If there is no value for this configuration attribute registered, the default
value used is false
as this is the default behaviour prior to this.static final ConfigAttribute<Boolean> SUPPORT_MULTI_EDIT
true
, on selecting and pressing F2 on several cells that
are editable, having the same editor type and converter registered, a multi edit dialog will open.
You should consider setting the value for this attribute to false
e.g. if the
update operation is complex or you use conditional validation, where a value is validated against
another value in the data model.static final ConfigAttribute<Map<String,Object>> EDIT_DIALOG_SETTINGS
ICellEditDialog
.Copyright © 2013. All Rights Reserved.