org.eclipse.rse.ui.propertypages
Class SystemConnectionPropertyPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
org.eclipse.rse.ui.propertypages.SystemBasePropertyPage
org.eclipse.rse.ui.propertypages.SystemConnectionPropertyPage
- All Implemented Interfaces:
- IDialogPage, IMessageProvider, IPreferencePage, ISystemConnectionFormCaller, ISystemMessageLine, ISystemMessageLineTarget, IWorkbenchPropertyPage
- public class SystemConnectionPropertyPage
- extends SystemBasePropertyPage
- implements ISystemMessageLine, ISystemConnectionFormCaller
The property page for connection properties
The plugin.xml file registers this for objects of class org.eclipse.rse.rse.model.IHost
| Methods inherited from class org.eclipse.rse.ui.propertypages.SystemBasePropertyPage |
addFillerLine, addSeparatorLine, clearErrorMessage, clearMessage, configureMessageLine, contributeButtons, createContents, createLabeledCombo, createLabeledLabel, createLabeledText, createLabeledVerbage, getMessageLine, getSystemErrorMessage, grabExcessSpace, okToLeave, setBusyCursor, setErrorMessage, setErrorMessage, setErrorMessage, setHelp, setMessage, setMessage, setMessageLine, wantAutomaticValidManagement, wantDefaultAndApplyButton, wantMnemonics |
| Methods inherited from class org.eclipse.jface.preference.PreferencePage |
applyData, applyDialogFont, computeSize, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, performApply, performCancel, performDefaults, performHelp, setContainer, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton |
| Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setVisible |
| Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
form
protected SystemConnectionForm form
parentHelpId
protected String parentHelpId
SystemConnectionPropertyPage
public SystemConnectionPropertyPage()
- Constructor for SystemConnectionPropertyPage
createContentArea
protected Control createContentArea(Composite parent)
- Create the page's GUI contents.
- Specified by:
createContentArea in class SystemBasePropertyPage
getConnection
protected IHost getConnection()
- Get the input connection object
performOk
public boolean performOk()
- Called by parent when user presses OK
- Specified by:
performOk in interface IPreferencePage- Overrides:
performOk in class SystemBasePropertyPage
- Returns:
- true if all is well, false if there is an error.
verifyPageContents
protected boolean verifyPageContents()
- Validate all the widgets on the page
Subclasses should override to do full error checking on all
the widgets on the page.
- Specified by:
verifyPageContents in class SystemBasePropertyPage
- Returns:
- true if there are no errors, false if any errors were found.
systemTypeSelected
public void systemTypeSelected(String systemType,
boolean duringInitialization)
- Event: the user has selected a system type.
- Specified by:
systemTypeSelected in interface ISystemConnectionFormCaller
- Parameters:
systemType - the type of system selectedduringInitialization - true if this is being set at page initialization time versus selected by the user
Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.