Search code examples
data-bindingeclipse-rcppreferences

Eclipse rcp databinding with array of values


I have read this tutorial and I am familiar with simple databinding.

But how do I handle databinding with arrays of values?

For example I want to make a Preferences page for my app where I need to set multiple values for multiple possible profiles, which can be added or removed.

Similar thing that I want to do is an Eclipse Preferences page General->Keys, where you can select Schemes and set values for that scheme. What I need to do additionally is to be able to add and remove schemes.

thank you in advance for any tips, example and links.

regards


Solution

  • You use observable collections, like in this example.