Modifier and Type | Field and Description |
---|---|
static ConfigAttribute<IEditErrorHandler> |
EditConfigAttributes.CONVERSION_ERROR_HANDLER
The configuration attribute for the
IEditErrorHandler that should be used for conversion failure
handling. |
static ConfigAttribute<IEditErrorHandler> |
EditConfigAttributes.VALIDATION_ERROR_HANDLER
The configuration attribute for the
IEditErrorHandler that should be used for validation failure
handling. |
Modifier and Type | Method and Description |
---|---|
static IEditErrorHandler |
EditConfigHelper.getEditErrorHandler(IConfigRegistry configRegistry,
ConfigAttribute<IEditErrorHandler> configAttribute,
List<String> configLabels)
Searches for the registered
IEditErrorHandler that should be used by this editor. |
Modifier and Type | Method and Description |
---|---|
static IEditErrorHandler |
EditConfigHelper.getEditErrorHandler(IConfigRegistry configRegistry,
ConfigAttribute<IEditErrorHandler> configAttribute,
List<String> configLabels)
Searches for the registered
IEditErrorHandler that should be used by this editor. |
Modifier and Type | Class and Description |
---|---|
class |
DialogErrorHandling
Strategy class for conversion/validation failures.
|
class |
DiscardValueErrorHandling
Strategy class for conversion/validation failures.
|
class |
LoggingErrorHandling
Error handling strategy that simply writes conversion/validation errors to the log.
|
class |
RenderErrorHandling
IEditErrorHandler implementation that will directly change the rendering
of the value inside the editor control. |
Constructor and Description |
---|
DialogErrorHandling(IEditErrorHandler underlyingErrorHandler)
Create a new
DialogErrorHandling using the given IEditErrorHandler as
the underlying to allow chaining of error handling. |
DialogErrorHandling(IEditErrorHandler underlyingErrorHandler,
boolean allowCommit)
Create a new
DialogErrorHandling using the given IEditErrorHandler as
the underlying to allow chaining of error handling. |
DiscardValueErrorHandling(IEditErrorHandler underlyingErrorHandler)
Create a new
DiscardValueErrorHandling using the given IEditErrorHandler as
the underlying to allow chaining of error handling. |
LoggingErrorHandling(IEditErrorHandler underlyingErrorHandler)
Create a new
LoggingErrorHandling using the given IEditErrorHandler as
the underlying to allow chaining of error handling. |
RenderErrorHandling(IEditErrorHandler underlyingErrorHandler,
ControlDecorationProvider decorationProvider)
Create a
RenderErrorHandling with the underlying error handler
and the specified decoration provider. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEditErrorHandler
Abstract implementation of
IEditErrorHandler that by default calls
the underlying IEditErrorHandler to handle the error. |
Modifier and Type | Field and Description |
---|---|
protected IEditErrorHandler |
AbstractCellEditor.conversionEditErrorHandler
The error handler that will be used to show conversion errors.
|
protected IEditErrorHandler |
AbstractEditErrorHandler.underlyingErrorHandler
The underlying
IEditErrorHandler |
protected IEditErrorHandler |
AbstractCellEditor.validationEditErrorHandler
The error handler that will be used to show validation errors.
|
Modifier and Type | Method and Description |
---|---|
IEditErrorHandler |
TextCellEditor.getInputConversionErrorHandler() |
IEditErrorHandler |
TextCellEditor.getInputValidationErrorHandler() |
Modifier and Type | Method and Description |
---|---|
Object |
ICellEditor.getCanonicalValue(IEditErrorHandler conversionErrorHandler)
Converts the current value in this editor using the configured
IDisplayConverter . |
Object |
AbstractCellEditor.getCanonicalValue(IEditErrorHandler conversionErrorHandler)
Converts the current value in this editor using the configured
IDisplayConverter . |
protected Object |
AbstractCellEditor.handleConversion(Object displayValue,
IEditErrorHandler conversionErrorHandler)
Converts the given display value using the configured
IDisplayConverter . |
void |
TextCellEditor.setInputConversionErrorHandler(IEditErrorHandler inputConversionErrorHandler) |
void |
TextCellEditor.setInputValidationErrorHandler(IEditErrorHandler inputValidationErrorHandler) |
boolean |
ICellEditor.validateCanonicalValue(Object canonicalValue,
IEditErrorHandler validationErrorHandler)
Validates the current value in this editor using the configured
IDataValidator . |
boolean |
AbstractCellEditor.validateCanonicalValue(Object canonicalValue,
IEditErrorHandler validationEditErrorHandler) |
Constructor and Description |
---|
AbstractEditErrorHandler(IEditErrorHandler underlyingErrorHandler) |
Modifier and Type | Field and Description |
---|---|
protected IEditErrorHandler |
AbstractDialogCellEditor.conversionEditErrorHandler
The error handler that will be used to show conversion errors.
|
protected IEditErrorHandler |
AbstractDialogCellEditor.validationEditErrorHandler
The error handler that will be used to show validation errors.
|
Modifier and Type | Method and Description |
---|---|
Object |
AbstractDialogCellEditor.getCanonicalValue(IEditErrorHandler conversionErrorHandler) |
boolean |
AbstractDialogCellEditor.validateCanonicalValue(Object canonicalValue,
IEditErrorHandler validationErrorHandler) |
Copyright © 2013. All Rights Reserved.