RSE
Release 3.0

org.eclipse.rse.ui.propertypages
Class SystemSubSystemPropertyPageCoreForm

java.lang.Object
  extended by org.eclipse.rse.ui.propertypages.AbstractSystemSubSystemPropertyPageCoreForm
      extended by org.eclipse.rse.ui.propertypages.SystemSubSystemPropertyPageCoreForm
All Implemented Interfaces:
ISystemSubSystemPropertyPageCoreForm

public class SystemSubSystemPropertyPageCoreForm
extends AbstractSystemSubSystemPropertyPageCoreForm

The form for the property page for core subsystem properties.


Field Summary
protected  Label labelUserId
           
protected  Label labelUserIdPrompt
           
protected  boolean portApplicable
           
protected  boolean portEditable
           
protected  SystemPortPrompt portPrompt
           
protected  ISystemValidator portValidator
           
protected  InheritableEntryField textUserId
           
protected  boolean userIdApplicable
           
protected  ISystemValidator userIdValidator
           
 
Fields inherited from class org.eclipse.rse.ui.propertypages.AbstractSystemSubSystemPropertyPageCoreForm
caller, callerInstanceOfPropertyPage, callerInstanceOfSystemPromptDialog, callerInstanceOfWizardPage, errorMessage, initDone, inputElement, labelConnection, labelConnectionPrompt, labelName, labelNamePrompt, labelProfile, labelProfilePrompt, labelType, labelTypePrompt, labelVendor, labelVendorPrompt, msgLine, rb, shell, xlatedNotApplicable
 
Constructor Summary
SystemSubSystemPropertyPageCoreForm(ISystemMessageLine msgLine, Object caller)
          Constructor
 
Method Summary
 Control createInner(Composite composite_prompts, Object inputElement, Shell shell)
          Create the GUI contents.
protected  void doInitializeFields()
          Initialize values of input fields based on input
 void doInitializeInnerFields()
           
 Control getInitialFocusControl()
          Return control to recieve initial focus
protected  String getUserId()
          Return user-entered User Id.
 boolean isPageComplete()
          This method can be called by the dialog or wizard page host, to decide whether to enable or disable the next, final or ok buttons.
protected  boolean isPortEditable()
          Return true if the port is editable for this subsystem
protected  boolean isUserIdApplicable()
          Return true if the userId is applicable for this subsystem
 boolean performOk()
          Called by caller when user presses OK
 void setPageComplete()
          Inform caller of page-complete status of this form
protected  SystemMessage validateUserIdInput()
          Validate user id value per keystroke
 boolean verifyFormContents()
          Validate all the widgets on the form
 
Methods inherited from class org.eclipse.rse.ui.propertypages.AbstractSystemSubSystemPropertyPageCoreForm
createContents, getShell, getSubSystem
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

portPrompt

protected SystemPortPrompt portPrompt

labelUserId

protected Label labelUserId

labelUserIdPrompt

protected Label labelUserIdPrompt

textUserId

protected InheritableEntryField textUserId

portEditable

protected boolean portEditable

portApplicable

protected boolean portApplicable

userIdApplicable

protected boolean userIdApplicable

portValidator

protected ISystemValidator portValidator

userIdValidator

protected ISystemValidator userIdValidator
Constructor Detail

SystemSubSystemPropertyPageCoreForm

public SystemSubSystemPropertyPageCoreForm(ISystemMessageLine msgLine,
                                           Object caller)
Constructor

Method Detail

createInner

public Control createInner(Composite composite_prompts,
                           Object inputElement,
                           Shell shell)
Create the GUI contents.

Specified by:
createInner in class AbstractSystemSubSystemPropertyPageCoreForm

getInitialFocusControl

public Control getInitialFocusControl()
Return control to recieve initial focus

Overrides:
getInitialFocusControl in class AbstractSystemSubSystemPropertyPageCoreForm

isPortEditable

protected boolean isPortEditable()
Return true if the port is editable for this subsystem


isUserIdApplicable

protected boolean isUserIdApplicable()
Return true if the userId is applicable for this subsystem


doInitializeFields

protected void doInitializeFields()
Initialize values of input fields based on input

Overrides:
doInitializeFields in class AbstractSystemSubSystemPropertyPageCoreForm

doInitializeInnerFields

public void doInitializeInnerFields()
Specified by:
doInitializeInnerFields in class AbstractSystemSubSystemPropertyPageCoreForm

validateUserIdInput

protected SystemMessage validateUserIdInput()
Validate user id value per keystroke


getUserId

protected String getUserId()
Return user-entered User Id.


isPageComplete

public boolean isPageComplete()
This method can be called by the dialog or wizard page host, to decide whether to enable or disable the next, final or ok buttons. It returns true if the minimal information is available and is correct.

Overrides:
isPageComplete in class AbstractSystemSubSystemPropertyPageCoreForm

setPageComplete

public void setPageComplete()
Inform caller of page-complete status of this form

Overrides:
setPageComplete in class AbstractSystemSubSystemPropertyPageCoreForm

verifyFormContents

public boolean verifyFormContents()
Validate all the widgets on the form


performOk

public boolean performOk()
Called by caller when user presses OK


RSE
Release 3.0

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