Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv20678/src/net/sourceforge/bprocessor/model
Modified Files:
Container.java
Log Message:
Grid bugfix
Index: Container.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Container.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** Container.java 15 May 2009 11:17:48 -0000 1.25
--- Container.java 29 May 2009 11:57:59 -0000 1.26
***************
*** 497,500 ****
--- 497,513 ----
/**
+ *
+ * @return Grid
+ */
+ public Grid getGrid() {
+ for (Constructor current : getConstructors()) {
+ if (current instanceof Grid) {
+ return (Grid) current;
+ }
+ }
+ return null;
+ }
+
+ /**
* Answer with a collection of coordinatesystems in this space
* @return collection of coordinatesystems
|