|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableModule
Module
extension allowing manipulation of its metadata.
In particular, module inputs and outputs can be added, edited and removed.
A MutableModule
always has MutableModuleInfo
attached to it,
accessible via the getInfo()
method.
DynamicCommand
Method Summary | ||
---|---|---|
void |
addInput(ModuleItem<?> input)
Adds an input to the list. |
|
|
addInput(String name,
Class<T> type)
Adds an input to the list. |
|
void |
addOutput(ModuleItem<?> output)
Adds an output to the list. |
|
|
addOutput(String name,
Class<T> type)
Adds an output to the list. |
|
MutableModuleInfo |
getInfo()
Gets metadata about this module. |
|
void |
removeInput(ModuleItem<?> input)
Removes an input from the list. |
|
void |
removeOutput(ModuleItem<?> output)
Removes an output from the list. |
Methods inherited from interface org.scijava.module.Module |
---|
cancel, getDelegateObject, getInput, getInputs, getOutput, getOutputs, initialize, isResolved, preview, setInput, setInputs, setOutput, setOutputs, setResolved |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
<T> MutableModuleItem<T> addInput(String name, Class<T> type)
void addInput(ModuleItem<?> input)
<T> MutableModuleItem<T> addOutput(String name, Class<T> type)
void addOutput(ModuleItem<?> output)
void removeInput(ModuleItem<?> input)
void removeOutput(ModuleItem<?> output)
MutableModuleInfo getInfo()
Module
getInfo
in interface Module
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |