Package | Description |
---|---|
org.scijava.command | |
org.scijava.display | |
org.scijava.plugin | |
org.scijava.plugin.event | |
org.scijava.ui |
Modifier and Type | Class and Description |
---|---|
class |
CommandInfo
A collection of metadata about a particular
Command . |
Modifier and Type | Method and Description |
---|---|
<CT extends Command> |
DefaultCommandService.getCommands(List<PluginInfo<CT>> plugins) |
<CT extends Command> |
CommandService.getCommands(List<PluginInfo<CT>> plugins)
Gets the list of
Command s corresponding to the given plugins. |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
<D extends Display<?>> |
DisplayService.getDisplayPlugin(Class<D> pluginClass)
Gets the display plugin of the given class, or null if none.
|
<D extends Display<?>> |
DefaultDisplayService.getDisplayPlugin(Class<D> pluginClass) |
PluginInfo<Display<?>> |
DisplayService.getDisplayPlugin(String className)
Gets the display plugin of the given class name, or null if none.
|
PluginInfo<Display<?>> |
DefaultDisplayService.getDisplayPlugin(String className) |
Modifier and Type | Method and Description |
---|---|
List<PluginInfo<Display<?>>> |
DisplayService.getDisplayPlugins()
Gets the list of known display plugins.
|
List<PluginInfo<Display<?>>> |
DefaultDisplayService.getDisplayPlugins() |
<D extends Display<?>> |
DefaultDisplayService.getDisplayPluginsOfType(Class<D> type) |
<DT extends Display<?>> |
DisplayService.getDisplayPluginsOfType(Class<DT> type)
Gets the list of display plugins of the given type (e.g.,
ImageDisplay.class ). |
Modifier and Type | Method and Description |
---|---|
<T extends PluginInfo<?>> |
PluginService.addPlugins(Collection<T> plugins)
Manually registers plugins with the plugin service.
|
<T extends PluginInfo<?>> |
DefaultPluginService.addPlugins(Collection<T> plugins) |
static <T extends PluginInfo<?>> |
DefaultPluginService.findPluginsOfClass(String className,
List<? extends PluginInfo<?>> srcList,
List<T> destList)
Transfers plugins of the given class from the source list to the
destination list.
|
<T extends PluginInfo<?>> |
PluginService.removePlugins(Collection<T> plugins)
Manually unregisters plugins with the plugin service.
|
<T extends PluginInfo<?>> |
DefaultPluginService.removePlugins(Collection<T> plugins) |
Modifier and Type | Method and Description |
---|---|
static PluginInfo<?> |
PluginInfo.create(Class<? extends SciJavaPlugin> pluginClass)
Creates a
PluginInfo for the given plugin class. |
static <P extends PT,PT extends SciJavaPlugin> |
PluginInfo.create(Class<P> pluginClass,
Class<PT> pluginType)
Creates a
PluginInfo for the given plugin class of the specified
plugin type. |
static <P extends PT,PT extends SciJavaPlugin> |
PluginInfo.get(Class<P> pluginClass,
Class<PT> pluginType,
PluginIndex pluginIndex)
Finds a
PluginInfo of the given plugin class and plugin type in the
specified PluginIndex . |
static <P extends PT,PT extends SciJavaPlugin> |
PluginInfo.get(Class<P> pluginClass,
Collection<? extends PluginInfo<PT>> plugins)
Finds a
PluginInfo of the given plugin class in the specified list
of plugins. |
static <P extends SciJavaPlugin> |
PluginInfo.get(Class<P> pluginClass,
PluginIndex pluginIndex)
Finds a
PluginInfo of the given plugin class in the specified
PluginIndex . |
PluginInfo<?> |
HasPluginInfo.getInfo()
Gets the
PluginInfo metadata associated with the object. |
PluginInfo<?> |
AbstractRichPlugin.getInfo() |
static <P extends PT,PT extends SciJavaPlugin> |
PluginInfo.getOrCreate(Class<P> pluginClass,
Class<PT> pluginType,
PluginIndex pluginIndex)
Obtains a
PluginInfo for the given plugin class. |
static <P extends SciJavaPlugin> |
PluginInfo.getOrCreate(Class<P> pluginClass,
PluginIndex pluginIndex)
Obtains a
PluginInfo for the given plugin class. |
<P extends SciJavaPlugin> |
PluginService.getPlugin(Class<P> pluginClass)
Gets the first available plugin of the given class, or null if none.
|
<P extends SciJavaPlugin> |
DefaultPluginService.getPlugin(Class<P> pluginClass) |
<PT extends SciJavaPlugin,P extends PT> |
PluginService.getPlugin(Class<P> pluginClass,
Class<PT> type)
Gets the first available plugin of the given class, or null if none.
|
<PT extends SciJavaPlugin,P extends PT> |
DefaultPluginService.getPlugin(Class<P> pluginClass,
Class<PT> type) |
PluginInfo<SciJavaPlugin> |
PluginService.getPlugin(String className)
Gets the first available plugin of the given class name, or null if none.
|
PluginInfo<SciJavaPlugin> |
DefaultPluginService.getPlugin(String className) |
Modifier and Type | Method and Description |
---|---|
List<PluginInfo<?>> |
PluginService.getPlugins()
Gets the list of known plugins.
|
default List<PluginInfo<PT>> |
PTService.getPlugins()
Gets the plugins managed by this service.
|
List<PluginInfo<?>> |
DefaultPluginService.getPlugins() |
<PT extends SciJavaPlugin> |
PluginIndex.getPlugins(Class<PT> type)
Gets a list of registered plugins compatible with the given type.
|
<P extends SciJavaPlugin> |
PluginService.getPluginsOfClass(Class<P> pluginClass)
Gets the list of plugins of the given class.
|
<P extends SciJavaPlugin> |
DefaultPluginService.getPluginsOfClass(Class<P> pluginClass) |
<PT extends SciJavaPlugin,P extends PT> |
PluginService.getPluginsOfClass(Class<P> pluginClass,
Class<PT> type)
Gets the list of plugins of the given class.
|
<PT extends SciJavaPlugin,P extends PT> |
DefaultPluginService.getPluginsOfClass(Class<P> pluginClass,
Class<PT> type) |
List<PluginInfo<SciJavaPlugin>> |
PluginService.getPluginsOfClass(String className)
Gets the list of plugins with the given class name.
|
List<PluginInfo<SciJavaPlugin>> |
DefaultPluginService.getPluginsOfClass(String className) |
<PT extends SciJavaPlugin> |
PluginService.getPluginsOfClass(String className,
Class<PT> type)
Gets the list of plugins with the given class name.
|
<PT extends SciJavaPlugin> |
DefaultPluginService.getPluginsOfClass(String className,
Class<PT> type) |
<PT extends SciJavaPlugin> |
PluginService.getPluginsOfType(Class<PT> type)
Gets the list of plugins of the given type (e.g.,
Service ). |
<PT extends SciJavaPlugin> |
DefaultPluginService.getPluginsOfType(Class<PT> type) |
Modifier and Type | Method and Description |
---|---|
void |
PluginService.addPlugin(PluginInfo<?> plugin)
Manually registers a plugin with the plugin service.
|
void |
DefaultPluginService.addPlugin(PluginInfo<?> plugin) |
<PT extends SciJavaPlugin> |
PluginService.createInstance(PluginInfo<PT> info)
Creates an instance of the given plugin.
|
<PT extends SciJavaPlugin> |
DefaultPluginService.createInstance(PluginInfo<PT> info) |
protected Class<?> |
PluginIndex.getType(PluginInfo<?> info)
Overrides the type by which the entries are indexed.
|
void |
PluginService.removePlugin(PluginInfo<?> plugin)
Manually unregisters a plugin with the plugin service.
|
void |
DefaultPluginService.removePlugin(PluginInfo<?> plugin) |
void |
HasPluginInfo.setInfo(PluginInfo<?> info)
Sets the
PluginInfo metadata associated with the object. |
void |
AbstractRichPlugin.setInfo(PluginInfo<?> info) |
Modifier and Type | Method and Description |
---|---|
<PT extends SciJavaPlugin> |
PluginService.createInstances(List<PluginInfo<PT>> infos)
Creates an instance of each of the plugins on the given list.
|
<PT extends SciJavaPlugin> |
DefaultPluginService.createInstances(List<PluginInfo<PT>> infos) |
Map<String,Throwable> |
PluginFinder.findPlugins(List<PluginInfo<?>> plugins)
Populates the given list with all available SciJava plugins.
|
HashMap<String,Throwable> |
DefaultPluginFinder.findPlugins(List<PluginInfo<?>> plugins) |
static <T extends PluginInfo<?>> |
DefaultPluginService.findPluginsOfClass(String className,
List<? extends PluginInfo<?>> srcList,
List<T> destList)
Transfers plugins of the given class from the source list to the
destination list.
|
static <P extends PT,PT extends SciJavaPlugin> |
PluginInfo.get(Class<P> pluginClass,
Collection<? extends PluginInfo<PT>> plugins)
Finds a
PluginInfo of the given plugin class in the specified list
of plugins. |
Constructor and Description |
---|
PluginsAddedEvent(PluginInfo<?> o) |
PluginsListEvent(PluginInfo<?> o) |
PluginsRemovedEvent(PluginInfo<?> o) |
Constructor and Description |
---|
PluginsAddedEvent(Collection<? extends PluginInfo<?>> c) |
PluginsListEvent(Collection<? extends PluginInfo<?>> c) |
PluginsRemovedEvent(Collection<? extends PluginInfo<?>> c) |
Modifier and Type | Method and Description |
---|---|
List<PluginInfo<DisplayViewer<?>>> |
UIService.getViewerPlugins()
Gets the list of known viewer plugins.
|
List<PluginInfo<DisplayViewer<?>>> |
DefaultUIService.getViewerPlugins() |
Copyright © 2015–2022 SciJava. All rights reserved.