Summary: | [DataBinding] Adapt a label provider as an IConverter | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Peter Centgraf <peter> | ||||
Component: | UI | Assignee: | Boris Bokowski <bokowski> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | enhancement | ||||||
Priority: | P3 | CC: | bradleyjames, qualidafial, tom.schindl | ||||
Version: | 3.3 | ||||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Peter Centgraf
2007-05-09 16:26:25 EDT
Created attachment 66565 [details]
Implementation of LabelProviderConverter
How about a read-only ConverterValueProperty instead? Ideally there would also be a pre-convert validator provided to ensure that the master value can actually be converted. IConverter doubleToCurrentConverter = .. Double dollars = new Double(15); IObservableValue BindingProperties.converter(doubleToCurrencyConverter) .observe( dollars ); This could prove to be a two in one solution for both this bug and bug 183031 This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. |