|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MutableModuleInfo
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
MutableModuleItem
s!
DynamicCommand
Field Summary |
---|
Fields inherited from interface org.scijava.UIDetails |
---|
APPLICATION_MENU_ROOT |
Method Summary | |
---|---|
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 . |
Methods inherited from interface org.scijava.module.ModuleInfo |
---|
canCancel, canPreview, canRunHeadless, createModule, getDelegateClassName, getInitializer, getInput, getInput, getOutput, getOutput, inputs, isInteractive, loadDelegateClass, outputs, update |
Methods inherited from interface org.scijava.UIDetails |
---|
getIconPath, getMenuPath, getMenuRoot, getSelectionGroup, getTitle, isEnabled, isSelectable, isSelected, isVisible, setEnabled, setIconPath, setMenuPath, setMenuRoot, setSelectable, setSelected, setSelectionGroup, setVisible |
Methods inherited from interface org.scijava.BasicDetails |
---|
get, getDescription, getLabel, is, set, setDescription, setLabel |
Methods inherited from interface org.scijava.Named |
---|
getName, setName |
Methods inherited from interface org.scijava.Prioritized |
---|
getPriority, setPriority |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface org.scijava.Validated |
---|
getProblems, isValid |
Method Detail |
---|
void 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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |