[Bprocessor-commit] model/src/net/sourceforge/bprocessor/model Project.java, 1.98, 1.99
Status: Pre-Alpha
Brought to you by:
henryml
|
From: rimestad <rim...@us...> - 2006-12-03 17:50:40
|
Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv10601/src/net/sourceforge/bprocessor/model Modified Files: Project.java Log Message: added a copy buffer to the project. Is used for copy/paste of simple geometry... the buffer is not put in XML. Index: Project.java =================================================================== RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Project.java,v retrieving revision 1.98 retrieving revision 1.99 diff -C2 -d -r1.98 -r1.99 *** Project.java 28 Nov 2006 10:06:55 -0000 1.98 --- Project.java 3 Dec 2006 17:50:36 -0000 1.99 *************** *** 97,100 **** --- 97,103 ---- /** The script of the Project */ private Description script; + + /** The copy buffer */ + private Collection copyBuffer; /** *************** *** 118,121 **** --- 121,125 ---- undoStack = new Stack(); redoStack = new Stack(); + copyBuffer = new LinkedList(); currentCamera = new Camera("(Current)", new double[]{6, 3, 2}, *************** *** 919,922 **** --- 923,934 ---- return cl; } + + /** + * getter for the copy buffer + * @return The copyBuffer + */ + public Collection getCopyBuffer() { + return copyBuffer; + } } |