2,2c2,2 < * @(#)AbstractTool.java 5.2 --- > * @(#)AbstractTool.java 3a4,9 > * Project: JHotdraw - a GUI framework for technical drawings > * http://www.jhotdraw.org > * http://jhotdraw.sourceforge.net > * Copyright: © by the original author(s) and all contributors > * License: Lesser GNU Public License (LGPL) > * http://www.opensource.org/licenses/lgpl-license.html 11,11c14,14 < import CH.ifa.draw.framework.*; --- > import CH.ifa.draw.framework.*; 11a15,15 > import CH.ifa.draw.util.Undoable; 17a25,26 > * > * @version <$CURRENT_VERSION$> 20,20c29,29 < public class AbstractTool implements Tool { --- > public abstract class AbstractTool implements Tool { 28a38,39 > private Undoable myUndoActivity; > 95,95c106,106 < * Gets the tool's editor. --- > * Gets the tool's editor (convenience method). 106a118,125 > > public Undoable getUndoActivity() { > return myUndoActivity; > } > > public void setUndoActivity(Undoable newUndoActivity) { > myUndoActivity = newUndoActivity; > }