RSE
Release 1.0

org.eclipse.rse.ui.propertypages
Class SystemConnectionPropertyPage

java.lang.Object
  extended byorg.eclipse.jface.dialogs.DialogPage
      extended byorg.eclipse.jface.preference.PreferencePage
          extended byorg.eclipse.ui.dialogs.PropertyPage
              extended byorg.eclipse.rse.ui.propertypages.SystemBasePropertyPage
                  extended byorg.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


Field Summary
protected  SystemConnectionForm form
           
protected  String parentHelpId
           
 
Fields inherited from class org.eclipse.rse.ui.propertypages.SystemBasePropertyPage
buttonsComposite, contentArea, msgLine, msgLineSet
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
SystemConnectionPropertyPage()
          Constructor for SystemConnectionPropertyPage
 
Method Summary
protected  Control createContentArea(Composite parent)
          Create the page's GUI contents.
protected  IHost getConnection()
          Get the input connection object
 boolean performOk()
          Called by parent when user presses OK
 void systemTypeSelected(String systemType, boolean duringInitialization)
          Event: the user has selected a system type.
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.
 
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.ui.dialogs.PropertyPage
getElement, setElement
 
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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.rse.ui.messages.ISystemMessageLine
clearErrorMessage, clearMessage, getErrorMessage, getMessage, getSystemErrorMessage, setErrorMessage, setErrorMessage, setErrorMessage, setMessage, setMessage
 
Methods inherited from interface org.eclipse.rse.ui.ISystemConnectionFormCaller
getShell
 
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage
computeSize, isValid, performCancel, setContainer, setSize
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
 

Field Detail

form

protected SystemConnectionForm form

parentHelpId

protected String parentHelpId
Constructor Detail

SystemConnectionPropertyPage

public SystemConnectionPropertyPage()
Constructor for SystemConnectionPropertyPage

Method Detail

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 selected
duringInitialization - true if this is being set at page initialization time versus selected by the user

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.