public void actionPerformed(ActionEvent e) { Object source = e.getSource(); Recorder.disablePathRecording(); if (source==save) save(); else if (source==open) open(); }
public void actionPerformed(ActionEvent e) { Object source = e.getSource(); Recorder.disablePathRecording(); if (source==save) save(); else if (source==open) open(); }
/** Saves plot according to imgPath */ private void savePlot(final Plot plot, final int shollChoice) { if (!validPath || (validPath && !hideSaved)) plot.show(); if (validPath && save) { Recorder.disablePathRecording(); final String path = imgPath + getDescription() + "_ShollPlot" + SHOLL_TYPES[shollChoice] + ".tif"; IJ.saveAs(plot.getImagePlus(), "tiff", path); } }
Recorder.disablePathRecording(); imp2.setOverlay(null); if (overlay!=null && format.equals("tiff")) {
Recorder.disablePathRecording(); imp2.setOverlay(null); if (overlay!=null && format.equals("tiff")) {