/** For live plots, if either the source image or this image are closed, exit live mode */ public void imageClosed(ImagePlus imp) { if (imp==srcImp || imp==this.imp) { disableLivePlot(); srcImp = null; plotMaker = null; } }
/** For live plots, if either the source image or this image are closed, exit live mode */ public void imageClosed(ImagePlus imp) { if (imp==srcImp || imp==this.imp) { disableLivePlot(); srcImp = null; plotMaker = null; } }
private void toggleLiveProfiling() { boolean liveMode = bgThread != null; if (liveMode) disableLivePlot(); else enableLivePlot(); }
private void toggleLiveProfiling() { boolean liveMode = bgThread != null; if (liveMode) disableLivePlot(); else enableLivePlot(); }
/** Releases the resources used by this PlotWindow */ public void dispose() { if (plot!=null) plot.dispose(); disableLivePlot(); plot = null; plotMaker = null; srcImp = null; super.dispose(); }
/** Releases the resources used by this PlotWindow */ public void dispose() { if (plot!=null) plot.dispose(); disableLivePlot(); plot = null; plotMaker = null; srcImp = null; super.dispose(); }