/** Freezes the active plot window, so the image does not get redrawn for zooming, * setting the range, etc. */ public static void freeze() { Window win = WindowManager.getActiveWindow(); if (win!=null && (win instanceof PlotWindow)) ((PlotWindow)win).getPlot().setFrozen(true); }
/** Freezes the active plot window, so the image does not get redrawn for zooming, * setting the range, etc. */ public static void freeze() { Window win = WindowManager.getActiveWindow(); if (win!=null && (win instanceof PlotWindow)) ((PlotWindow)win).getPlot().setFrozen(true); }
if (win==null) continue; if (win instanceof PlotWindow && !((PlotWindow)win).getPlot().isFrozen()) { IJ.error("Tile", "Unfrozen plot windows cannot be tiled."); return;
if (win==null) continue; if (win instanceof PlotWindow && !((PlotWindow)win).getPlot().isFrozen()) { IJ.error("Tile", "Unfrozen plot windows cannot be tiled."); return;
ImageWindow win = imp.getWindow(); if (win!=null && (win instanceof PlotWindow)) ((PlotWindow)win).getPlot().setFrozen(true); ImageProcessor newIP = expandImage(imp.getProcessor(), wNew, hNew, xOff, yOff); imp.setProcessor(null, newIP);
ImageWindow win = imp.getWindow(); if (win!=null && (win instanceof PlotWindow)) ((PlotWindow)win).getPlot().setFrozen(true); ImageProcessor newIP = expandImage(imp.getProcessor(), wNew, hNew, xOff, yOff); imp.setProcessor(null, newIP);