()
| 81 | } |
| 82 | |
| 83 | void paste() { |
| 84 | if (ImagePlus.getClipboard()==null) |
| 85 | showSystemClipboard(); |
| 86 | else { |
| 87 | ImagePlus imp = WindowManager.getCurrentImage(); |
| 88 | if (imp!=null) { |
| 89 | imp.paste(); |
| 90 | if (Recorder.scriptMode()) |
| 91 | Recorder.recordCall("imp.paste();"); |
| 92 | } else |
| 93 | showInternalClipboard (); |
| 94 | } |
| 95 | } |
| 96 | |
| 97 | void setup() { |
| 98 | if (clipboard==null) |
no test coverage detected