Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv845/src/net/sourceforge/bprocessor/gui/treeview
Modified Files:
GenericTreeView.java
Log Message:
MoveTool: AXIS_RESTRICTED now default
AttributeView: Updates when displayed object are changed
Index: GenericTreeView.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/treeview/GenericTreeView.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** GenericTreeView.java 18 Jan 2006 09:43:40 -0000 1.7
--- GenericTreeView.java 18 Jan 2006 11:41:17 -0000 1.8
***************
*** 32,35 ****
--- 32,38 ----
public class GenericTreeView extends TreeView implements Observer {
+ /** Show numbers of elements in display-string of container-nodes */
+ private static final boolean SHOW_COUNTERS = false;
+
/** The model */
protected DefaultTreeModel model;
***************
*** 120,124 ****
*/
public String toString() {
! return (this.getUserObject().toString() + " #" + this.getChildCount());
}
/**
--- 123,131 ----
*/
public String toString() {
! if (SHOW_COUNTERS) {
! return (this.getUserObject().toString() + " #" + this.getChildCount());
! } else {
! return this.getUserObject().toString();
! }
}
/**
|