| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.cdt.managedbuilder.llvm.ui.preferences.LlvmPreferenceStore
public class LlvmPreferenceStore
Class used to access the LLVM Preference store values. This class is not intended to be subclassed by clients.
| Constructor Summary | |
|---|---|
| LlvmPreferenceStore() | |
| Method Summary | |
|---|---|
| static void | appendIncludePath(java.lang.String path)Append an include path to the LLVM Preference store. | 
| static void | appendLibrary(java.lang.String lib)Append a library to the LLVM Preference store. | 
| static void | appendLibraryPath(java.lang.String path)Append a library path to the LLVM Preference store. | 
| static void | appendValue(java.lang.String name,
            java.lang.String value)Append a new value to the Preference store if it doesn't already exists. | 
| static java.lang.String | getBinPath()Get the LLVM bin path value from the LLVM Preference store. | 
| private static java.lang.String | getExistingPaths(java.lang.String name)Get existing paths from the Preference store. | 
| static java.lang.String | getIncludePath()Get the LLVM include path value from the LLVM Preference store. | 
| static java.lang.String | getLibraries()Get the LLVM library from the LLVM Preference store. | 
| static java.lang.String | getLibraryPath()Get the LLVM library path value from the LLVM Preference Store. | 
| static org.eclipse.core.runtime.preferences.IEclipsePreferences | getPreferenceStore()Get the LLVM Preference store. | 
| static java.lang.String | getPreferenceStoreValue(java.lang.String name)Get a value from the LLVM Preference store. | 
| static java.lang.String[] | getPreferenceStoreValueAsArray(java.lang.String name)Get values from the LLVM Preference store as a String array. | 
| static void | removeIncludePath(java.lang.String path)Remove a include path from the LLVM preference store. | 
| static void | removeLibrary(java.lang.String lib)Remove a library from the LLVM preference store. | 
| static void | removeLibraryPath(java.lang.String path)Remove a library path from the LLVM preference store. | 
| static void | removeValue(java.lang.String name,
            java.lang.String value)Remove a value from the LLVM preference store. | 
| static void | setBinPath(java.lang.String path)Set LLVM bin path to the LLVM Preference store. | 
| static void | setIncludePath(java.lang.String path)Set LLVM include path to the LLVM Preference store. | 
| static void | setLibrary(java.lang.String lib)Set LLVM library to the LLVM Preference store. | 
| static void | setLibraryPath(java.lang.String path)Set LLVM library path to the LLVM Preference store. | 
| static void | setPreferenceStoreValue(java.lang.String name,
                        java.lang.String value)Set LLVM Preference store value. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public LlvmPreferenceStore()
| Method Detail | 
|---|
public static org.eclipse.core.runtime.preferences.IEclipsePreferences getPreferenceStore()
public static java.lang.String getPreferenceStoreValue(java.lang.String name)
name - the name of the preference
public static java.lang.String getBinPath()
public static java.lang.String getIncludePath()
public static java.lang.String getLibraryPath()
public static java.lang.String getLibraries()
public static java.lang.String[] getPreferenceStoreValueAsArray(java.lang.String name)
name - the name of the preference
public static void setPreferenceStoreValue(java.lang.String name,
                                           java.lang.String value)
name - the name of the preferencevalue - the string-valued preferencepublic static void setBinPath(java.lang.String path)
path - the path to the LLVM bin path.public static void setIncludePath(java.lang.String path)
path - LLVM include path.public static void setLibraryPath(java.lang.String path)
path - LLVM library path.public static void setLibrary(java.lang.String lib)
lib - LLVM library.private static java.lang.String getExistingPaths(java.lang.String name)
name - the name of the preference
public static void appendValue(java.lang.String name,
                               java.lang.String value)
name - the name of the preferencevalue - the string-valued preferencepublic static void appendIncludePath(java.lang.String path)
path - the LLVM include path.public static void appendLibraryPath(java.lang.String path)
path - the LLVM library path.public static void appendLibrary(java.lang.String lib)
lib - the LLVM library.
public static void removeValue(java.lang.String name,
                               java.lang.String value)
name - Name of the preferencevalue - Value to remove from the preference storepublic static void removeIncludePath(java.lang.String path)
path - The include path to be removed from the LLVM preference store.public static void removeLibraryPath(java.lang.String path)
path - The library path to be removed from the LLVM preference store.public static void removeLibrary(java.lang.String lib)
lib - The library to be removed from the LLVM preference store.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||