Class EditConfigAttributes


  • public final class EditConfigAttributes
    extends Object
    The configuration attributes for configuring editing behavior.
    • Field Detail

      • DATA_VALIDATOR

        public static final 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. 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.
      • CONVERSION_ERROR_STYLE

        public static final 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.

        Note: Currently this configuration attribute is only evaluated by the TextCellEditor in combination with the RenderErrorHandling for just in time conversion error rendering.

      • VALIDATION_ERROR_STYLE

        public static final 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.

        Note: Currently this configuration attribute is only evaluated by the TextCellEditor in combination with the RenderErrorHandling for just in time validation error rendering.

      • OPEN_ADJACENT_EDITOR

        public static final ConfigAttribute<Boolean> OPEN_ADJACENT_EDITOR
        The configuration attribute to specify behavior after committing a value inline. If the value for this attribute is set to 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 behavior prior to this.
      • ACTIVATE_EDITOR_ON_TRAVERSAL

        public static final ConfigAttribute<Boolean> ACTIVATE_EDITOR_ON_TRAVERSAL
        The configuration attribute to specify whether an editor should be activated if the activation was triggered by traversal, where traversal also includes selection and activation after commit. If there is no value for this configuration attribute registered, the default value used is true as this is the default behavior prior to this.
        See Also:
        OPEN_ADJACENT_EDITOR
      • SUPPORT_MULTI_EDIT

        public static final ConfigAttribute<Boolean> SUPPORT_MULTI_EDIT
        The configuration attribute to specify whether an editor supports multi edit behavior or not. If this attribute is set to 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.