Closed nbrugger-tgm closed 2 years ago
The replacement of the old MVC system was started. Progress can be checked on feat/mvc-replace-dsl
branch.
While its technicaly very possibe to replace all old functionality with the new Binding DSL it is very cumbersome.
The amount of code needed to do binder.biBind("property",component::setVal,component::getVal)
is like ~3 times the characters.
Before the whole MVC system is replaced a solution should be found so that the MVC system doesn't needs to be rewritten a seccond time.
.withInt()
(or possibly even withInt().fromString(source)
)call(Person::setGender).withCasted(comboBox::getSelectedItem)
).on(modelChange)
/.from(modelChange
in createBindings
binder.newBinding
binder.bind(Person::getAge,ageInput::setText,Integer::toString)
) - optional in the sense that the DSL should still be fully accessibleSonarCloud Quality Gate failed.
The Codecoverage report from SonarCloud is not correct, therefore a merge is fine.'
The codecoverage is 91 %
Implementation of #42