Interface IContextMenuTablePluginInterface

  • All Superinterfaces:
    IPlugin

    public interface IContextMenuTablePluginInterface
    extends IPlugin
    This plugin-interface is being called after a select-sql is executed and a SQLTable with SQLRows (if data exists) is created but before the ContextMenu is set to the table-ui-component.
    So you are able to provide your own ContextMenu-entries for it.
    • Method Detail

      • createMenuItems

        List<javafx.scene.control.MenuItem> createMenuItems​(SQLTable table,
                                                            javafx.scene.control.Tab tab,
                                                            MyTableView<SQLTableValue[]> tableView,
                                                            Map<javafx.scene.control.Tab,​javafx.scene.control.Spinner<Integer>> mapTabToSpinner)
        Returns a List of MenuItems for the ContextMenu of the table in the main-gui.
        Parameters:
        table - the SQLTable created by the executed select-sql
        tab - the current MyTab which contains the SQLTextEditor and the executed SQL.
        tableView - the new MyTableView which holds the visual data
        mapTabToSpinner - the current spinner-map which holds all spinner for the "limit" value of each MyTab
        Returns: