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

Method display

ij/src/main/java/ij/plugin/frame/Editor.java:496–505  ·  view source on GitHub ↗
(String title, String text)

Source from the content-addressed store, hash-verified

494 }
495
496 public void display(String title, String text) {
497 ta.selectAll();
498 ta.replaceRange(text, ta.getSelectionStart(), ta.getSelectionEnd());
499 ta.setCaretPosition(0);
500 setWindowTitle(title);
501 changes = false;
502 if (IJ.getInstance()!=null)
503 show();
504 WindowManager.setWindow(this);
505 }
506
507 @AstroImageJ(reason = "Add save listener")
508 public void addSaveListener(Runnable r) {

Callers 3

showErrorsMethod · 0.80
showDialogMethod · 0.80
showDialogMethod · 0.80

Calls 7

setWindowTitleMethod · 0.95
getInstanceMethod · 0.95
setWindowMethod · 0.95
selectAllMethod · 0.45
getSelectionStartMethod · 0.45
getSelectionEndMethod · 0.45
showMethod · 0.45

Tested by

no test coverage detected