public class Debug extends Object
Constructor and Description |
---|
Debug() |
Modifier and Type | Method and Description |
---|---|
static Object |
get(Object object,
String fieldName) |
static void |
run(String plugin,
String parameters)
Debug helper
Call this function from your debugger to debug your plugin
|
static void |
runFilter(String imagePath,
String plugin,
String parameters)
Debug helper
Call this function from your debugger to debug your filter plugin
|
static void |
runFilter(String imagePath,
String plugin,
String parameters,
boolean headless)
Debug helper
Call this function from your debugger to debug your filter plugin
|
static Object |
runPlugIn(String className,
String arg,
boolean headless)
Debug helper
Call this function from your debugger to debug your filter plugin
|
static void |
show(Object object) |
public static void show(Object object)
public static void run(String plugin, String parameters)
plugin
- the menu item label of the plugin to runparameters
- the parameters as recorded by the Recorder, or null if dialogs should pop uppublic static void runFilter(String imagePath, String plugin, String parameters)
imagePath
- the path to the example image to test withplugin
- the menu item label of the plugin to runparameters
- the parameters as recorded by the Recorder, or null if dialogs should pop uppublic static void runFilter(String imagePath, String plugin, String parameters, boolean headless)
imagePath
- the path to the example image to test withplugin
- the menu item label of the plugin to runparameters
- the parameters as recorded by the Recorder, or null if dialogs should pop upheadless
- whether to run in headless modepublic static Object runPlugIn(String className, String arg, boolean headless)
className
- the name of the class implementing either PlugIn
or PlugInFilter
arg
- the String
argument passed to the plugin's run
or setup
methodheadless
- whether to run in headless modeCopyright © 2015–2021 Fiji. All rights reserved.