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

Method selectionName

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

Source from the content-addressed store, hash-verified

4650 }
4651
4652 String selectionName() {
4653 Roi roi = getImage().getRoi();
4654 String name = null;
4655 if (roi==null)
4656 interp.error("No selection");
4657 else
4658 name = roi.getName();
4659 return name!=null?name:"";
4660 }
4661
4662 String openFile() {
4663 if (writer!=null) {

Callers 1

getStringFunctionMethod · 0.95

Calls 4

getImageMethod · 0.95
getNameMethod · 0.95
getRoiMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected