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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface org.teichert.databaseexplorer.pluginInterfaces.IPlugin
getPluginName, getPluginVersion
-
-
-
-
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
- theSQLTable
created by the executed select-sqltab
- the currentMyTab
which contains theSQLTextEditor
and the executed SQL.tableView
- the newMyTableView
which holds the visual datamapTabToSpinner
- the current spinner-map which holds all spinner for the "limit" value of eachMyTab
- Returns:
-
-