(String arg)
| 38 | } |
| 39 | |
| 40 | public void run(String arg) { |
| 41 | imp = IJ.getImage(); |
| 42 | if (imp.getStackSize()<2) { |
| 43 | IJ.error("ZAxisProfiler", "This command requires a stack."); |
| 44 | return; |
| 45 | } |
| 46 | isPlotMaker = true; |
| 47 | Plot plot = getPlot(); |
| 48 | if (plot!=null) { |
| 49 | if (isPlotMaker) |
| 50 | plot.setPlotMaker(this); |
| 51 | plot.show(); |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | public Plot getPlot() { |
| 56 | Roi roi = imp.getRoi(); |
nothing calls this directly
no test coverage detected