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.
|
Class<OptionsPlugin> |
getPluginType()
Gets the type of plugins managed by this service.
|
void |
reset()
Clears all option values from persistent storage.
|
create, filterInstances, getInstance, initializegetPlugins, getPluginServicedispose, getContext, registerEventHandlers, setContext, toStringcompareTo, getInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInstancecreate, getPlugins, getPluginServiceinitialize, registerEventHandlerscontext, getContext, setContextgetPriority, setPrioritycompareTogetInfo, setInfodisposepublic <O extends OptionsPlugin> O getOptions(Class<O> optionsClass)
OptionsServicegetOptions in interface OptionsServicepublic void reset()
OptionsServicereset in interface OptionsServiceOptionsPlugin.reset()public List<OptionsPlugin> getInstances()
SingletonServicegetInstances in interface SingletonService<OptionsPlugin>getInstances in class AbstractSingletonService<OptionsPlugin>public Class<OptionsPlugin> getPluginType()
PTServicegetPluginType in interface PTService<OptionsPlugin>Copyright © 2009–2016 SciJava. All rights reserved.