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,
ItemWrapper 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 IPluginLauncher
outName
- next
- inName
- public void chainPrevious(String inName, IPluginLauncher previous, String outName)
chainPrevious
in interface IPluginLauncher
inName
- previous
- outName
- public void externalPut(String name, ItemWrapper image)
externalPut
in interface IPluginLauncher
name
- image
- public String uniqueName(String name)
uniqueName
in interface IPluginLauncher
name
- public void associate(String outName, String fullInName)
associate
in interface IPluginLauncher
outName
- fullInName
- public void quit()
quit
in interface IPluginLauncher
Copyright © 2015–2022 SciJava. All rights reserved.