Closed stereotron closed 10 months ago
Please make a patch that does not break the API.
@stereotron are you going to supply this patch?
@stereotron are you going to supply this patch?
I'm sorry, I totally forgot about this. Here is the patch: nebula-multichoice-databinding.patch
It has getter and setter for the selection and additionally for the text control and the arrow button. This makes these controls available for customization.
Looks greate @stereotron can you make a Pull Request?
It seems I have no permission to commit. Eclipse opens up a Login dialog which does not accept my github login credentials. Could you please commit this patch? This week I have no time to learn and use the workflow of this project.
@stereotron in the eclipse UI you press the "fork" button, this will give you a private copy of this repository.
Then you cechkout your repository (maybe choose a different folder) and can push your changes there, then you will be given a link to pen a PR
The process was a bit adventurous, but you should now have that pull request.
I do, thanks @stereotron. Much appreciated. I will release it as soon as the build comes back normally.
In order to bind
org.eclipse.nebula.widgets.opal.multichoice.MultiChoice<T>
with Eclipse Databindings the methodsCurrently this results in:
Internally the selection is kept as a Set so why not just return it as that?
The selection order is already lost through usage of the Set and for that there would be getSelectionIndex().
Besides the API break I don't see a reason to not return a Set with getSelection().
A temporary solution without breaking the API:
Getting access to the Text and the Button of MultiChoice would also be handy but thats not so important.