Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv11260/src/net/sourceforge/bprocessor/gui/attrview
Modified Files:
ClassificationIdAttribute.java
ClassificationTextAttribute.java
Log Message:
Changed a few of the labels in the classification to the new names agreed upon with KA
Index: ClassificationTextAttribute.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/ClassificationTextAttribute.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ClassificationTextAttribute.java 17 Dec 2006 20:24:12 -0000 1.4
--- ClassificationTextAttribute.java 24 Jan 2007 10:25:14 -0000 1.5
***************
*** 74,78 ****
public ClassificationTextAttribute(Attribute attribute) {
super(BoxLayout.X_AXIS);
! label = new JLabel(attribute.getName() + ": ");
this.attribute = attribute;
this.listeners = new LinkedList();
--- 74,83 ----
public ClassificationTextAttribute(Attribute attribute) {
super(BoxLayout.X_AXIS);
! if (attribute.getName().equalsIgnoreCase("Classification")) {
! label = new JLabel("Reference: ");
! } else {
! label = new JLabel("Type: ");
! }
!
this.attribute = attribute;
this.listeners = new LinkedList();
***************
*** 84,88 ****
component.add(cur);
} else {
! JLabel cur = new JLabel("unassigned");
cur.setFont(AttributeView.FONT_PLAIN);
component.add(cur);
--- 89,93 ----
component.add(cur);
} else {
! JLabel cur = new JLabel("none");
cur.setFont(AttributeView.FONT_PLAIN);
component.add(cur);
Index: ClassificationIdAttribute.java
===================================================================
RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/ClassificationIdAttribute.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** ClassificationIdAttribute.java 6 Jan 2007 21:10:46 -0000 1.4
--- ClassificationIdAttribute.java 24 Jan 2007 10:25:14 -0000 1.5
***************
*** 61,65 ****
this.listeners = new LinkedList();
Box column = Box.createVerticalBox();
! label = createLabel("Classification");
component = Box.createHorizontalBox();
if (!attribute.getClassification().getName().equalsIgnoreCase("Classification") &&
--- 61,65 ----
this.listeners = new LinkedList();
Box column = Box.createVerticalBox();
! label = createLabel("Code");
component = Box.createHorizontalBox();
if (!attribute.getClassification().getName().equalsIgnoreCase("Classification") &&
|