Class ShowWhitespaceCharactersOption

  • All Implemented Interfaces:
    IOption<Boolean>

    public class ShowWhitespaceCharactersOption
    extends BooleanOption
    This class represents a special option that is created to make visible non-printing characters for preview
    • Constructor Detail

      • ShowWhitespaceCharactersOption

        public ShowWhitespaceCharactersOption​(String preferenceKey,
                                              IPreferenceManager manager,
                                              org.eclipse.jface.preference.IPreferenceStore store)
        Creates new instance of this option
        Parameters:
        preferenceKey - The preference key of this option, cannot be null
        manager - The preference manager to perform local plug-in write/read, can be null if store is not null
        store - The preference store associated with this option to adjust any reading/writing with remote preference, can be null
    • Method Detail

      • setValue

        public void setValue​(Boolean value)
        Description copied from interface: IOption
        Sets the value of this option to the given value. This shall update UI representation
        Specified by:
        setValue in interface IOption<Boolean>
        Overrides:
        setValue in class AbstractOption<Boolean>
        Parameters:
        value - , cannot be null