[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model LayerModellor.java,1.3,1.4
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-02-13 21:16:56
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28219/src/net/sourceforge/bprocessor/model Modified Files: LayerModellor.java Log Message: LayoutManager added to attributeview OffsetConstraint implements Parametric Index: LayerModellor.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/LayerModellor.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** LayerModellor.java 8 Feb 2006 10:10:14 -0000 1.3 --- LayerModellor.java 13 Feb 2006 21:16:47 -0000 1.4 *************** *** 78,82 **** while (iter.hasNext()) { Attribute current = (Attribute) iter.next(); ! if (current.getName().equals("Layer Thickness")) { Double thickness = (Double) current.getValue(); distance = thickness.doubleValue(); --- 78,82 ---- while (iter.hasNext()) { Attribute current = (Attribute) iter.next(); ! if (current.getName().equals("Thickness")) { Double thickness = (Double) current.getValue(); distance = thickness.doubleValue(); *************** *** 92,104 **** public List getAttributes() { LinkedList attributes = new LinkedList(); ! attributes.add(new Attribute("Element Name", "Layer 1")); ! attributes.add(new Attribute("Element Classification", "????")); ! attributes.add(new Attribute("Element Specification", "????")); attributes.add(new Attribute("Surface", surface.getName())); ! attributes.add(new Attribute("Layer Thickness", new Double(distance))); ! attributes.add(new Attribute("Layer Top Offset", new Double(0))); ! attributes.add(new Attribute("Layer Bottom Offset", new Double(0))); ! attributes.add(new Attribute("Next Layer", "NONE")); ! attributes.add(new Attribute("Relation", "????")); return attributes; } --- 92,102 ---- public List getAttributes() { LinkedList attributes = new LinkedList(); ! attributes.add(new Attribute("Name", "Layer 1")); ! attributes.add(new Attribute("Classification", "?")); ! attributes.add(new Attribute("Specification", "?")); attributes.add(new Attribute("Surface", surface.getName())); ! attributes.add(new Attribute("Thickness", new Double(distance))); ! attributes.add(new Attribute("Top Offset", new Double(0))); ! attributes.add(new Attribute("Bottom Offset", new Double(0))); return attributes; } |