Resources for binding data to WindowBuilder with SWT / JFace

I just started creating a SWT / JFace application using the (now free) WindowBuilder from Google (previously created instances).

I find the data binding part is complicated, although it ... will make my work easier.

For example, I cannot associate a button enable property with a (defined by me) logical function.

Are there any resources (demos, text, tutorials, examples) about using the WindowBuilder GUI and / or data binding principle?

The information found on the google page or page did not help me.

+3
source share
1 answer

What is it worth:

bindingContext.bindValue(
    new ComputedValue() {
      public Object calculate() {
        // calculate the enablement using the value of other, previously
        // created observables.
      }
    },
    WidgetProperties.enabled().observe(theButton)
  );

Eclipse - , . eclipse.platform.jface newsgroup.

+1

Source: https://habr.com/ru/post/1775432/


All Articles