[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Container.java, 1.25, 1.26
Status: Pre-Alpha
Brought to you by:
henryml
From: Michael L. <he...@us...> - 2009-05-29 11:58:04
|
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 |