[Bprocessor-commit] gl/src/net/sourceforge/bprocessor/gl Editor.java, 1.11, 1.12
Status: Pre-Alpha
Brought to you by:
henryml
From: rimestad <rim...@us...> - 2007-12-20 09:37:47
|
Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12790/src/net/sourceforge/bprocessor/gl Modified Files: Editor.java Log Message: changeTool on Editor now return the resulting tool from the change... FinalMovetool start a move of a instance by grabbing the handle by which it is moved and make Instance popup choice start moving the created instance. Index: Editor.java =================================================================== RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/Editor.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** Editor.java 19 Dec 2007 11:40:54 -0000 1.11 --- Editor.java 20 Dec 2007 09:37:44 -0000 1.12 *************** *** 370,377 **** /** ! * Change the tool * @param mode The new tool */ ! public void changeTool(int mode) { tool.cleanUp(); this.repaint(true); --- 370,378 ---- /** ! * Change the tool used by gl * @param mode The new tool + * @return The chosen tool */ ! public Tool changeTool(int mode) { tool.cleanUp(); this.repaint(true); *************** *** 398,401 **** --- 399,403 ---- } getView().reset(); + return tool; } |