Package com.illumon.iris.console.events
Class CustomTableActions
java.lang.Object
com.illumon.iris.console.events.CustomTableActions
- All Implemented Interfaces:
HeaderPopupProvider
,PopupProvider
A collection of CustomActions acquired from the provided table and presented as a set
of Menu items.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from interface com.illumon.iris.gui.widget.PopupProvider
NULL
-
Constructor Summary
ConstructorsConstructorDescriptionCustomTableActions
(Table table, Database db, IrisWidgetSupport irisWidgetSupport) -
Method Summary
Modifier and TypeMethodDescriptionprotected CustomTableActions.ScopeDelegate
createScopeDelegate
(Table selectionTable, Window parentFrame, GuiTable selectionGuiTable, IrisWidgetSupport irisWidgetSupport, String columnName) protected CustomTableActions.ScopeDelegate
createScopeDelegate
(Window parentFrame, GuiTable selectionGuiTable, IrisWidgetSupport irisWidgetSupport, String columnName) getHeaderMenuItems
(GuiTable table, int columnIndex) Get a list of menu items to add to the default right click menu.getMenuItems
(GuiTable table, int columnIndex) Get a list of menu items to add to the popup.
-
Field Details
-
db
-
irisWidgetSupport
-
-
Constructor Details
-
CustomTableActions
-
-
Method Details
-
getMenuItems
Description copied from interface:PopupProvider
Get a list of menu items to add to the popup.- Specified by:
getMenuItems
in interfaceHeaderPopupProvider
- Specified by:
getMenuItems
in interfacePopupProvider
- Parameters:
table
- The table that was clickedcolumnIndex
- The column index in Model space- Returns:
- A list of menu items to add to the popup menu.
-
getHeaderMenuItems
Description copied from interface:HeaderPopupProvider
Get a list of menu items to add to the default right click menu.- Specified by:
getHeaderMenuItems
in interfaceHeaderPopupProvider
- Parameters:
table
- The table that was right clicked.columnIndex
- The column that was right clicked.
-
createScopeDelegate
protected CustomTableActions.ScopeDelegate createScopeDelegate(Window parentFrame, GuiTable selectionGuiTable, IrisWidgetSupport irisWidgetSupport, String columnName) -
createScopeDelegate
protected CustomTableActions.ScopeDelegate createScopeDelegate(Table selectionTable, Window parentFrame, GuiTable selectionGuiTable, IrisWidgetSupport irisWidgetSupport, String columnName)
-