Update of /cvsroot/bprocessor//gl/src/net/sourceforge/bprocessor/gl
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv14315/src/net/sourceforge/bprocessor/gl
Modified Files:
GLView.java
Log Message:
Made getPrevious tool private in ToolFactory and changed the callers to use getTool(Tool.PREVIOUS_TOOL) instead
Index: GLView.java
===================================================================
RCS file: /cvsroot/bprocessor//gl/src/net/sourceforge/bprocessor/gl/GLView.java,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** GLView.java 22 Sep 2007 13:54:50 -0000 1.64
--- GLView.java 27 Sep 2007 10:48:53 -0000 1.65
***************
*** 195,199 ****
glc.removeKeyListener(tool);
if (mode == Tool.PREVIOUS_TOOL) {
! tool = ToolFactory.getFactory(this).getPrevious();
} else {
tool = ToolFactory.getFactory(this).get(mode);
--- 195,199 ----
glc.removeKeyListener(tool);
if (mode == Tool.PREVIOUS_TOOL) {
! tool = ToolFactory.getFactory(this).get(Tool.PREVIOUS_TOOL);
} else {
tool = ToolFactory.getFactory(this).get(mode);
|