Interface WidgetFactory.Selector<T>

All Known Subinterfaces:
WidgetFactory.ConnectionSelector<T>
Enclosing interface:
WidgetFactory

public static interface WidgetFactory.Selector<T>
Functional interface for selectors to which factories delegate widget creation. Connection WidgetFactory shall not delegate to Selector, but rather to ConnectionSelector
  • Method Summary

    Modifier and Type
    Method
    Description
    select(WidgetFactory widgetFactory, URI base, org.nasdanika.common.ProgressMonitor progressMonitor)
    Retrieves some information from the argument widget factory, e.g.
  • Method Details

    • select

      T select(WidgetFactory widgetFactory, URI base, org.nasdanika.common.ProgressMonitor progressMonitor)
      Retrieves some information from the argument widget factory, e.g. creates a widget.
      Parameters:
      widgetFactory -
      base - For connections, if not null, is resolved against the calling end URI - source or target, if it is not null. If null, the respective end URI is used as the base.
      progressMonitor -
      Returns:
      A widget or null