eclipse-windowbuilder / eclipse-windowbuilder/windowbuilder

Remove support for the deleted Databinding API

Đang mở
#492 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
97
Fork
34
Merge trung bình
21 giờ 52 phút
Pull request đã merge (30 ngày)
25

Mô tả

Related to #491. There are several locations where WindowBuilder:

a) Makes several case-distinctions between the old and new Observable API
b) Creates a bi-directional mapping between methods of the new API to the old API

Keeping the former is a real pain in terms of maintainability. Latter falls apart because both versions are not 100% compatible.
Example: `SWTObservables.observeSelection()` can be any of `WidgetProperties.widgetSelection()`, `WidgetProperties.dateTimeSelection()`, ...
And this problem will only increase, the more features are added to the new API.

Given that the old API is gone for good, I don't think it makes any sense for WindowBuilder to keep referencing it internally or even generate code for it.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.