public class FolderAdapter
extends org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
Modifier and Type | Class and Description |
---|---|
class |
FolderAdapter.Commands |
Modifier and Type | Field and Description |
---|---|
protected hep.aida.ref.tree.Tree |
aidaMasterTree |
protected org.freehep.application.studio.Studio |
app |
protected FolderAdapter.Commands |
commands |
protected AIDAPlugin |
plugin |
protected boolean |
showEmptyFolderAsLeaf |
Constructor and Description |
---|
FolderAdapter(AIDAPlugin plugin,
org.freehep.application.studio.Studio app) |
FolderAdapter(int priority,
AIDAPlugin plugin,
org.freehep.application.studio.Studio app) |
Modifier and Type | Method and Description |
---|---|
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) |
boolean |
getShowEmptyFolderAsLeaf() |
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 |
setShowEmptyFolderAsLeaf(boolean b) |
acceptNewText, canTextBeChanged, doubleClick, modifyTransferable, mouseClicked, nodeBeingDeleted, nodeStructureProvider, nodeTextChanged, priority, selectionChanged, statusMessage, text, toolTipMessage, treeCellRendererComponent, treeNodeObjectProvider
protected AIDAPlugin plugin
protected org.freehep.application.studio.Studio app
protected FolderAdapter.Commands commands
protected boolean showEmptyFolderAsLeaf
protected hep.aida.ref.tree.Tree aidaMasterTree
public FolderAdapter(AIDAPlugin plugin, org.freehep.application.studio.Studio app)
public FolderAdapter(int priority, AIDAPlugin plugin, org.freehep.application.studio.Studio app)
public void setShowEmptyFolderAsLeaf(boolean b)
public boolean getShowEmptyFolderAsLeaf()
public void checkForChildren(org.freehep.jas.plugin.tree.FTreeNode node)
checkForChildren
in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
checkForChildren
in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
public JPopupMenu modifyPopupMenu(org.freehep.jas.plugin.tree.FTreeNode[] nodes, JPopupMenu menu)
modifyPopupMenu
in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
modifyPopupMenu
in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
public boolean allowsChildren(org.freehep.jas.plugin.tree.FTreeNode node, boolean allowsChildren)
allowsChildren
in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
allowsChildren
in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
public Icon icon(org.freehep.jas.plugin.tree.FTreeNode node, Icon oldIcon, boolean selected, boolean expanded)
icon
in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
icon
in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
public org.freehep.util.commanddispatcher.CommandProcessor commandProcessor(org.freehep.jas.plugin.tree.FTreeNode[] selectedNodes)
commandProcessor
in interface org.freehep.jas.plugin.tree.FTreeNodeAdapter
commandProcessor
in class org.freehep.jas.plugin.tree.DefaultFTreeNodeAdapter
Copyright © 2019. All rights reserved.