MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / reset

Method reset

ij/src/main/java/ij/Undo.java:108–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 public static void reset() {
109 //if (IJ.debugMode) IJ.log("Undo.reset: "+ whatToUndo+" "+impCopy);
110 if (whatToUndo==COMPOUND_FILTER || whatToUndo==OVERLAY_ADDITION)
111 return;
112 whatToUndo = NOTHING;
113 imageID = 0;
114 ipCopy = null;
115 impCopy = null;
116 calCopy = null;
117 roiCopy = null;
118 lutCopy = null;
119 overlayCopy = null;
120 }
121
122 public static void undo() {
123 ImagePlus imp = WindowManager.getCurrentImage();

Callers 15

outOfMemoryMethod · 0.95
mousePressedMethod · 0.95
setupMethod · 0.95
undoMethod · 0.95
setCurrentWindowMethod · 0.95
removeImageWindowMethod · 0.95
doStackOperationMethod · 0.95
runMethod · 0.95
convertMethod · 0.95
convertStackMethod · 0.95
runMethod · 0.95
scaleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected