Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv666/src/net/sourceforge/bprocessor/model
Modified Files:
Item.java
Log Message:
Names
Index: Item.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Item.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Item.java 25 Jun 2009 22:17:30 -0000 1.1
--- Item.java 29 Jun 2009 10:57:45 -0000 1.2
***************
*** 660,684 ****
String res;
int lvl = getLevel();
switch (lvl) {
case ELEMENT_LEVEL:
! res = "Elm";
break;
case PART_LEVEL:
! res = "Prt";
break;
case SPACE_LEVEL:
! res = "Spc";
break;
case PROJECT_LEVEL:
! res = "Proj";
break;
default:
! res = "Unk";
break;
}
if (isUnion()) {
! return res + " Union " + id;
} else {
! return res + id;
}
}
--- 660,687 ----
String res;
int lvl = getLevel();
+ if (isUnion()) {
+ lvl++;
+ }
switch (lvl) {
case ELEMENT_LEVEL:
! res = "Element";
break;
case PART_LEVEL:
! res = "Part";
break;
case SPACE_LEVEL:
! res = "Space";
break;
case PROJECT_LEVEL:
! res = "Project";
break;
default:
! res = "Object";
break;
}
if (isUnion()) {
! return res + " Union #" + id;
} else {
! return res + " #" + id;
}
}
|