org.freehep.jas.extension.tupleExplorer.adapter
Class TupleAdapter

java.lang.Object
  extended by org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
      extended by org.freehep.jas.extension.tupleExplorer.adapter.TupleAdapter
All Implemented Interfaces:
org.freehep.jas.plugin.tree.FTreeNodeAdapter

public class TupleAdapter
extends org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter

Author:
The FreeHEP team @ SLAC.

Constructor Summary
TupleAdapter(TupleExplorerPlugin plugin, TupleExplorerPluginCommands commands)
           
 
Method Summary
 boolean allowsChildren(org.freehep.jas.plugin.tree.FTreeNode node, boolean allowsChildren)
           
 void checkForChildren(org.freehep.jas.plugin.tree.FTreeNode node)
           
 org.freehep.util.commanddispatcher.CommandProcessor commandProcessor(org.freehep.jas.plugin.tree.FTreeNode[] selectedNodes)
           
 Icon icon(org.freehep.jas.plugin.tree.FTreeNode node, Icon oldIcon, boolean selected, boolean expanded)
           
 JPopupMenu modifyPopupMenu(org.freehep.jas.plugin.tree.FTreeNode[] nodes, JPopupMenu menu)
           
 void nodeBeingDeleted(org.freehep.jas.plugin.tree.FTreeNode node)
           
 boolean selectionChanged(org.freehep.jas.plugin.tree.FTreeSelectionEvent e)
           
 String statusMessage(org.freehep.jas.plugin.tree.FTreeNode node, String oldMessage)
           
 org.freehep.jas.plugin.tree.FTreeNodeObjectProvider treeNodeObjectProvider(org.freehep.jas.plugin.tree.FTreeNode node)
           
 
Methods inherited from class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
acceptNewText, canTextBeChanged, doubleClick, modifyTransferable, mouseClicked, nodeStructureProvider, nodeTextChanged, priority, text, toolTipMessage, treeCellRendererComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TupleAdapter

public TupleAdapter(TupleExplorerPlugin plugin,
                    TupleExplorerPluginCommands commands)
Method Detail

icon

public Icon icon(org.freehep.jas.plugin.tree.FTreeNode node,
                 Icon oldIcon,
                 boolean selected,
                 boolean expanded)
Specified by:
icon in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
Overrides:
icon in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter

checkForChildren

public void checkForChildren(org.freehep.jas.plugin.tree.FTreeNode node)
Specified by:
checkForChildren in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
Overrides:
checkForChildren in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter

allowsChildren

public boolean allowsChildren(org.freehep.jas.plugin.tree.FTreeNode node,
                              boolean allowsChildren)
Specified by:
allowsChildren in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
Overrides:
allowsChildren in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter

selectionChanged

public boolean selectionChanged(org.freehep.jas.plugin.tree.FTreeSelectionEvent e)
Specified by:
selectionChanged in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
Overrides:
selectionChanged in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter

commandProcessor

public org.freehep.util.commanddispatcher.CommandProcessor commandProcessor(org.freehep.jas.plugin.tree.FTreeNode[] selectedNodes)
Specified by:
commandProcessor in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
Overrides:
commandProcessor in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter

statusMessage

public String statusMessage(org.freehep.jas.plugin.tree.FTreeNode node,
                            String oldMessage)
Specified by:
statusMessage in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
Overrides:
statusMessage in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter

modifyPopupMenu

public JPopupMenu modifyPopupMenu(org.freehep.jas.plugin.tree.FTreeNode[] nodes,
                                  JPopupMenu menu)
Specified by:
modifyPopupMenu in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
Overrides:
modifyPopupMenu in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter

nodeBeingDeleted

public void nodeBeingDeleted(org.freehep.jas.plugin.tree.FTreeNode node)
Specified by:
nodeBeingDeleted in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
Overrides:
nodeBeingDeleted in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter

treeNodeObjectProvider

public org.freehep.jas.plugin.tree.FTreeNodeObjectProvider treeNodeObjectProvider(org.freehep.jas.plugin.tree.FTreeNode node)
Specified by:
treeNodeObjectProvider in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
Overrides:
treeNodeObjectProvider in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter


Copyright © 2013. All Rights Reserved.