Interface IContextMenuPluginInterface

  • All Superinterfaces:
    IPlugin

    public interface IContextMenuPluginInterface
    extends IPlugin
    This plugin-interface is being called before set the MenuItem-list for the treeview in the main-gui.
    So you are able to provide your own ContextMenu-entries for it.
    • Method Detail

      • createMenuItems

        List<javafx.scene.control.MenuItem> createMenuItems​(FilteredTreeView<? extends IFilteredTreeItem> tree,
                                                            javafx.scene.control.TabPane tabFolderEditors)
        Returns a List of MenuItems for the ContextMenu of the tree in the main-gui.
        Parameters:
        tree - IFilteredTreeItem in the main-gui
        tabFolderEditors - the TabPane which holds all SQLTextEditor inside a MyTab on the right side of the main-gui. This can be cached inside the plugin to adjust everything new inside the TabPane
        Returns: