Class WidgetViewObservables


  • public class WidgetViewObservables
    extends Object
    Utility class that is using to create IObservableValue for IWidgetView controls.
    • Field Detail

      • WIDGET_DELAY

        public static final int WIDGET_DELAY
        Default changes applying delay.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WidgetViewObservables

        public WidgetViewObservables()
    • Method Detail

      • text

        public static org.eclipse.core.databinding.observable.value.IObservableValue<String> text​(org.eclipse.swt.widgets.Widget widget)
        Observe widget control text modifying.
        Parameters:
        widget - SWT widget
        Returns:
        observable value
      • selection

        public static org.eclipse.core.databinding.observable.value.IObservableValue selection​(org.eclipse.swt.widgets.Widget widget)
        Observe widget control selection.
        Parameters:
        widget - SWT widget
        Returns:
        observable value