Package | Description |
---|---|
org.scijava.command | |
org.scijava.options | |
org.scijava.platform |
Modifier and Type | Class and Description |
---|---|
class |
ContextCommand
A command that knows its context.
|
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). |
class |
UnimplementedCommand
A command that is not yet implemented.
|
Modifier and Type | Method and Description |
---|---|
<C extends Command> |
CommandService.getCommand(Class<C> commandClass)
Gets the first available command of the given class, or null if none.
|
<C extends Command> |
DefaultCommandService.getCommand(Class<C> commandClass) |
<CT extends Command> |
CommandService.getCommands(List<PluginInfo<CT>> plugins)
Gets the list of
Command s corresponding to the given plugins. |
<CT extends Command> |
DefaultCommandService.getCommands(List<PluginInfo<CT>> plugins) |
<C extends Command> |
CommandService.getCommandsOfClass(Class<C> commandClass)
Gets the list of commands of the given class.
|
<C extends Command> |
DefaultCommandService.getCommandsOfClass(Class<C> commandClass) |
<CT extends Command> |
CommandService.getCommandsOfType(Class<CT> type)
Gets the list of
Command s of the given type. |
<CT extends Command> |
DefaultCommandService.getCommandsOfType(Class<CT> type) |
<C extends Command> |
CommandService.run(Class<C> commandClass,
boolean process,
Map<String,Object> inputMap)
Executes the first command of the given class.
|
<C extends Command> |
DefaultCommandService.run(Class<C> commandClass,
boolean process,
Map<String,Object> inputMap) |
<C extends Command> |
CommandService.run(Class<C> commandClass,
boolean process,
Object... inputs)
Executes the first command of the given class.
|
<C extends Command> |
DefaultCommandService.run(Class<C> commandClass,
boolean process,
Object... inputs) |
Modifier and Type | Method and Description |
---|---|
Command |
CommandInfo.createInstance() |
Command |
CommandModule.getCommand()
Gets the command instance handled by this module.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Command> |
CommandInfo.getPluginClass() |
Class<Command> |
DefaultCommandService.getPluginType() |
Class<? extends Command> |
CommandInfo.loadClass() |
Modifier and Type | Method and Description |
---|---|
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 |
CommandInfo.setPluginClass(Class<? extends Command> pluginClass) |
Constructor and Description |
---|
CommandModule(CommandInfo info,
Command command)
Creates a command module for the given
CommandInfo , around the
specified Command instance. |
Constructor and Description |
---|
CommandInfo(Class<? extends Command> commandClass)
Creates a new command metadata object.
|
CommandInfo(Class<? extends Command> commandClass,
Plugin annotation)
Creates a new command metadata object.
|
CommandInfo(PluginInfo<Command> info)
Creates a new command metadata object describing the same command as the
given
PluginInfo . |
CommandInfo(PluginInfo<Command> info,
String className,
Class<? extends Command> commandClass,
Plugin annotation) |
CommandInfo(PluginInfo<Command> info,
String className,
Class<? extends Command> commandClass,
Plugin annotation) |
Modifier and Type | Class and Description |
---|---|
class |
OptionsPlugin
Base class for all options-oriented plugins.
|
Modifier and Type | Method and Description |
---|---|
List<Class<? extends Command>> |
DefaultAppEventService.getCommands()
Deprecated.
|
List<Class<? extends Command>> |
AppEventService.getCommands()
Deprecated.
Tag relevant commands instead:
attrs = { @Attr(name = "app-command") } |
Copyright © 2009–2023 SciJava. All rights reserved.