Interface SelectionProvider.Selection

  • Enclosing class:
    SelectionProvider

    @OpenApiAll
    public static interface SelectionProvider.Selection
    • Method Detail

      • getSize

        int getSize()
        Returns:
        number of selected elements
      • getSelected

        java.util.Collection<? extends BaseElement> getSelected()
        Returns:
        selected elements
      • getMainElement

        @CheckForNull
        BaseElement getMainElement()
        Returns:
        main selected element
      • getSelectedOrMainElement

        @CheckForNull
        default BaseElement getSelectedOrMainElement()
        Returns:
        selected element if only one element is selected or main element