Update of /cvsroot/bprocessor//model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv16150/src/net/sourceforge/bprocessor/model
Modified Files:
Space.java
Log Message:
minor changes
Index: Space.java
===================================================================
RCS file: /cvsroot/bprocessor//model/src/net/sourceforge/bprocessor/model/Space.java,v
retrieving revision 1.144
retrieving revision 1.145
diff -C2 -d -r1.144 -r1.145
*** Space.java 18 May 2007 19:09:26 -0000 1.144
--- Space.java 20 May 2007 10:28:52 -0000 1.145
***************
*** 702,706 ****
* @return The resulting list of edges
*/
! public List<Edge> insert(List<Edge> edges) {
List<Edge> tmp = new ArrayList<Edge>(edges.size());
for (Edge edge : edges) {
--- 702,706 ----
* @return The resulting list of edges
*/
! public List<Edge> insert(Collection<Edge> edges) {
List<Edge> tmp = new ArrayList<Edge>(edges.size());
for (Edge edge : edges) {
***************
*** 1675,1678 ****
--- 1675,1684 ----
res = "Net" + res;
break;
+ case PROJECT_LEVEL:
+ res = "Proj" + res;
+ break;
+ default:
+ res = "Spc(def)" + res;
+ break;
}
if (getClassification() != null) {
***************
*** 2642,2645 ****
--- 2648,2654 ----
*/
public String getLevelString() {
+ if (isUnion()) {
+ return "Union";
+ }
if (getLevel() == Space.PROJECT_LEVEL) {
return "Project";
***************
*** 2661,2665 ****
/**
! *
* @param vertices Collection of vertices
* @return Map of edges going into the collection
--- 2670,2676 ----
/**
! * Find for each vertex in the given collection, if possible, a edge in this space
! * that are only reachable from that vertex. e.i. a possible edge out of the collection
! * of vertices. Useable for creating a map of vertex to sliding edge
* @param vertices Collection of vertices
* @return Map of edges going into the collection
|