Summary: | [Databinding] Add shortcut from/to methods to Bind API | ||
---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Jens Lideström <jens> |
Component: | UI | Assignee: | Jens Lideström <jens> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | erdal.karaca.de |
Version: | 4.23 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
See Also: |
https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/189221 https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/189222 |
||
Whiteboard: | |||
Bug Depends on: | 552667 | ||
Bug Blocks: |
Description
Jens Lideström
2021-12-30 05:45:53 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/189221 New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.ui/+/189222 @Erdal Karaca: I implemented one of the methods that you suggested in bug 552667. I think it is a good idea to add similar shortcuts to the Bind API! I also added a shortcut method to bind using a method directly: Bind.oneWay() .fromComputed(() -> observable.getValue() + " - Computed!") .toSetter(someObject::setSomeProperty) .bind(context); |