public interface BatchInputProvider<I> extends HandlerPlugin<BatchInput>
Modifier and Type | Method and Description |
---|---|
boolean |
canProvide(ModuleItem<?> moduleItem)
Check if a given
ModuleItem can be populated by this input provider. |
String |
getTargetWidgetStyle(ModuleItem<?> moduleItem) |
default Class<BatchInput> |
getType()
Gets the type associated with the object.
|
void |
populateInput(Module module,
ModuleItem<?> moduleItem,
I inputObject) |
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
default Class<BatchInput> getType()
Typed
getType
in interface Typed<BatchInput>
boolean canProvide(ModuleItem<?> moduleItem)
ModuleItem
can be populated by this input provider.
Implementations should make sure to not only match the type of objects, but
also respect possible widget style settings, such as files, directories,
image files only, etc.moduleItem
- the input item that needs to be populatedvoid populateInput(Module module, ModuleItem<?> moduleItem, I inputObject)
String getTargetWidgetStyle(ModuleItem<?> moduleItem)
Copyright © 2015–2022 SciJava. All rights reserved.