Package org.scijava.options
Class DefaultOptionsService
- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.plugin.AbstractRichPlugin
-
- org.scijava.service.AbstractService
-
- org.scijava.plugin.AbstractPTService<PT>
-
- org.scijava.plugin.AbstractSingletonService<OptionsPlugin>
-
- org.scijava.options.DefaultOptionsService
-
- All Implemented Interfaces:
Comparable<Prioritized>,Contextual,Disposable,Identifiable,Initializable,Locatable,Logged,OptionsService,HasPluginInfo,PTService<OptionsPlugin>,RichPlugin,SciJavaPlugin,SingletonService<OptionsPlugin>,Prioritized,SciJavaService,Service,Versioned
public class DefaultOptionsService extends AbstractSingletonService<OptionsPlugin> implements OptionsService
Default service for keeping track of the available options and their settings.- Author:
- Curtis Rueden, Barry DeZonia
- See Also:
OptionsPlugin
-
-
Constructor Summary
Constructors Constructor Description DefaultOptionsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OptionsPlugin>getInstances()Gets the list of plugin instances.<O extends OptionsPlugin>
OgetOptions(Class<O> optionsClass)Gets the options plugin of the given class, or null if none.-
Methods inherited from class org.scijava.plugin.AbstractSingletonService
getInstance, objectService, onEvent, onEvent
-
Methods inherited from class org.scijava.plugin.AbstractPTService
pluginService
-
Methods inherited from class org.scijava.service.AbstractService
getContext, setContext, toString
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority
-
Methods inherited from class org.scijava.AbstractContextual
context
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.Disposable
dispose
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.options.OptionsService
getPluginType, reset
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.PTService
getPlugins, getPluginService, pluginService
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.service.Service
registerEventHandlers
-
Methods inherited from interface org.scijava.plugin.SingletonService
create, filterInstances, getInstance, initialize, objectService
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
getOptions
public <O extends OptionsPlugin> O getOptions(Class<O> optionsClass)
Description copied from interface:OptionsServiceGets the options plugin of the given class, or null if none.- Specified by:
getOptionsin interfaceOptionsService
-
getInstances
public List<OptionsPlugin> getInstances()
Description copied from interface:SingletonServiceGets the list of plugin instances. There will be one singleton instance for each available plugin.- Specified by:
getInstancesin interfaceSingletonService<OptionsPlugin>- Overrides:
getInstancesin classAbstractSingletonService<OptionsPlugin>
-
-