Package com.illumon.iris.pqimport.gui
Class AddValidateQueryPopupProvider
java.lang.Object
com.illumon.iris.pqimport.gui.AddValidateQueryPopupProvider
- All Implemented Interfaces:
PersistentQueryPanelPopupProvider
public class AddValidateQueryPopupProvider extends Object implements PersistentQueryPanelPopupProvider
-
Constructor Summary
Constructors Constructor Description AddValidateQueryPopupProvider()
-
Method Summary
Modifier and Type Method Description 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[]> infoSupplier)
Get the menu items to add to the PersistentQueryPanel context menu.
-
Constructor Details
-
AddValidateQueryPopupProvider
public AddValidateQueryPopupProvider()
-
-
Method Details
-
getMenuItems
public 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[]> infoSupplier)Description copied from interface:PersistentQueryPanelPopupProvider
Get the menu items to add to the PersistentQueryPanel context menu.- Specified by:
getMenuItems
in interfacePersistentQueryPanelPopupProvider
- 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 IrisGroupProviderinfoSupplier
- a supplier for the selected query information- Returns:
- a list of menu items to add to the context menu
-