Class ManagerBasedOptionProvider

    • Constructor Detail

      • ManagerBasedOptionProvider

        public ManagerBasedOptionProvider()
    • Method Detail

      • getStringPreference

        public String getStringPreference​(String preferenceKey)
        Description copied from interface: IOptionProvider
        Reads string preference with given key
        Specified by:
        getStringPreference in interface IOptionProvider
        Parameters:
        preferenceKey - The key of the preference, cannot be null
        Returns:
        The value of the preference, can be null
      • getIntegerPreference

        public Integer getIntegerPreference​(String preferenceKey)
        Description copied from interface: IOptionProvider
        Reads integer preference with given key
        Specified by:
        getIntegerPreference in interface IOptionProvider
        Parameters:
        preferenceKey - The key of the preference, cannot be null
        Returns:
        The value of the preference, can be null
      • getBooleanPreference

        public Boolean getBooleanPreference​(String preferenceKey)
        Description copied from interface: IOptionProvider
        Reads boolean preference with given key
        Specified by:
        getBooleanPreference in interface IOptionProvider
        Parameters:
        preferenceKey - The key of the preference, cannot be null
        Returns:
        The value of the preference, can be null
      • getStringPreference

        public String getStringPreference​(String preferenceKey,
                                          org.eclipse.core.runtime.preferences.IScopeContext context)
        Description copied from interface: IOptionProvider
        Reads string preference with given key
        Specified by:
        getStringPreference in interface IOptionProvider
        Parameters:
        preferenceKey - The key of the preference, cannot be null
        context - The context to get preference from, can be null
        Returns:
        The value of the preference, can be null
      • getIntegerPreference

        public Integer getIntegerPreference​(String preferenceKey,
                                            org.eclipse.core.runtime.preferences.IScopeContext context)
        Description copied from interface: IOptionProvider
        Reads integer preference with given key
        Specified by:
        getIntegerPreference in interface IOptionProvider
        Parameters:
        preferenceKey - The key of the preference, cannot be null
        context - The context to get preference from, can be null
        Returns:
        The value of the preference, can be null
      • getBooleanPreference

        public Boolean getBooleanPreference​(String preferenceKey,
                                            org.eclipse.core.runtime.preferences.IScopeContext context)
        Description copied from interface: IOptionProvider
        Reads boolean preference with given key
        Specified by:
        getBooleanPreference in interface IOptionProvider
        Parameters:
        preferenceKey - The key of the preference, cannot be null
        context - The context to get preference from, can be null
        Returns:
        The value of the preference, can be null