public interface MutableModuleInfo extends ModuleInfo
ModuleInfo extension allowing manipulation of its metadata.
In particular, module inputs and outputs can be added, edited and removed.
Note that a MutableModuleInfo does not necessarily have
MutableModuleItems!
DynamicCommandAPPLICATION_MENU_ROOT| Modifier and Type | Method and Description |
|---|---|
void |
addInput(ModuleItem<?> input)
Adds an input to the list.
|
void |
addOutput(ModuleItem<?> output)
Adds an output to the list.
|
Class<? extends Module> |
getModuleClass()
Gets the module class described by this
ModuleInfo. |
void |
removeInput(ModuleItem<?> input)
Removes an input from the list.
|
void |
removeOutput(ModuleItem<?> output)
Removes an output from the list.
|
void |
setModuleClass(Class<? extends Module> moduleClass)
Sets the module class described by this
ModuleInfo. |
canCancel, canPreview, canRunHeadless, createModule, getDelegateClassName, getInitializer, getInput, getInput, getOutput, getOutput, inputs, isInteractive, loadDelegateClass, outputs, updategetIconPath, getMenuPath, getMenuRoot, getSelectionGroup, getTitle, isEnabled, isSelectable, isSelected, isVisible, setEnabled, setIconPath, setMenuPath, setMenuRoot, setSelectable, setSelected, setSelectionGroup, setVisibleget, getDescription, getLabel, is, set, setDescription, setLabelgetPriority, setPrioritycompareTogetProblems, isValidvoid setModuleClass(Class<? extends Module> moduleClass)
ModuleInfo.Class<? extends Module> getModuleClass()
ModuleInfo.void addInput(ModuleItem<?> input)
void addOutput(ModuleItem<?> output)
void removeInput(ModuleItem<?> input)
void removeOutput(ModuleItem<?> output)
Copyright © 2009–2016 SciJava. All rights reserved.