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

Method copy

ij/src/main/java/ij/plugin/frame/Fitter.java:289–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

287 }
288
289 private boolean copy() {
290 String s = textArea.getSelectedText();
291 Clipboard clip = getToolkit().getSystemClipboard();
292 if (clip!=null) {
293 StringSelection cont = new StringSelection(s);
294 clip.setContents(cont,this);
295 return true;
296 } else
297 return false;
298 }
299
300
301 private void cut() {

Callers 2

actionPerformedMethod · 0.95
cutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected