Interface PersistentQueryPanelPopupProvider

All Known Implementing Classes:
AddMergeQueryPopupProvider, AddValidateQueryPopupProvider

public interface PersistentQueryPanelPopupProvider
Interface to allow persistent query configuration types to add context menu items on a persistent query panel for their respective query types.
  • Method Details

    • getMenuItems

      List<? extends JComponent> getMenuItems​(com.fishlib.io.logger.Logger log, IrisWidgetSupport widgetSupport, Object persistentQueryPanelObject, GuiTable table, int column, boolean allAdmin, IrisGroupProvider.UserType userType, Supplier<PersistentQueryInfo[]> selectedInfoSupplier)
      Get the menu items to add to the PersistentQueryPanel context menu.
      Parameters:
      log - the logger for this console
      widgetSupport - the console widget support object
      persistentQueryPanelObject - the PersistentQueryPanel, as an object because of dependencies
      table - the configTable within the PersistentQueryPanel.
      column - the column the user clicked on
      allAdmin - is the user an administrator of all selected queries
      userType - the user type from the IrisGroupProvider
      selectedInfoSupplier - a supplier for the selected query information
      Returns:
      a list of menu items to add to the context menu