[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui/treeview GenericTreeView.java, 1.122, 1.
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2007-11-19 09:26:57
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv28141/src/net/sourceforge/bprocessor/gui/treeview Modified Files: GenericTreeView.java SpaceTreeView.java LibraryTreeView.java Log Message: Renamed CatalogNode to ComponentNode and CatalogContainer to ComponentContainer Index: LibraryTreeView.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/LibraryTreeView.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LibraryTreeView.java 12 Nov 2007 19:20:57 -0000 1.3 --- LibraryTreeView.java 19 Nov 2007 09:27:00 -0000 1.4 *************** *** 20,24 **** super(); root.removeAllChildren(); ! root.add(new CatalogContainer("Unions", Project.getLibraryObjects())); model.nodeStructureChanged(root); } --- 20,24 ---- super(); root.removeAllChildren(); ! root.add(new ComponentContainer("Unions", Project.getLibraryObjects())); model.nodeStructureChanged(root); } Index: GenericTreeView.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/GenericTreeView.java,v retrieving revision 1.122 retrieving revision 1.123 diff -C2 -d -r1.122 -r1.123 *** GenericTreeView.java 19 Nov 2007 09:14:22 -0000 1.122 --- GenericTreeView.java 19 Nov 2007 09:27:00 -0000 1.123 *************** *** 1158,1164 **** /** ! * Catalog Container */ ! public class CatalogContainer extends GenericNode { /** * Constructor for Catalog objects --- 1158,1164 ---- /** ! * Component Container */ ! public class ComponentContainer extends GenericNode { /** * Constructor for Catalog objects *************** *** 1166,1173 **** * @param content the children for the node */ ! public CatalogContainer(String name, Collection<Component> content) { super(name); for (Component l : content) { ! this.add(new CatalogNode(l)); } } --- 1166,1173 ---- * @param content the children for the node */ ! public ComponentContainer(String name, Collection<Component> content) { super(name); for (Component l : content) { ! this.add(new ComponentNode(l)); } } *************** *** 1181,1185 **** this.removeAllChildren(); for (Component l : (Collection<Component>)o) { ! this.add(new CatalogNode(l)); } model.nodeStructureChanged(this); --- 1181,1185 ---- this.removeAllChildren(); for (Component l : (Collection<Component>)o) { ! this.add(new ComponentNode(l)); } model.nodeStructureChanged(this); *************** *** 1189,1201 **** /** ! * A container for catalog items */ ! public class CatalogNode extends GenericNode { /** * Constructor ! * @param l The lib obj */ ! public CatalogNode(Component l) { ! super(l); } --- 1189,1201 ---- /** ! * Component Node */ ! public class ComponentNode extends GenericNode { /** * Constructor ! * @param component Component */ ! public ComponentNode(Component component) { ! super(component); } Index: SpaceTreeView.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/SpaceTreeView.java,v retrieving revision 1.27 retrieving revision 1.28 diff -C2 -d -r1.27 -r1.28 *** SpaceTreeView.java 12 Nov 2007 14:15:28 -0000 1.27 --- SpaceTreeView.java 19 Nov 2007 09:27:00 -0000 1.28 *************** *** 38,42 **** root.add(new ParameterBlockNode("Globals", p.getGlobals())); root.add(new ConstructorContainer("Constructors", p.getConstructors())); ! root.add(new CatalogContainer("Catalog", p.getCatalogObjects())); model.nodeStructureChanged(root); --- 38,42 ---- root.add(new ParameterBlockNode("Globals", p.getGlobals())); root.add(new ConstructorContainer("Constructors", p.getConstructors())); ! root.add(new ComponentContainer("Catalog", p.getCatalogObjects())); model.nodeStructureChanged(root); |