[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui/attrview ClassificationAttribute.java, 1
Status: Pre-Alpha
Brought to you by:
henryml
From: Nikolaj B. <nbr...@us...> - 2006-10-27 10:25:52
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv13324/src/net/sourceforge/bprocessor/gui/attrview Modified Files: ClassificationAttribute.java Log Message: Temporary fix that was making attribute view for spaces unstable Index: ClassificationAttribute.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/attrview/ClassificationAttribute.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ClassificationAttribute.java 24 Oct 2006 20:38:28 -0000 1.2 --- ClassificationAttribute.java 27 Oct 2006 10:25:44 -0000 1.3 *************** *** 72,76 **** component1 = Box.createHorizontalBox(); component2 = Box.createHorizontalBox(); ! if (attribute.getClassification() != null) { component2.add(createValueLabel(attribute.getClassification().getFullId())); } else { --- 72,78 ---- component1 = Box.createHorizontalBox(); component2 = Box.createHorizontalBox(); ! System.out.println(); ! if (attribute.getClassification() != null ! && !attribute.getClassification().getName().equalsIgnoreCase("Classification")) { component2.add(createValueLabel(attribute.getClassification().getFullId())); } else { *************** *** 262,266 **** if (editor == null) { component2.remove(0); ! if (attribute.getClassification() != null) { editor = (JTextField) createValueEditor(attribute.getClassification().getFullId()); } else { --- 264,269 ---- if (editor == null) { component2.remove(0); ! if (attribute.getClassification() != null ! && !attribute.getClassification().getName().equalsIgnoreCase("Classification")) { editor = (JTextField) createValueEditor(attribute.getClassification().getFullId()); } else { |