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

Method openDialog

ij/src/main/java/ij/macro/Functions.java:4633–4642  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4631 }
4632
4633 String openDialog() {
4634 String title = getStringArg();
4635 OpenDialog od = new OpenDialog(title, null);
4636 String directory = od.getDirectory();
4637 String name = od.getFileName();
4638 if (name==null)
4639 return "";
4640 else
4641 return directory+name;
4642 }
4643
4644 void setSelectionName() {
4645 Roi roi = getImage().getRoi();

Callers 1

doFileMethod · 0.95

Calls 3

getStringArgMethod · 0.95
getDirectoryMethod · 0.95
getFileNameMethod · 0.95

Tested by

no test coverage detected