|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.plugin.PlugInInterpreter
public abstract class PlugInInterpreter
Plugins that run scripts (e.g., BeanShell, Jython) extend this class.
Constructor Summary | |
---|---|
PlugInInterpreter()
|
Method Summary | |
---|---|
abstract String |
getImports()
Returns the import statements that are added to the script. |
abstract String |
getName()
Returns the name of this PlugInInterpreter. |
abstract String |
getReturnValue()
Returns the value returned by the script, if any, or null. |
abstract String |
getVersion()
Returns the version of ImageJ at the time this plugin was created. |
void |
run(String script)
Run script on separate thread. |
abstract String |
run(String script,
String arg)
Run script on current thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlugInInterpreter()
Method Detail |
---|
public void run(String script)
run
in interface PlugIn
public abstract String run(String script, String arg)
public abstract String getReturnValue()
public abstract String getName()
public abstract String getImports()
public abstract String getVersion()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |