[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui/treeview DBKTreeView.java, 1.3, 1.4 Gene
Status: Pre-Alpha
Brought to you by:
henryml
|
From: rimestad <rim...@us...> - 2007-05-08 12:34:06
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15924/src/net/sourceforge/bprocessor/gui/treeview Modified Files: DBKTreeView.java GenericTreeView.java Log Message: forgot ClassificationNode in generictreeview, so moved that one as well... Index: GenericTreeView.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/GenericTreeView.java,v retrieving revision 1.98 retrieving revision 1.99 diff -C2 -d -r1.98 -r1.99 *** GenericTreeView.java 8 May 2007 11:08:18 -0000 1.98 --- GenericTreeView.java 8 May 2007 12:34:06 -0000 1.99 *************** *** 42,46 **** import net.sourceforge.bprocessor.model.Attribute; import net.sourceforge.bprocessor.model.Camera; - import net.sourceforge.bprocessor.model.Classification; import net.sourceforge.bprocessor.model.Constructor; import net.sourceforge.bprocessor.model.CoordinateSystem; --- 42,45 ---- *************** *** 866,889 **** /** - * ClassificationNode - */ - public class ClassificationNode extends EntityNode { - /** - * Constructor for ClassificationNode - * @param clas The classification - */ - public ClassificationNode(Classification clas) { - super(clas); - if (!clas.getChildren().isEmpty()) { - Iterator it = clas.getChildren().iterator(); - while (it.hasNext()) { - add(new ClassificationNode((Classification) it.next())); - } - } - } - - } - - /** * ModellorNode */ --- 865,868 ---- Index: DBKTreeView.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/DBKTreeView.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** DBKTreeView.java 8 May 2007 11:08:18 -0000 1.3 --- DBKTreeView.java 8 May 2007 12:34:06 -0000 1.4 *************** *** 44,48 **** } - /** * ClassificationContainer --- 44,47 ---- *************** *** 60,67 **** } - /** {@inheritDoc} */ - public EntityNode nodeFor(Object entity) { - return new ClassificationNode((Classification) entity); - } /** * Return icon --- 59,62 ---- |