org.openide.explorer.view
Class NodePopupFactory
java.lang.Object
org.openide.explorer.view.NodePopupFactory
public class NodePopupFactory
- extends Object
Allows customization of the popup menus of TableView and OutlineView.
Just create a subclass of this class and override method createPopupMenu
(and call setNodePopupFactory() on TableView or OutlineView).
Constructor Summary |
NodePopupFactory()
Creates a new instance of NodePopupFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodePopupFactory
public NodePopupFactory()
- Creates a new instance of NodePopupFactory
createPopupMenu
public JPopupMenu createPopupMenu(int row,
int column,
Node[] selectedNodes,
Component component)
- Creates a popup menu with entries from the selected nodes
related to the given component (usually a ETable subclass). The popup
is created for the table element in given column and row (column
and row are in the view's coordinates (not the model's)).
setShowQuickFilter
public void setShowQuickFilter(boolean show)