Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24224/src/net/sourceforge/bprocessor/gui/attrview
Modified Files:
LinkAttribute.java
Log Message:
The display name of a space again contains the ID
Index: LinkAttribute.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/LinkAttribute.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** LinkAttribute.java 17 Sep 2006 22:02:20 -0000 1.13
--- LinkAttribute.java 20 Oct 2006 17:04:50 -0000 1.14
***************
*** 174,178 ****
JLabel valueLabel;
if (value instanceof Entity) {
! s = ((Entity)value).getName();
} else if (value instanceof Project) {
s = ((Project)value).getName();
--- 174,182 ----
JLabel valueLabel;
if (value instanceof Entity) {
! if (value instanceof Space) {
! s = ((Space)value).getDisplayName();
! } else {
! s = ((Entity)value).getName();
! }
} else if (value instanceof Project) {
s = ((Project)value).getName();
|