Interface IPreferenceManager
- 
- All Known Implementing Classes:
- AbstractPreferenceManager,- BslPreferenceManager,- BslPropertyPageManager
 
 public interface IPreferenceManagerInterface that deals with write/read of the preferences
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BooleanreadBoolean(String key)Reads boolean preference with given keyBooleanreadBoolean(String key, org.eclipse.core.runtime.preferences.IScopeContext scope)Reads boolean preference with given keyBooleanreadDefaultBoolean(String key)Reads boolean preference with given keyIntegerreadDefaultInteger(String key)Reads default integer preference with given keyStringreadDefaultString(String key)Reads default string preference with given keyIntegerreadInteger(String key)Reads integer preference with given keyIntegerreadInteger(String key, org.eclipse.core.runtime.preferences.IScopeContext scope)Reads integer preference with given keyStringreadString(String key)Reads string preference with given keyStringreadString(String key, org.eclipse.core.runtime.preferences.IScopeContext scope)Reads string preference with given keyvoidsave()Saves all written preferencesvoidwriteBoolean(String key, Boolean value)Writes boolean value to the preferences with given keyvoidwriteBoolean(String key, Boolean value, org.eclipse.core.runtime.preferences.IScopeContext scope)Writes boolean value to the preferences with given keyvoidwriteInteger(String preferenceKey, Integer value)Writes integer value to the preferences with given keyvoidwriteInteger(String preferenceKey, Integer value, org.eclipse.core.runtime.preferences.IScopeContext scope)Writes integer value to the preferences with given keyvoidwriteString(String key, String value)Writes string value to the preferences with given keyvoidwriteString(String key, String value, org.eclipse.core.runtime.preferences.IScopeContext scope)Writes string value to the preferences with given key
 
- 
- 
- 
Method Detail- 
writeBooleanvoid writeBoolean(String key, Boolean value) Writes boolean value to the preferences with given key- Parameters:
- key- The key of the preference, cannot be- null
- value- The value of the preference, cannot be- null
 
 - 
writeStringvoid writeString(String key, String value) Writes string value to the preferences with given key- Parameters:
- key- The key of the preference, cannot be- null
- value- The value of the preference, cannot be- null
 
 - 
writeIntegervoid writeInteger(String preferenceKey, Integer value) Writes integer value to the preferences with given key- Parameters:
- key- The key of the preference, cannot be- null
- value- The value of the preference, cannot be- null
 
 - 
readBooleanBoolean readBoolean(String key) Reads boolean preference with given key- Parameters:
- key- The key of the preference, cannot be- null
- Returns:
- The boolean value associated to the given key, can be nullif there is no preference with given key
 
 - 
readStringString readString(String key) Reads string preference with given key- Parameters:
- key- The key of the preference, cannot be- null
- Returns:
- The string value associated to the given key, can be nullif there is no preference with given key
 
 - 
readIntegerInteger readInteger(String key) Reads integer preference with given key- Parameters:
- key- The key of the preference, cannot be- null
- Returns:
- The integer value associated to the given key, can be nullif there is no preference with given key
 
 - 
readDefaultBooleanBoolean readDefaultBoolean(String key) Reads boolean preference with given key- Parameters:
- key- The key of the preference, cannot be- null
- Returns:
- The default boolean value associated to the given key, can be nullif there is no preference with given key
 
 - 
readDefaultStringString readDefaultString(String key) Reads default string preference with given key- Parameters:
- key- The key of the preference, cannot be- null
- Returns:
- The default string value associated to the given key, can be nullif there is no preference with given key
 
 - 
readDefaultIntegerInteger readDefaultInteger(String key) Reads default integer preference with given key- Parameters:
- key- The key of the preference, cannot be- null
- Returns:
- The default integer value associated to the given key, can be nullif there is no preference with given key
 
 - 
savevoid save() Saves all written preferences
 - 
readBooleanBoolean readBoolean(String key, org.eclipse.core.runtime.preferences.IScopeContext scope) Reads boolean preference with given key- Parameters:
- key- The key of the preference, cannot be- null
- context- The context to get preference from, can be- null
- Returns:
- The boolean value associated to the given key, can be nullif there is no preference with given key
 
 - 
readStringString readString(String key, org.eclipse.core.runtime.preferences.IScopeContext scope) Reads string preference with given key- Parameters:
- key- The key of the preference, cannot be- null
- context- The context to get preference from, can be- null
- Returns:
- The string value associated to the given key, can be nullif there is no preference with given key
 
 - 
readIntegerInteger readInteger(String key, org.eclipse.core.runtime.preferences.IScopeContext scope) Reads integer preference with given key- Parameters:
- key- The key of the preference, cannot be- null
- context- The context to get preference from, can be- null
- Returns:
- The integer value associated to the given key, can be nullif there is no preference with given key
 
 - 
writeBooleanvoid writeBoolean(String key, Boolean value, org.eclipse.core.runtime.preferences.IScopeContext scope) Writes boolean value to the preferences with given key- Parameters:
- key- The key of the preference, cannot be- null
- context- The context to set preference to, can be- null
- value- The value of the preference, cannot be- null
 
 - 
writeStringvoid writeString(String key, String value, org.eclipse.core.runtime.preferences.IScopeContext scope) Writes string value to the preferences with given key- Parameters:
- key- The key of the preference, cannot be- null
- context- The context to set preference to, can be- null
- value- The value of the preference, cannot be- null
 
 - 
writeIntegervoid writeInteger(String preferenceKey, Integer value, org.eclipse.core.runtime.preferences.IScopeContext scope) Writes integer value to the preferences with given key- Parameters:
- key- The key of the preference, cannot be- null
- context- The context to set preference to, can be- null
- value- The value of the preference, cannot be- null
 
 
- 
 
-