public class DefaultOptionsService extends AbstractSingletonService<OptionsPlugin> implements OptionsService
OptionsPlugin
Constructor and Description |
---|
DefaultOptionsService() |
Modifier and Type | Method and Description |
---|---|
List<OptionsPlugin> |
getInstances()
Gets the list of plugin instances.
|
<O extends OptionsPlugin> |
getOptions(Class<O> optionsClass)
Gets the options plugin of the given class, or null if none.
|
getInstance, objectService, onEvent, onEvent
pluginService
getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPluginType, reset
create, filterInstances, getInstance, initialize, objectService
getPlugins, getPluginService, pluginService
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
public <O extends OptionsPlugin> O getOptions(Class<O> optionsClass)
OptionsService
getOptions
in interface OptionsService
public List<OptionsPlugin> getInstances()
SingletonService
getInstances
in interface SingletonService<OptionsPlugin>
getInstances
in class AbstractSingletonService<OptionsPlugin>
Copyright © 2015–2022 SciJava. All rights reserved.