(String cmd)
| 190 | } |
| 191 | |
| 192 | private boolean extraCommand(String cmd) { |
| 193 | if (cmd!=null && cmd.equals("Duplicate Image...")) { |
| 194 | ImagePlus imp = WindowManager.getCurrentImage(); |
| 195 | if (imp!=null) { |
| 196 | Duplicator.ignoreNextSelection(); |
| 197 | IJ.run(imp, "Duplicate...", ""); |
| 198 | } else |
| 199 | IJ.noImage(); |
| 200 | return true; |
| 201 | } else |
| 202 | return false; |
| 203 | } |
| 204 | |
| 205 | /** If the foreground image is locked during a filter operation with NonBlockingGenericDialog, |
| 206 | * the following plugins are allowed */ |
no test coverage detected