/* * (c) 2005-2009 Carlos G�mez Rodr�guez, todos los derechos reservados / all rights reserved. * Licencia en license/bsd.txt / License in license/bsd.txt */ package org.f2o.absurdum.puck.gui; import java.awt.event.ActionEvent; import javax.swing.AbstractAction; import org.f2o.absurdum.puck.gui.cursors.CursorHandler; import org.f2o.absurdum.puck.gui.graph.GraphEditingPanel; /* Created 21/11/2007 20:23:43 */ public class ExecAgeTool extends ToolAction { private PuckFrame frame; public ExecAgeTool ( PuckFrame frame ) { super(null); this.frame = frame; } public boolean isToolSelectionPersistent() { //Persistent tool selection makes no sense for this tool, so we return false. return false; } public void actionPerformed(ActionEvent arg0) { frame.runCurrentFileInAge(); } //We are overriding actionPerformed directly here, so loadTool() and unloadTool() are unused. public void loadTool() {} public void unloadTool() {} }