Modifier and Type | Class and Description |
---|---|
class |
FileScriptBatchProcessor |
class |
MenuScriptBatchProcessor |
class |
ModuleBatchProcessor<T> |
Modifier and Type | Method and Description |
---|---|
<I> void |
FileBatchService.fillInput(Module module,
ModuleItem<?> moduleItem,
I inputObject) |
<I> void |
BatchService.fillInput(Module module,
ModuleItem<?> moduleItem,
I inputObject)
Fill a provided ModuleItem with a given input object
|
Modifier and Type | Method and Description |
---|---|
void |
FileBatchInputProvider.populateInput(Module module,
ModuleItem<?> moduleItem,
File inputObject) |
void |
BatchInputProvider.populateInput(Module module,
ModuleItem<?> moduleItem,
I inputObject) |
Modifier and Type | Class and Description |
---|---|
class |
CommandModule
Module adapter class for working with a
Command instance. |
class |
DynamicCommand
A command with a variable number of inputs and outputs.
|
class |
Inputs
A way to build a dynamic set of inputs, whose values are then harvested by
the preprocessing framework.
|
class |
InteractiveCommand
A command intended to be run interactively.
|
class |
ModuleCommand
A command which implements
Module directly (rather than using the
CommandModule adapter class). |
Modifier and Type | Method and Description |
---|---|
Module |
CommandInfo.createModule() |
Module |
CommandInfo.createModule(Command commandInstance)
Instantiates the module described by this module info, around the specified
existing command instance.
|
Modifier and Type | Method and Description |
---|---|
void |
DisplayPostprocessor.process(Module module) |
void |
ActiveDisplayPreprocessor.process(Module module) |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableModule
Module extension allowing manipulation of its metadata. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractModule
Abstract superclass of
Module implementations. |
class |
DefaultMutableModule
Default
MutableModule implementation, intended for subclassing. |
Modifier and Type | Method and Description |
---|---|
<M extends Module> |
ModuleService.run(M module,
boolean process,
Map<String,Object> inputMap)
Executes the given module.
|
<M extends Module> |
DefaultModuleService.run(M module,
boolean process,
Map<String,Object> inputMap) |
<M extends Module> |
ModuleService.run(M module,
boolean process,
Object... inputs)
Executes the given module.
|
<M extends Module> |
DefaultModuleService.run(M module,
boolean process,
Object... inputs) |
<M extends Module> |
ModuleService.run(M module,
List<? extends ModulePreprocessor> pre,
List<? extends ModulePostprocessor> post,
Map<String,Object> inputMap)
Executes the given module.
|
<M extends Module> |
DefaultModuleService.run(M module,
List<? extends ModulePreprocessor> pre,
List<? extends ModulePostprocessor> post,
Map<String,Object> inputMap) |
<M extends Module> |
ModuleService.run(M module,
List<? extends ModulePreprocessor> pre,
List<? extends ModulePostprocessor> post,
Object... inputs)
Executes the given module.
|
<M extends Module> |
DefaultModuleService.run(M module,
List<? extends ModulePreprocessor> pre,
List<? extends ModulePostprocessor> post,
Object... inputs) |
<M extends Module> |
ModuleService.waitFor(Future<M> future)
Blocks until the given module is finished executing.
|
<M extends Module> |
DefaultModuleService.waitFor(Future<M> future) |
Modifier and Type | Method and Description |
---|---|
Module |
ModuleRunner.call() |
default Module |
MutableModuleInfo.createModule() |
Module |
ModuleInfo.createModule()
Instantiates the module described by this module info.
|
Module |
ModuleService.createModule(ModuleInfo info)
Creates an instance of the given module.
|
Module |
DefaultModuleService.createModule(ModuleInfo info) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Module> |
MutableModuleInfo.getModuleClass()
Gets the module class described by this
ModuleInfo . |
Class<? extends Module> |
DefaultMutableModuleInfo.getModuleClass() |
Future<Module> |
ModuleService.run(ModuleInfo info,
boolean process,
Map<String,Object> inputMap)
Executes the given module.
|
Future<Module> |
DefaultModuleService.run(ModuleInfo info,
boolean process,
Map<String,Object> inputMap) |
Future<Module> |
ModuleService.run(ModuleInfo info,
boolean process,
Object... inputs)
Executes the given module.
|
Future<Module> |
DefaultModuleService.run(ModuleInfo info,
boolean process,
Object... inputs) |
Future<Module> |
ModuleService.run(ModuleInfo info,
List<? extends ModulePreprocessor> pre,
List<? extends ModulePostprocessor> post,
Map<String,Object> inputMap)
Executes the given module.
|
Future<Module> |
DefaultModuleService.run(ModuleInfo info,
List<? extends ModulePreprocessor> pre,
List<? extends ModulePostprocessor> post,
Map<String,Object> inputMap) |
Future<Module> |
ModuleService.run(ModuleInfo info,
List<? extends ModulePreprocessor> pre,
List<? extends ModulePostprocessor> post,
Object... inputs)
Executes the given module.
|
Future<Module> |
DefaultModuleService.run(ModuleInfo info,
List<? extends ModulePreprocessor> pre,
List<? extends ModulePostprocessor> post,
Object... inputs) |
Modifier and Type | Method and Description |
---|---|
void |
ModuleItem.callback(Module module)
Invokes this item's callback function, if any, on the given module.
|
void |
AbstractModuleItem.callback(Module module) |
<T> ModuleItem<T> |
ModuleService.getSingleInput(Module module,
Class<T> type)
Checks the given module for a solitary unresolved fillable input of the
given type, returning the relevant
ModuleItem if found, or null if
not exactly one unresolved fillable input of that type. |
<T> ModuleItem<T> |
DefaultModuleService.getSingleInput(Module module,
Class<T> type) |
ModuleItem<?> |
ModuleService.getSingleInput(Module module,
Collection<Class<?>> types)
As
ModuleService.getSingleInput(Module, Class) but will match with a set of
potential classes, at the cost of generic parameter safety. |
ModuleItem<?> |
DefaultModuleService.getSingleInput(Module module,
Collection<Class<?>> types) |
<T> ModuleItem<T> |
ModuleService.getSingleOutput(Module module,
Class<T> type)
Checks the given module for a solitary unresolved output of the given type,
returning the relevant
ModuleItem if found, or null if not exactly
one unresolved output of that type. |
<T> ModuleItem<T> |
DefaultModuleService.getSingleOutput(Module module,
Class<T> type) |
ModuleItem<?> |
ModuleService.getSingleOutput(Module module,
Collection<Class<?>> types)
As
ModuleService.getSingleOutput(Module, Class) but will match with a set of
potential classes, at the cost of generic parameter safety. |
ModuleItem<?> |
DefaultModuleService.getSingleOutput(Module module,
Collection<Class<?>> types) |
T |
ModuleItem.getValue(Module module)
Gets the item's current value with respect to the given module.
|
T |
AbstractModuleItem.getValue(Module module) |
void |
ModuleItem.initialize(Module module)
Invokes this item's initializer function, if any, on the given module.
|
void |
AbstractModuleItem.initialize(Module module) |
void |
ModuleService.loadInputs(Module module)
Loads values from persistent storage into the given
Module . |
void |
DefaultModuleService.loadInputs(Module module) |
void |
ModuleService.saveInputs(Module module)
Saves values to persistent storage from the given
Module . |
void |
DefaultModuleService.saveInputs(Module module) |
void |
ModuleItem.setValue(Module module,
T value)
Sets the item's current value with respect to the given module.
|
void |
AbstractModuleItem.setValue(Module module,
T value) |
void |
ModuleItem.validate(Module module)
Invokes this item's validation function, if any, on the given module.
|
void |
AbstractModuleItem.validate(Module module) |
Modifier and Type | Method and Description |
---|---|
void |
MutableModuleInfo.setModuleClass(Class<? extends Module> moduleClass)
Sets the module class described by this
ModuleInfo . |
void |
DefaultMutableModuleInfo.setModuleClass(Class<? extends Module> moduleClass) |
Constructor and Description |
---|
DefaultMutableModuleItem(Module module,
String name,
Class<T> type) |
ModuleRunner(Context context,
Module module,
List<? extends ModulePreprocessor> pre,
List<? extends ModulePostprocessor> post) |
Modifier and Type | Method and Description |
---|---|
Module |
ModuleEvent.getModule() |
Constructor and Description |
---|
ModuleCanceledEvent(Module module) |
ModuleCanceledEvent(Module module,
String reason) |
ModuleEvent(Module module) |
ModuleExecutedEvent(Module module) |
ModuleExecutingEvent(Module module) |
ModuleExecutionEvent(Module module) |
ModuleFinishedEvent(Module module) |
ModulePostprocessEvent(Module module,
ModulePostprocessor processor) |
ModulePreprocessEvent(Module module,
ModulePreprocessor processor) |
ModuleProcessEvent(Module module,
ModuleProcessor processor) |
ModuleStartedEvent(Module module) |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractSingleInputPreprocessor.getSingleInput(Module module,
Class<?> type)
Helper method to look up the name of singleton module inputs of a given
type.
|
void |
ValidityPreprocessor.process(Module module) |
void |
ServicePreprocessor.process(Module module) |
void |
SaveInputsPreprocessor.process(Module module) |
void |
ModuleProcessor.process(Module module)
Performs a processing step on the given module instance.
|
void |
LoggerPreprocessor.process(Module module) |
void |
LoadInputsPreprocessor.process(Module module) |
void |
InitPreprocessor.process(Module module) |
void |
GatewayPreprocessor.process(Module module) |
void |
DefaultValuePreprocessor.process(Module module) |
void |
DebugPreprocessor.process(Module module) |
void |
DebugPostprocessor.process(Module module) |
void |
CheckInputsPreprocessor.process(Module module) |
Modifier and Type | Class and Description |
---|---|
class |
OptionsPlugin
Base class for all options-oriented plugins.
|
Modifier and Type | Class and Description |
---|---|
class |
MATLABOptions
Allows the setting and persisting of
MatlabProxyFactoryOptions
configuration. |
Modifier and Type | Class and Description |
---|---|
class |
ScriptModule
A
Module which executes a script. |
Modifier and Type | Method and Description |
---|---|
void |
ResultsPostprocessor.process(Module module) |
Modifier and Type | Method and Description |
---|---|
void |
UIPreprocessor.process(Module module) |
void |
FilePreprocessor.process(Module module) |
void |
FileListPreprocessor.process(Module module) |
void |
AbstractInputHarvesterPlugin.process(Module module) |
Modifier and Type | Method and Description |
---|---|
boolean |
AWTInputHarvester.harvestInputs(InputPanel<Panel,Panel> inputPanel,
Module module) |
Modifier and Type | Class and Description |
---|---|
class |
OptionsLookAndFeel
Runs the Edit::Options::Look and Feel dialog.
|
Modifier and Type | Class and Description |
---|---|
class |
ChooseTabSize
Sets the tab size in the current editor tab.
|
class |
KillScript
Kills a running script started in the given script editor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SwingInputHarvester.harvestInputs(InputPanel<JPanel,JPanel> inputPanel,
Module module) |
Modifier and Type | Method and Description |
---|---|
Module |
WidgetModel.getModule()
Gets the module's associated module instance.
|
Module |
DefaultWidgetModel.getModule() |
Modifier and Type | Method and Description |
---|---|
void |
InputHarvester.buildPanel(InputPanel<P,W> inputPanel,
Module module)
Populates the given
InputPanel with widgets corresponding to the
given Module instance. |
void |
AbstractInputHarvester.buildPanel(InputPanel<P,W> inputPanel,
Module module) |
default WidgetModel |
WidgetService.createModel(InputPanel<?,?> inputPanel,
Module module,
ModuleItem<?> item,
List<?> objectPool)
Create a
WidgetModel for the given module input. |
default void |
InputHarvester.harvest(Module module)
Performs the harvesting process.
|
boolean |
InputHarvester.harvestInputs(InputPanel<P,W> inputPanel,
Module module)
Gathers input values from the user or other source.
|
default void |
InputHarvester.processResults(InputPanel<P,W> inputPanel,
Module module)
Does any needed processing, after input values have been harvested.
|
Constructor and Description |
---|
DefaultWidgetModel(Context context,
InputPanel<?,?> inputPanel,
Module module,
ModuleItem<?> item,
List<?> objectPool) |
Copyright © 2015–2022 SciJava. All rights reserved.