org.scijava.options
Interface OptionsService

All Superinterfaces:
Comparable<Prioritized>, Contextual, Disposable, HasPluginInfo, Prioritized, PTService<OptionsPlugin>, RichPlugin, SciJavaPlugin, SciJavaService, Service, SingletonService<OptionsPlugin>
All Known Implementing Classes:
DefaultOptionsService

public interface OptionsService
extends SingletonService<OptionsPlugin>, SciJavaService

Interface for the options handling service.

Author:
Curtis Rueden, Barry DeZonia
See Also:
OptionsPlugin

Method Summary
<O extends OptionsPlugin>
O
getOptions(Class<O> optionsClass)
          Gets the options plugin of the given class, or null if none.
 void reset()
          Clears all option values from persistent storage.
 
Methods inherited from interface org.scijava.plugin.SingletonService
getInstance, getInstances
 
Methods inherited from interface org.scijava.plugin.PTService
getPlugins, getPluginService, getPluginType
 
Methods inherited from interface org.scijava.service.Service
initialize, registerEventHandlers
 
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
 
Methods inherited from interface org.scijava.Prioritized
getPriority, setPriority
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
 
Methods inherited from interface org.scijava.Disposable
dispose
 

Method Detail

getOptions

<O extends OptionsPlugin> O getOptions(Class<O> optionsClass)
Gets the options plugin of the given class, or null if none.


reset

void reset()
Clears all option values from persistent storage.

See Also:
OptionsPlugin.reset()


Copyright © 2009–2014 SciJava. All rights reserved.