Module tvbrowser

Class AbstractContextMenu

    • Constructor Detail

      • AbstractContextMenu

        protected AbstractContextMenu​(PluginTree tree)
    • Method Detail

      • getExpandAllMenuItem

        protected javax.swing.JMenuItem getExpandAllMenuItem​(javax.swing.tree.TreePath treePath)
      • getCollapseAllMenuItem

        protected javax.swing.JMenuItem getCollapseAllMenuItem​(javax.swing.tree.TreePath treePath)
      • getCollapseExpandAction

        protected javax.swing.Action getCollapseExpandAction​(javax.swing.tree.TreePath treePath)
      • getExportMenu

        protected javax.swing.JMenu getExportMenu​(javax.swing.tree.TreePath paths)
        Create a Export-To-Other-Plugins Action
        Parameters:
        paths - create action for this TreePath
        Returns:
        Export-To-Other-Plugins Action
      • getFilterMenuItem

        protected javax.swing.JMenuItem getFilterMenuItem​(javax.swing.tree.TreePath treePath)
      • getObjectForNode

        public java.lang.Object getObjectForNode​(Node node)
        Returns the Plugin for this Node. It searches for a Parent-Node containing a Plugin.
        Parameters:
        node - Node to use
        Returns:
        Plugin-Parent of this Node
      • collectProgramsFromNode

        public Program[] collectProgramsFromNode​(Node node)
        Runs through all Child-Nodes and collects the Program-Elements
        Parameters:
        node - Node to search in
        Returns:
        all found Programs within this Node