Modifier and Type | Method and Description |
---|---|
default List<ModuleItem<?>> |
BatchService.batchableInputs(ModuleInfo moduleInfo)
A collection of input
ModuleItem s of the given ModuleInfo
that are supported (i.e. |
void |
FileBatchService.run(ModuleInfo moduleInfo) |
void |
BatchService.run(ModuleInfo moduleInfo)
Run the module described by
ModuleInfo in batch. |
default boolean |
BatchService.supportsModule(ModuleInfo moduleInfo)
Returns true if
moduleInfo has at least one input item whose type
is supported by this service |
Modifier and Type | Class and Description |
---|---|
class |
CommandInfo
A collection of metadata about a particular
Command . |
class |
DynamicCommandInfo
Helper class for maintaining a
DynamicCommand 's associated
ModuleInfo . |
Constructor and Description |
---|
CommandModuleItem(ModuleInfo info,
Field field) |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
ConsoleUtils.parseParameterString(String parameterString,
ModuleInfo info)
Deprecated.
Use
ParseService instead. |
static Map<String,Object> |
ConsoleUtils.parseParameterString(String parameterString,
ModuleInfo info,
LogService log)
Deprecated.
Use
ParseService instead. |
Modifier and Type | Method and Description |
---|---|
ModuleInfo |
ShadowMenu.getModuleInfo()
Gets the module linked to this node, or null if node is not a leaf.
|
ModuleInfo |
ShadowMenuIterator.next() |
Modifier and Type | Method and Description |
---|---|
boolean |
ShadowMenu.add(ModuleInfo o)
Adds the given module to the menu structure.
|
boolean |
ShadowMenu.update(ModuleInfo module)
Updates the menu structure to reflect changes in the given module.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ShadowMenu.addAll(Collection<? extends ModuleInfo> c)
Adds the given modules to the menu structure.
|
boolean |
ShadowMenu.updateAll(Collection<? extends ModuleInfo> c)
Updates the menu structure to reflect changes in the given modules.
|
Constructor and Description |
---|
ShadowMenu(Context context,
Collection<? extends ModuleInfo> modules)
Constructs a root menu node populated with the given modules.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutableModuleInfo
ModuleInfo extension allowing manipulation of its metadata. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractModuleInfo
Abstract superclass of
ModuleInfo implementation. |
class |
DefaultMutableModuleInfo
Default
MutableModuleInfo implementation. |
Modifier and Type | Method and Description |
---|---|
ModuleInfo |
ModuleItem.getInfo()
Gets the
ModuleInfo to which this item belongs. |
ModuleInfo |
Module.getInfo()
Gets metadata about this module.
|
ModuleInfo |
AbstractModuleItem.getInfo() |
ModuleInfo |
ModuleService.getModuleById(String id)
Gets the module with the given identifier string.
|
ModuleInfo |
DefaultModuleService.getModuleById(String id) |
ModuleInfo |
ModuleService.getModuleForAccelerator(Accelerator acc)
Gets the module for a given keyboard shortcut.
|
ModuleInfo |
DefaultModuleService.getModuleForAccelerator(Accelerator acc) |
Modifier and Type | Method and Description |
---|---|
List<ModuleInfo> |
ModuleService.getModules()
Gets the list of available modules.
|
List<ModuleInfo> |
DefaultModuleService.getModules() |
Modifier and Type | Method and Description |
---|---|
void |
ModuleService.addModule(ModuleInfo module)
Manually registers a module with the module service.
|
void |
DefaultModuleService.addModule(ModuleInfo module) |
Module |
ModuleService.createModule(ModuleInfo info)
Creates an instance of the given module.
|
Module |
DefaultModuleService.createModule(ModuleInfo info) |
void |
ModuleService.removeModule(ModuleInfo module)
Manually unregisters a module with the module service.
|
void |
DefaultModuleService.removeModule(ModuleInfo module) |
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 |
ModuleService.addModules(Collection<? extends ModuleInfo> modules)
Manually registers a list of modules with the module service.
|
void |
DefaultModuleService.addModules(Collection<? extends ModuleInfo> modules) |
void |
ModuleService.removeModules(Collection<? extends ModuleInfo> modules)
Manually unregisters a list of modules with the module service.
|
void |
DefaultModuleService.removeModules(Collection<? extends ModuleInfo> modules) |
Constructor and Description |
---|
AbstractModuleItem(ModuleInfo info) |
DefaultMutableModuleItem(ModuleInfo info,
ModuleItem<T> item)
Creates a new module item with the same values as the given item.
|
DefaultMutableModuleItem(ModuleInfo info,
String name,
Class<T> type) |
Constructor and Description |
---|
ModulesAddedEvent(ModuleInfo o) |
ModulesListEvent(ModuleInfo o) |
ModulesRemovedEvent(ModuleInfo o) |
ModulesUpdatedEvent(ModuleInfo o) |
Constructor and Description |
---|
ModulesAddedEvent(Collection<? extends ModuleInfo> c) |
ModulesListEvent(Collection<? extends ModuleInfo> c) |
ModulesRemovedEvent(Collection<? extends ModuleInfo> c) |
ModulesUpdatedEvent(Collection<? extends ModuleInfo> c) |
Modifier and Type | Class and Description |
---|---|
class |
ScriptInfo
Metadata about a script.
|
Modifier and Type | Method and Description |
---|---|
ModuleInfo |
ModuleSearchResult.info() |
Modifier and Type | Method and Description |
---|---|
static String |
ModuleSearcher.iconPath(ModuleInfo info)
Gets the icon path associated with the given module.
|
static String |
ModuleSearcher.location(ModuleInfo info,
String baseDir)
Gets an abbreviated location for the given module.
|
static String |
ModuleSearcher.title(ModuleInfo info)
Gets a human-readable title for the module, or null if none.
|
Constructor and Description |
---|
ModuleSearchResult(ModuleInfo info,
String baseDir) |
Modifier and Type | Method and Description |
---|---|
ModuleInfo |
CommandFinderPanel.CommandTableModel.get(int index) |
ModuleInfo |
CommandFinderPanel.getCommand()
Gets the currently selected command.
|
Modifier and Type | Method and Description |
---|---|
void |
CommandFinderPanel.CommandTableModel.setData(List<ModuleInfo> list) |
Constructor and Description |
---|
CommandTableModel(List<ModuleInfo> list,
String baseDir) |
Copyright © 2015–2022 SciJava. All rights reserved.