Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
MeasurementsWriter.java
1 package ij.plugin;
2 import ij.IJ;
3 import ij.text.TextPanel;
4 
6 public class MeasurementsWriter implements PlugIn {
7 
8  public void run(String arg) {
9  if (IJ.isResultsWindow()) {
10  TextPanel tp = IJ.getTextPanel();
11  if (tp!=null)
12  tp.saveAs(arg);
13  }
14  }
15 
16 }
17