|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.SystemPreferencesManager
A class that encapsulates all global preferences for the remote system framework
These include:
Field Summary | |
---|---|
static String |
copyright
|
Constructor Summary | |
---|---|
protected |
SystemPreferencesManager()
|
Method Summary | |
---|---|
void |
addActiveProfile(String newName)
Add a name to the active profile list |
void |
clearUserId(String key)
Clear the user Id for the given key |
void |
deleteActiveProfile(String oldName)
Delete one of the active profile names in the list of names stored in the registry. |
String[] |
getActiveProfileNames()
Return active profile names |
int |
getActiveProfilePosition(String profileName)
Return the position of a give profile name in the active list |
boolean |
getCascadeUserActions()
Return whether to cascade user actions menu by profile |
String[] |
getConnectionNamesOrder(String profileName)
Returns user's preference for the order of the connection names |
String[] |
getConnectionNamesOrder(SystemConnection[] realityConnectionList,
String profileName)
Returns user's preference for the order of the connection names, after resolving it with the reality list of connection names. |
String |
getDefaultUserId(String systemType)
Return user Id per system type |
String[] |
getFolderHistory()
Return history for the folder combobox |
static SystemPreferencesManager |
getPreferencesManager()
Get singleton of this class |
boolean |
getQualifyConnectionNames()
Return whether to show connection names qualified by profile name |
boolean |
getRememberState()
Return whether to remember state or not in Remote Systems view |
boolean |
getShowFilterPools()
Return whether to show filter pools or not |
boolean |
getShowNewConnectionPrompt()
Return whether to show "New Connection..." prompt |
String |
getUserId(String key)
Return user Id per key |
boolean |
getVerifyConnection()
Return whether to turn on "Verify connection" checkbox on the New Connection wizard |
String[] |
getWidgetHistory(String key)
Return history for a widget given a key that uniquely identifies it |
void |
renameActiveProfile(String oldName,
String newName)
Rename one of the active profile names in the list of names stored in the registry. |
String[] |
resolveOrderPreferenceVersusReality(String[] reality,
String[] ordered)
Helper method to resolve differences between two ordered name lists. |
void |
setCascadeUserActions(boolean cascade)
Set whether to cascade user actions menu by profile |
void |
setConnectionNamesOrder()
Set user's preference for the order of the connection names |
void |
setConnectionNamesOrder(String[] names)
Set user's preference for the order of the connection names |
void |
setDefaultUserId(String systemType,
String userId)
Set user Id per system type |
void |
setFolderHistory(String[] history)
Set history for the folder combobox |
void |
setQualifyConnectionNames(boolean set)
Set whether to show connection names qualified by profile name |
void |
setRememberState(boolean remember)
Set whether to remember state or not in Remote Systems view |
void |
setShowFilterPools(boolean show)
Set whether to show filter pools or not |
void |
setShowNewConnectionPrompt(boolean show)
Set whether to show "New Connection..." prompt |
void |
setUserId(String key,
String userId)
Set the user Id per key |
void |
setVerifyConnection(boolean verify)
Set whether to turn on "Verify connection" checkbox on the New Connection wizard |
void |
setWidgetHistory(String key,
String[] history)
Set history for a widget given a key that uniquely identifies it |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String copyright
Constructor Detail |
protected SystemPreferencesManager()
Method Detail |
public static SystemPreferencesManager getPreferencesManager()
public String[] getActiveProfileNames()
public void renameActiveProfile(String oldName, String newName)
public void deleteActiveProfile(String oldName)
public void addActiveProfile(String newName)
public int getActiveProfilePosition(String profileName)
public String[] getConnectionNamesOrder(String profileName)
public String[] getConnectionNamesOrder(SystemConnection[] realityConnectionList, String profileName)
public void setConnectionNamesOrder(String[] names)
public void setConnectionNamesOrder()
public String[] resolveOrderPreferenceVersusReality(String[] reality, String[] ordered)
public String getDefaultUserId(String systemType)
public void setDefaultUserId(String systemType, String userId)
public String getUserId(String key)
public void setUserId(String key, String userId)
public void clearUserId(String key)
public boolean getQualifyConnectionNames()
public boolean getShowFilterPools()
public boolean getRememberState()
public boolean getShowNewConnectionPrompt()
public boolean getCascadeUserActions()
public boolean getVerifyConnection()
public void setQualifyConnectionNames(boolean set)
public void setShowFilterPools(boolean show)
public void setRememberState(boolean remember)
public void setShowNewConnectionPrompt(boolean show)
public void setCascadeUserActions(boolean cascade)
public void setVerifyConnection(boolean verify)
public String[] getFolderHistory()
public void setFolderHistory(String[] history)
public String[] getWidgetHistory(String key)
public void setWidgetHistory(String key, String[] history)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |