Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12178/src/net/sourceforge/bprocessor/model
Modified Files:
Space.java
Log Message:
when a space is cleared the void space in it is in the correct level now
Index: Space.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Space.java,v
retrieving revision 1.70
retrieving revision 1.71
diff -C2 -d -r1.70 -r1.71
*** Space.java 3 Oct 2006 10:04:04 -0000 1.70
--- Space.java 4 Oct 2006 14:46:22 -0000 1.71
***************
*** 84,88 ****
*/
private Space proto;
!
/** The empty space in this space (also called void) */
protected Space empty;
--- 84,88 ----
*/
private Space proto;
!
/** The empty space in this space (also called void) */
protected Space empty;
***************
*** 169,173 ****
Space() {
}
!
/**
* Constructor for space
--- 169,173 ----
Space() {
}
!
/**
* Constructor for space
***************
*** 307,311 ****
return proto;
}
!
/**
*
--- 307,311 ----
return proto;
}
!
/**
*
***************
*** 332,336 ****
return name;
}
!
/**
* Set the name
--- 332,336 ----
return name;
}
!
/**
* Set the name
***************
*** 362,367 ****
return empty;
}
!
!
/**
* Set the discription
--- 362,367 ----
return empty;
}
!
!
/**
* Set the discription
***************
*** 371,375 ****
this.description = new Description(des);
}
!
/**
* Set the description
--- 371,375 ----
this.description = new Description(des);
}
!
/**
* Set the description
***************
*** 397,401 ****
constructors.clear();
nextConstructorId = 1;
! empty = new Space("Void", FUNCTIONAL, this.level, false);
this.add(empty);
}
--- 397,401 ----
constructors.clear();
nextConstructorId = 1;
! empty = new Space("Void", FUNCTIONAL, this.level + 1, false);
this.add(empty);
}
***************
*** 1085,1088 ****
--- 1085,1091 ----
}
}
+ if (element.getModellor() != null) {
+ element.getModellor().delete();
+ }
}
***************
*** 1355,1359 ****
}
}
!
/**
* Delete the entity
--- 1358,1362 ----
}
}
!
/**
* Delete the entity
|