Package | Description |
---|---|
ij.macro | |
ij.plugin | |
ij.plugin.tool |
Modifier and Type | Method and Description |
---|---|
Program |
Tokenizer.tokenize(java.lang.String program)
Uses a StreamTokenizer to convert an ImageJ macro file into a token stream.
|
Modifier and Type | Method and Description |
---|---|
void |
Interpreter.run(Program pgm)
Interprets the specified tokenized macro file starting at location 0.
|
void |
MacroRunner.run(Program pgm,
int address,
java.lang.String name)
Runs a tokenized macro on the current thread.
|
void |
Interpreter.runMacro(Program pgm,
int macroLoc,
java.lang.String macroName)
Interprets the specified tokenized macro starting at the specified location.
|
void |
MacroRunner.runShortcut(Program pgm,
int address,
java.lang.String name)
Runs tokenized macro on current thread if pgm.queueCommands is true.
|
void |
Interpreter.saveGlobals(Program pgm)
Saves global variables.
|
Constructor and Description |
---|
MacroRunner(Program pgm,
int address,
java.lang.String name)
Create a new object that runs a tokenized macro in a separate thread.
|
MacroRunner(Program pgm,
int address,
java.lang.String name,
Editor editor)
Create a new object that runs a tokenized macro in debug mode if 'editor' is not null.
|
MacroRunner(Program pgm,
int address,
java.lang.String name,
java.lang.String argument)
Create a new object that runs a tokenized macro in a separate thread,
passing a string argument.
|
Modifier and Type | Method and Description |
---|---|
Program |
MacroInstaller.getProgram() |
Modifier and Type | Method and Description |
---|---|
Program |
MacroToolRunner.getMacroProgram() |
Program |
PlugInTool.getMacroProgram() |