tvbrowser.ui.pluginview.contextmenu
Class AbstractContextMenu
java.lang.Object
tvbrowser.ui.pluginview.contextmenu.AbstractContextMenu
- All Implemented Interfaces:
- ContextMenu
- Direct Known Subclasses:
- CustomNodeContextMenu, PluginContextMenu, ProgramContextMenu, RootNodeContextMenu, StructureNodeContextMenu
public abstract class AbstractContextMenu
- extends Object
- implements ContextMenu
Created by: Martin Oberhauser (martin@tvbrowser.org)
Date: 03.01.2005
Time: 22:12:32
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractContextMenu
protected AbstractContextMenu(PluginTree tree)
getExpandAllMenuItem
protected JMenuItem getExpandAllMenuItem(TreePath treePath)
getCollapseAllMenuItem
protected JMenuItem getCollapseAllMenuItem(TreePath treePath)
getCollapseExpandAction
protected Action getCollapseExpandAction(TreePath treePath)
getExportMenu
protected JMenu getExportMenu(TreePath paths)
- Create a Export-To-Other-Plugins Action
- Parameters:
paths - create action for this TreePath
- Returns:
- Export-To-Other-Plugins Action
getFilterMenuItem
protected JMenuItem getFilterMenuItem(TreePath treePath)
getObjectForNode
public 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
TV-Browser 2.7.5, Copyright (C) 04-2003 Martin Oberhauser (martin@tvbrowser.org)