Define a set of Macro options for the current Thread.
(String options)
| 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) { |
no test coverage detected