Class ContainerAutoCompleteTextDataBinding<T,V>

Type Parameters:
T - The type of the container object
V - The type of the bound value within the container
All Implemented Interfaces:
AbstractDataBinding<V>, AbstractSelectObjectDataBinding<V>, ContainerDataBinding<T,V>
Direct Known Subclasses:
EmfAutoCompleteTextDataBinding

public class ContainerAutoCompleteTextDataBinding<T,V> extends AbstractAutoCompleteTextDataBinding<V> implements ContainerDataBinding<T,V>
A specialized auto-complete text binding implementation that works with container objects. Extends AbstractAutoCompleteTextDataBinding and implements ContainerDataBinding to provide container-aware auto-complete functionality with EMF support.
Author:
Ionov Ivan
See Also:
  • Field Details

    • containerObservable

      protected org.eclipse.core.databinding.observable.value.IObservableValue<T> containerObservable
      The observable container value that holds the bound value. Defaults to an empty writable value.
    • modelChangeListener

      protected org.eclipse.core.databinding.observable.value.IValueChangeListener<Object> modelChangeListener
      Listener that handles container value changes and updates the text control.
    • valueExtractor

      protected Function<T,V> valueExtractor
      Function that extracts the value from the container. Defaults to a function that always returns null.
    • nameExtractor

      protected BiFunction<T,V,String> nameExtractor
      Function that formats values for display with container context. Defaults to standard String.valueOf() conversion.
    • handler

      protected BiConsumer<T,V> handler
      Handler that processes new values and updates the container. Defaults to a no-op consumer.
  • Constructor Details

    • ContainerAutoCompleteTextDataBinding

      public ContainerAutoCompleteTextDataBinding()
  • Method Details