Package com.illumon.iris.controller
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 Summary
Modifier and TypeMethodDescriptionList<? 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.
-
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 consolewidgetSupport- the console widget support objectpersistentQueryPanelObject- the PersistentQueryPanel, as an object because of dependenciestable- the configTable within the PersistentQueryPanel.column- the column the user clicked onallAdmin- is the user an administrator of all selected queriesuserType- the user type from the IrisGroupProviderselectedInfoSupplier- a supplier for the selected query information- Returns:
- a list of menu items to add to the context menu
-