Class StringOption

  • All Implemented Interfaces:
    IOption<String>
    Direct Known Subclasses:
    MultiStringOption

    public class StringOption
    extends AbstractOption<String>
    This class represents an option that can be written to preferences and used to build UI representation of option
    • Field Detail

      • manager

        protected final IPreferenceManager manager
        The manager to service write/read operations
      • store

        protected final org.eclipse.jface.preference.IPreferenceStore store
        The store to service write/read operations with lower priority than manager
    • Constructor Detail

      • StringOption

        public StringOption​(String preferenceKey,
                            String presentation,
                            IPreferenceManager manager,
                            org.eclipse.jface.preference.IPreferenceStore store)
        Creates new instance of StringOption
        Parameters:
        prefrenceKey - The associated to this option preference key, cannot be null
        presentation - The options presentation that describes its aim, cannot be null
        manager - The manager to write/read to local plug-in preferences, can be null
        store - The bound store with which this option is associated with, any read/write will be adjusted to it, can be null