|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.rse.core.RSEPreferencesManager
public class RSEPreferencesManager
| Method Summary | |
|---|---|
static void |
addActiveProfile(String newName)
Add a name to the active profile list. |
static void |
clearUserId(String key)
Clears the user ID for the given key. |
static void |
deleteActiveProfile(String oldName)
Delete one of the active profile names in the list of names stored in the registry. |
static int |
getActiveProfilePosition(String profileName)
|
static String[] |
getActiveProfiles()
|
static String |
getDefaultPrivateSystemProfileName()
|
static String |
getDefaultTeamProfileName()
|
static String |
getDefaultUserId(IRSESystemType systemType)
Gets the default user id for a given system type. |
static boolean |
getIsSystemTypeEnabled(IRSESystemType systemType)
Gets the enabled state for a particular system type. |
static String |
getSystemTypeValues()
Gets the system type values table for editing. |
static String |
getUserId(String key)
Retrieves a user id given a key. |
static void |
initDefaults()
|
static void |
renameActiveProfile(String oldName,
String newName)
Renames one of the active profile names in the list of names stored in the registry. |
static void |
setDefaultUserId(IRSESystemType systemType,
String userId)
Sets the default userId for the given system type. |
static void |
setIsSystemTypeEnabled(IRSESystemType systemType,
boolean isEnabled)
Sets if a system type is enabled. |
static void |
setSystemTypeValues(String systemTypeValues)
Sets the default user id and enabled state for all system types. |
static void |
setUserId(String key,
String userId)
Sets the user Id for this key. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String getUserId(String key)
key - the key from which to get the particular user id.
setUserId(String, String)public static void clearUserId(String key)
key - the key for the user id.setUserId(String, String)
public static void setUserId(String key,
String userId)
key - the key used to find the userIduserId - the userId to retrieve by this key.public static String getDefaultUserId(IRSESystemType systemType)
systemType - the systemtype for which to retrieve the default user id
public static void setDefaultUserId(IRSESystemType systemType,
String userId)
systemType - the system type for which to set the defaultuserId - the default user id for this system type.
This may be null to "unset" the default.public static String getSystemTypeValues()
public static void setSystemTypeValues(String systemTypeValues)
systemTypeValues - a tabled encoded as a string that contains
entries for each system type. See getSystemTypeValues() for the
table format.
public static void setIsSystemTypeEnabled(IRSESystemType systemType,
boolean isEnabled)
systemType - the system type to be enabled on this machine.isEnabled - the enabled statepublic static boolean getIsSystemTypeEnabled(IRSESystemType systemType)
systemType - the system type
public static String[] getActiveProfiles()
public static void addActiveProfile(String newName)
newName - a new active profile namepublic static void deleteActiveProfile(String oldName)
oldName - the name of the profile to remove from the active profiles list.public static int getActiveProfilePosition(String profileName)
profileName - the name of the profile to search for in the list of active profiles.
public static void renameActiveProfile(String oldName,
String newName)
oldName - the old name of the profilenewName - the new name of the profilepublic static void initDefaults()
public static String getDefaultPrivateSystemProfileName()
public static String getDefaultTeamProfileName()
|
RSE Release 2.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||