Package adams.gui.core.dotnotationtree
Interface PopupMenuHandler
-
- All Known Implementing Classes:
ActorTreePanel
public interface PopupMenuHandler
Interface for classes that generate a popup menu in the class tree.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BasePopupMenu
getInfoNodePopup(AbstractInfoNode node)
Returns the popup menu for an info node.BasePopupMenu
getItemNodePopup(DotNotationNode node, boolean isLeaf)
Returns the popup menu for an item node.
-
-
-
Method Detail
-
getItemNodePopup
BasePopupMenu getItemNodePopup(DotNotationNode node, boolean isLeaf)
Returns the popup menu for an item node.- Parameters:
node
- the item nodeisLeaf
- whether the node is the last node in this branch, excluding any info nodes- Returns:
- the popup or null if no popup available
-
getInfoNodePopup
BasePopupMenu getInfoNodePopup(AbstractInfoNode node)
Returns the popup menu for an info node.- Parameters:
node
- the info node- Returns:
- the popup or null if no popup available
-
-