/** * desc here * * @param paramsdeschere * * @return returndeschere */ public static void undo() { if (toolAction.Count() > 0) { ToolAction tool = toolAction.Pop(); undos.Push(tool); tool.undoAction(); } }