scenebuilder icon indicating copy to clipboard operation
scenebuilder copied to clipboard

Binding expression edition support (no resolution / string only)

Open treilhes opened this issue 4 years ago • 3 comments

This pull request allow edition of binding expression for string values only.

imageimage

If the field containing the binding expression is shown in the hierarchy view. It won't be resolved and can't be edited The warning is kept to inform the user about the presence of a binding expression image

If the field containing the binding expression is shown in the scene view. It won't be resolved and can't be edited imageimage

If the field containing the binding expression is shown in the previex view. It won't be resolved and can't be edited image

#89 seems partialy solved, at least for string fields #97 binding expression in fields other than string still generate an exception and prevent moving components

Please, feel free to comment or require modifications on this pull request

treilhes avatar Jul 19 '20 17:07 treilhes

Hello, I wonder if someone can take some time to give it a look

treilhes avatar Sep 25 '20 08:09 treilhes

Hi @treilhes,

Thank you for the exemplary work in the PR. I am trying to understand the target of the PR. Will binding expression resolution be added as a part of this PR?

abhinayagarwal avatar Dec 01 '20 13:12 abhinayagarwal

It will add binding expression support only for String typed fields. The pull request allows SceneBuilder to show binding expression in the editor (aka ${something}) without trying to resolve it and generate an exception

treilhes avatar Dec 01 '20 14:12 treilhes