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

Method setOptions

ij/src/main/java/ij/Macro.java:93–99  ·  view source on GitHub ↗

Define a set of Macro options for the current Thread.

(String options)

Source from the content-addressed store, hash-verified

91
92 /** Define a set of Macro options for the current Thread. */
93 public static void setOptions(String options) {
94 //IJ.log("setOptions: "+Thread.currentThread().getName()+" "+Thread.currentThread().hashCode()+" "+options); //ts
95 if (options==null || options.equals(""))
96 table.remove(Thread.currentThread());
97 else
98 table.put(Thread.currentThread(), options);
99 }
100
101 /** Define a set of Macro options for a Thread. */
102 public static void setOptions(Thread thread, String options) {

Callers 15

runMethod · 0.95
showErrorMethod · 0.95
mergeStacksMethod · 0.95
runMethod · 0.95
showDialogMethod · 0.95
showDialogMethod · 0.95
interpolateMethod · 0.95
convertStackMethod · 0.95
showDialogMethod · 0.95
runMethod · 0.95
showDialogMethod · 0.95

Calls 3

equalsMethod · 0.45
removeMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected