net.sf.jlayercheck.util.modeltree
Class DependenciesTreeModel
java.lang.Object
javax.swing.tree.DefaultTreeModel
net.sf.jlayercheck.util.modeltree.DependenciesTreeModel
- All Implemented Interfaces:
- Serializable, TreeModel
public class DependenciesTreeModel
- extends DefaultTreeModel
Generates a tree model for the dependencies of a single ClassNode.
- Author:
- webmaster@earth3d.org
- See Also:
- Serialized Form
Methods inherited from class javax.swing.tree.DefaultTreeModel |
addTreeModelListener, asksAllowsChildren, fireTreeNodesChanged, fireTreeNodesInserted, fireTreeNodesRemoved, fireTreeStructureChanged, getChild, getChildCount, getIndexOfChild, getListeners, getPathToRoot, getPathToRoot, getRoot, getTreeModelListeners, insertNodeInto, isLeaf, nodeChanged, nodesChanged, nodeStructureChanged, nodesWereInserted, nodesWereRemoved, reload, reload, removeNodeFromParent, removeTreeModelListener, setAsksAllowsChildren, setRoot, valueForPathChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UNASSIGNED
protected static final String UNASSIGNED
- See Also:
- Constant Field Values
DependenciesTreeModel
public DependenciesTreeModel()
- Generates an empty dependency representation model.
addClassNodeToDependentModelTree
public void addClassNodeToDependentModelTree(DependentModelTree depTree,
ClassDependency cd,
ClassNode depClass)
- Adds the given ClassNode to the given DependentModelTree.
- Parameters:
depTree
- the tree to updatecd
- the dependency to adddepClass
- the node that has the dependency to add and is used to retrieve the package and model node
merge
public void merge(DependentModelTree depTree)
- Merges the other tree into this tree.
- Parameters:
dependenciesTreeModel
-
Copyright © 2007. All Rights Reserved.