[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl/tool MoveTool.java,1.29,1.30 SpaceTool.java
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2006-01-30 14:48:54
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24151/src/net/sourceforge/bprocessor/gl/tool Modified Files: MoveTool.java SpaceTool.java RotationTool.java Log Message: Removed "Constraints" object and moved functionality to Project Index: SpaceTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/SpaceTool.java,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** SpaceTool.java 30 Jan 2006 10:04:45 -0000 1.9 --- SpaceTool.java 30 Jan 2006 14:48:44 -0000 1.10 *************** *** 28,32 **** import net.sourceforge.bprocessor.gl.GLView; import net.sourceforge.bprocessor.model.Constraint; - import net.sourceforge.bprocessor.model.Constraints; import net.sourceforge.bprocessor.model.CoordinateSystem; import net.sourceforge.bprocessor.model.Edge; --- 28,31 ---- *************** *** 208,212 **** if (master != null && slave != null) { OffsetConstraint constraint = new OffsetConstraint(master, slave); ! Constraints.getInstance().add(constraint); } } --- 207,211 ---- if (master != null && slave != null) { OffsetConstraint constraint = new OffsetConstraint(master, slave); ! Project.getInstance().add(constraint); } } Index: MoveTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/MoveTool.java,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** MoveTool.java 30 Jan 2006 11:31:43 -0000 1.29 --- MoveTool.java 30 Jan 2006 14:48:44 -0000 1.30 *************** *** 10,14 **** import net.sourceforge.bprocessor.gl.model.ClippingPlane; - import net.sourceforge.bprocessor.model.Constraints; import net.sourceforge.bprocessor.model.Edge; import net.sourceforge.bprocessor.model.Entity; --- 10,13 ---- *************** *** 100,104 **** } else { if (o instanceof Entity) { ! Constraints.getInstance().update((Entity) o); } } --- 99,103 ---- } else { if (o instanceof Entity) { ! Project.getInstance().updateConstraints((Entity) o); } } Index: RotationTool.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/RotationTool.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** RotationTool.java 30 Jan 2006 14:11:55 -0000 1.6 --- RotationTool.java 30 Jan 2006 14:48:44 -0000 1.7 *************** *** 10,14 **** import net.sourceforge.bprocessor.gl.model.ClippingPlane; ! import net.sourceforge.bprocessor.model.Constraints; import net.sourceforge.bprocessor.model.Edge; import net.sourceforge.bprocessor.model.Entity; --- 10,14 ---- import net.sourceforge.bprocessor.gl.model.ClippingPlane; ! import net.sourceforge.bprocessor.model.Project; import net.sourceforge.bprocessor.model.Edge; import net.sourceforge.bprocessor.model.Entity; *************** *** 89,93 **** Object o = iter.next(); if (o instanceof Entity) { ! Constraints.getInstance().update((Entity) o); } } --- 89,93 ---- Object o = iter.next(); if (o instanceof Entity) { ! Project.getInstance().updateConstraints((Entity) o); } } |