[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui/treeview GenericTreeView.java,1.6,1.7
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-01-18 09:43:48
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24903/src/net/sourceforge/bprocessor/gui/treeview Modified Files: GenericTreeView.java Log Message: Removed drawing of lone vertices Ð gave bad performance Index: GenericTreeView.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/GenericTreeView.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** GenericTreeView.java 6 Jan 2006 15:36:19 -0000 1.6 --- GenericTreeView.java 18 Jan 2006 09:43:40 -0000 1.7 *************** *** 115,118 **** --- 115,125 ---- super(object); } + + /** + * @return Display String + */ + public String toString() { + return (this.getUserObject().toString() + " #" + this.getChildCount()); + } /** * Always not be leaf |