Update of /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4144
Modified Files:
AbstractTool.java Tool.java
Log Message:
added a clean up method for tool
Index: Tool.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/Tool.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** Tool.java 29 Nov 2005 19:01:12 -0000 1.13
--- Tool.java 6 Dec 2005 16:49:19 -0000 1.14
***************
*** 35,39 ****
public static final int TAPE_MEASURE_TOOL = 6;
-
/**
* Return the current selection
--- 35,38 ----
***************
*** 48,51 ****
public Cursor getCursor();
!
}
--- 47,53 ----
public Cursor getCursor();
! /**
! * Lets the tool clean up after it self before changing tool.
! */
! public void cleanUp();
}
Index: AbstractTool.java
===================================================================
RCS file: /cvsroot/bprocessor/gl/src/net/sourceforge/bprocessor/gl/tool/AbstractTool.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** AbstractTool.java 1 Dec 2005 10:10:02 -0000 1.33
--- AbstractTool.java 6 Dec 2005 16:49:19 -0000 1.34
***************
*** 546,548 ****
--- 546,555 ----
}
}
+
+ /**
+ * Lets the tool clean up after itself before changing tool.
+ */
+ public void cleanUp() {
+ return;
+ }
}
|