Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv8031/src/net/sourceforge/bprocessor/model/modellor
Modified Files:
ModelBathModellor2.java
Log Message:
Refactor
Index: ModelBathModellor2.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/modellor/ModelBathModellor2.java,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** ModelBathModellor2.java 3 Nov 2008 13:14:09 -0000 1.17
--- ModelBathModellor2.java 3 Nov 2008 14:26:18 -0000 1.18
***************
*** 674,679 ****
public Modellor newInstance(Container s) {
if (s.getLevel() == Container.PROJECT_LEVEL) {
! Container bath = Space.createConstructionSpace("Bath-union");
! bath.setUnion(true);
s.add(bath);
return new ModelBathModellor2(bath);
--- 674,678 ----
public Modellor newInstance(Container s) {
if (s.getLevel() == Container.PROJECT_LEVEL) {
! Container bath = Space.createUnion("Bath-union");
s.add(bath);
return new ModelBathModellor2(bath);
|