I have to implement a little validation framework for a business application that should be usable with the SWT Designer.
(Validation results are visualized via ControlDecorations)
Therefore, I would like to use the powerful databinding framework offered by Eclipse.
I encountered several limitations of the Designer's 'Binding' page:
- I would like to enrich the UpdateValueStrategy for my bindings with a configurable Validator. However, only Validators with the default constructor are accepted by the SWT Designer. In my opinion, this is a strong limitation of the databinding framework prohibiting several use-cases.
- Similar to the standard Validators that are used for configuring a Binding, I would like to add MultiValidators to a DataBindingContext for observing cross constraints. However, the only solution I found was to add MultiValidators in the 'Source' page using a $hide block.
- I would like to partition my Bindings. Therefore it would be useful to have multiple DataBindingContext objects each responsible for a part of the bindings. The only way I found was again using $hide blocks.
Did I miss any feature that would be appropriate for me?
Do you have any plans for enriching databinding support?