public class PluginLauncher extends Object implements IPluginLauncher
| Modifier and Type | Field and Description |
|---|---|
static boolean |
s_singleInstance |
| Constructor and Description |
|---|
PluginLauncher(Class<?> pluginClass,
PluginAnnotations annotations)
Creates a launcher for a given class, that has the given input and output
image name annotations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
associate(String outName,
String fullInName)
Associates a unique input image name for some other launcher to our output
image name.
|
void |
chainNext(String outName,
IPluginLauncher next,
String inName)
Chains this launcher to next one.
|
void |
chainPrevious(String inName,
IPluginLauncher previous,
String outName)
Chains this launcher to previous one.
|
void |
externalPut(String name,
ImageWrapper image)
Initiates a plugin chain by feeding a named image to this launcher's
plugin.
|
void |
quit()
Quits processing the chain.
|
String |
uniqueName(String name)
Generates a unique input image name for this launcher.
|
public PluginLauncher(Class<?> pluginClass, PluginAnnotations annotations)
pluginClass - annotations - public void chainNext(String outName, IPluginLauncher next, String inName)
chainNext in interface IPluginLauncheroutName - next - inName - public void chainPrevious(String inName, IPluginLauncher previous, String outName)
chainPrevious in interface IPluginLauncherinName - previous - outName - public void externalPut(String name, ImageWrapper image)
externalPut in interface IPluginLaunchername - image - public String uniqueName(String name)
uniqueName in interface IPluginLaunchername - public void associate(String outName, String fullInName)
associate in interface IPluginLauncheroutName - fullInName - public void quit()
quit in interface IPluginLauncherCopyright © 2015–2022 SciJava. All rights reserved.