|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.jface.preference.FieldEditorPreferencePage
org.eclipse.rse.ui.propertypages.RemoteSystemsPreferencePage
Root preference page for Remote Systems Plugin
| Field Summary |
|---|
| Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
|---|
FLAT, GRID, MARGIN_HEIGHT, MARGIN_WIDTH, VERTICAL_SPACING |
| Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
|---|
ERROR, INFORMATION, NONE, WARNING |
| Constructor Summary | |
|---|---|
RemoteSystemsPreferencePage()
Constructor |
|
| Method Summary | |
|---|---|
void |
createControl(Composite parent)
We intercept to set the help |
protected void |
createFieldEditors()
GUI widgets for preferences page |
static String[] |
getActiveProfiles()
Return the names of the profiles the user has elected to make "active". |
static boolean |
getCascadeUserActionsPreference()
Return true if the user has elected to show user defined actions cascaded by profile |
static String[] |
getConnectionNamesOrder()
Return the ordered list of connection names. |
static String[] |
getFolderHistory()
Return the history for the folder combo box widget |
static boolean |
getQualifyConnectionNamesPreference()
Return true if the user has elected to show connection names qualified by profile |
static boolean |
getRememberStatePreference()
Return true if the user has elected to remember the state of the Remote Systems view |
static boolean |
getRestoreStateFromCachePreference()
Return true if the user has elected to restore the state of the Remote Systems view from cached information |
static boolean |
getShowFilterPoolsPreference()
Return true if the user has elected to show filter pools in the Remote System Explorer view |
static boolean |
getShowNewConnectionPromptPreference()
Return true if the user has elected to show the "New Connection..." prompt in the Remote Systems view |
static String |
getSystemTypePreference()
Return the System type to default to on the Create Connection wizard. |
static String |
getUserIdPreference(String systemType)
Return the userId to default to on the Create Connection wizard, per the given system type. |
static String[] |
getWidgetHistory(String key)
Return the history for a widget given an arbitrary key uniquely identifying it |
void |
init(IWorkbench workbench)
|
static void |
initDefaults(IPreferenceStore store,
boolean showNewConnectionPromptDefault)
Initialize our preference store with our defaults. |
protected static String |
makeString(String[] values)
Make a single string out of an array of strings |
protected static Hashtable |
parseString(String allvalues)
Parse out list of key-value pairs into a hashtable |
protected static String[] |
parseStrings(String allvalues)
Parse out list of multiple values into a string array per value |
boolean |
performOk()
Override of parent so we can fire changes to our views |
void |
propertyChange(PropertyChangeEvent event)
we don't use this after all because it causes an event to be fired as the user makes each change. |
static void |
setActiveProfiles(String[] newProfileNames)
Set the names of the profiles the user has elected to make "active". |
static void |
setCascadeUserActionsPreference(boolean set)
Set if the user has elected to show user defined actions cascaded by profile |
static void |
setConnectionNamesOrder(String[] newConnectionNamesOrder)
Set the ordered list of connection names. |
static void |
setFolderHistory(String[] newHistory)
Set the history for the folder combo box widget. |
static void |
setQualifyConnectionNamesPreference(boolean set)
Set if the user has elected to show connection names qualified by profile |
static void |
setRememberStatePreference(boolean set)
Set if the user has elected to show connection names qualified by profile |
static void |
setRestoreStateFromCachePreference(boolean set)
Set if the user has elected to restore the state of the Remote Systems view from cached information |
static void |
setShowFilterPoolsPreference(boolean show)
Toggle whether to show filter pools in the Remote System Explorer view |
static void |
setShowNewConnectionPromptPreference(boolean show)
Toggle whether to show filter pools in the Remote System Explorer view |
static void |
setUserIdPreference(String systemType,
String userId)
Set the default userId per the given system type. |
static void |
setWidgetHistory(String key,
String[] newHistory)
Set the history for a widget given an arbitrary key uniquely identifying it. |
| Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
|---|
addField, adjustGridLayout, applyFont, checkState, createContents, dispose, getFieldEditorParent, initialize, performDefaults, setVisible |
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
|---|
applyData, applyDialogFont, computeSize, contributeButtons, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
|---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.preference.IPreferencePage |
|---|
computeSize, isValid, okToLeave, performCancel, setContainer, setSize |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
|---|
dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
| Constructor Detail |
public RemoteSystemsPreferencePage()
| Method Detail |
public void createControl(Composite parent)
createControl in interface IDialogPageprotected void createFieldEditors()
public static String[] getActiveProfiles()
public static void setActiveProfiles(String[] newProfileNames)
public static String[] getConnectionNamesOrder()
public static void setConnectionNamesOrder(String[] newConnectionNamesOrder)
public static boolean getShowFilterPoolsPreference()
public static void setShowFilterPoolsPreference(boolean show)
public static boolean getShowNewConnectionPromptPreference()
public static void setShowNewConnectionPromptPreference(boolean show)
public static boolean getQualifyConnectionNamesPreference()
public static void setQualifyConnectionNamesPreference(boolean set)
public static boolean getRememberStatePreference()
public static void setRememberStatePreference(boolean set)
public static boolean getRestoreStateFromCachePreference()
public static void setRestoreStateFromCachePreference(boolean set)
public static boolean getCascadeUserActionsPreference()
public static void setCascadeUserActionsPreference(boolean set)
public static String getUserIdPreference(String systemType)
SystemConnectionForm
public static void setUserIdPreference(String systemType,
String userId)
public static String getSystemTypePreference()
SystemConnectionFormpublic static String[] getFolderHistory()
public static void setFolderHistory(String[] newHistory)
public static String[] getWidgetHistory(String key)
public static void setWidgetHistory(String key,
String[] newHistory)
protected static Hashtable parseString(String allvalues)
protected static String[] parseStrings(String allvalues)
protected static String makeString(String[] values)
public void init(IWorkbench workbench)
init in interface IWorkbenchPreferencePage
public static void initDefaults(IPreferenceStore store,
boolean showNewConnectionPromptDefault)
public void propertyChange(PropertyChangeEvent event)
propertyChange in interface IPropertyChangeListenerpublic boolean performOk()
performOk in interface IPreferencePage
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||