Interface IOptionProvider

    • Method Detail

      • getStringPreference

        String getStringPreference​(String preferenceKey)
        Reads string preference with given key
        Parameters:
        preferenceKey - The key of the preference, cannot be null
        Returns:
        The value of the preference, can be null
      • getIntegerPreference

        Integer getIntegerPreference​(String preferenceKey)
        Reads integer preference with given key
        Parameters:
        preferenceKey - The key of the preference, cannot be null
        Returns:
        The value of the preference, can be null
      • getBooleanPreference

        Boolean getBooleanPreference​(String preferenceKey)
        Reads boolean preference with given key
        Parameters:
        preferenceKey - The key of the preference, cannot be null
        Returns:
        The value of the preference, can be null
      • getStringPreference

        String getStringPreference​(String preferenceKey,
                                   org.eclipse.core.runtime.preferences.IScopeContext context)
        Reads string preference with given key
        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

        Integer getIntegerPreference​(String preferenceKey,
                                     org.eclipse.core.runtime.preferences.IScopeContext context)
        Reads integer preference with given key
        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

        Boolean getBooleanPreference​(String preferenceKey,
                                     org.eclipse.core.runtime.preferences.IScopeContext context)
        Reads boolean preference with given key
        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