RSE
Release 1.0

org.eclipse.rse.ui.wizards
Interface ISystemNewConnectionWizardMainPage

All Superinterfaces:
ISystemWizardPage
All Known Implementing Classes:
RSENewConnectionWizardDefaultDelegateMainPage, SystemNewConnectionWizardDefaultMainPage

public interface ISystemNewConnectionWizardMainPage
extends ISystemWizardPage

Interface for new Connection (ie Definition) wizard main page classes


Method Summary
 String getConnectionDescription()
           
 String getConnectionName()
           
 String getDefaultUserId()
           
 int getDefaultUserIdLocation()
           
 String getHostName()
           
 String getProfileName()
           
 String getSystemType()
           
 void restrictSystemType(String systemType)
          Call this to restrict the system type that the user is allowed to choose
 void restrictSystemTypes(String[] systemTypes)
          Call this to restrict the system types that the user is allowed to choose
 void setConnectionName(String name)
          Preset the connection name
 void setConnectionNameValidators(ISystemValidator[] v)
          Call this to specify a validator for the connection name.
 void setCurrentlySelectedConnection(IHost connection)
          Set the currently selected connection so as to better initialize input fields
 void setHostName(String name)
          Preset the host name
 void setHostNameValidator(ISystemValidator v)
          Call this to specify a validator for the hostname.
 void setProfileNamePreSelection(String name)
          Set the profile name to preselect
 void setProfileNames(String[] names)
          Set the profile names to show in the combo
 void setUserId(String userId)
          This method allows setting of the initial user Id.
 void setUserIdValidator(ISystemValidator v)
          Call this to specify a validator for the userId.
 
Methods inherited from interface org.eclipse.rse.ui.wizards.ISystemWizardPage
getHelpContextId, getInputObject, performFinish, setHelp, setInputObject
 

Method Detail

getSystemType

public String getSystemType()

getConnectionName

public String getConnectionName()

getHostName

public String getHostName()

getConnectionDescription

public String getConnectionDescription()

getDefaultUserId

public String getDefaultUserId()

getDefaultUserIdLocation

public int getDefaultUserIdLocation()

getProfileName

public String getProfileName()

restrictSystemType

public void restrictSystemType(String systemType)
Call this to restrict the system type that the user is allowed to choose


restrictSystemTypes

public void restrictSystemTypes(String[] systemTypes)
Call this to restrict the system types that the user is allowed to choose


setConnectionNameValidators

public void setConnectionNameValidators(ISystemValidator[] v)
Call this to specify a validator for the connection name. It will be called per keystroke.


setHostNameValidator

public void setHostNameValidator(ISystemValidator v)
Call this to specify a validator for the hostname. It will be called per keystroke.


setUserIdValidator

public void setUserIdValidator(ISystemValidator v)
Call this to specify a validator for the userId. It will be called per keystroke.


setUserId

public void setUserId(String userId)
This method allows setting of the initial user Id. Sometimes subsystems like to have their own default userId preference page option. If so, query it and set it here by calling this.


setConnectionName

public void setConnectionName(String name)
Preset the connection name


setHostName

public void setHostName(String name)
Preset the host name


setProfileNames

public void setProfileNames(String[] names)
Set the profile names to show in the combo


setProfileNamePreSelection

public void setProfileNamePreSelection(String name)
Set the profile name to preselect


setCurrentlySelectedConnection

public void setCurrentlySelectedConnection(IHost connection)
Set the currently selected connection so as to better initialize input fields


RSE
Release 1.0

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