MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / paste

Method paste

ij/src/main/java/ij/plugin/Clipboard.java:83–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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)

Callers 2

runMethod · 0.95
analyzeParticlesMethod · 0.45

Calls 7

getClipboardMethod · 0.95
showSystemClipboardMethod · 0.95
getCurrentImageMethod · 0.95
pasteMethod · 0.95
scriptModeMethod · 0.95
recordCallMethod · 0.95
showInternalClipboardMethod · 0.95

Tested by

no test coverage detected