Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.wizard.cmds
Class NewQSYSDataQWizardMainPage

java.lang.Object
  extended by AbstractSystemWizardPage
      extended by com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardMainPage
          extended by com.ibm.etools.iseries.rse.ui.wizard.cmds.NewQSYSDataQWizardMainPage
All Implemented Interfaces:
IQSYSLibraryPromptListener, IQSYSObjectPromptListener

public class NewQSYSDataQWizardMainPage
extends AbstractNewQSYSObjectWizardMainPage

Main page of the "New Data Queue" wizard.


Field Summary
static String copyright
           
protected  Text maxEntryLenText
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardMainPage
CMDDFT, CMDDFT_ARRAY, cmdStringDelta, commandSoFar, commandString, connection, connPrompt, entryObjPrompt, entryObjText, errorMessage, inpLib, inpObj, inpText, newLib, newObj, newText
 
Constructor Summary
NewQSYSDataQWizardMainPage(Wizard wizard, IHost connection)
          Constructor.
 
Method Summary
protected  String buildCommandStringDelta()
          For child subclasses.
protected  String getCommandStart()
          Return the start of the command.
protected  QSYSBasePrompt getObjectPrompt(Composite composite_prompts, int nbrColumns)
          Return the widget for prompting for the object
protected  String getTextLabel()
          Return the key to use to get the xlated label and tooltip for the TEXT fields
protected  String getTextTooltip()
          Return the label to use to get the xlated label and tooltip for the TEXT fields
protected  boolean internalIsPageComplete()
          Do page completion testing beyond what the base class does.
protected  Control performFinishValidation()
          Do validation beyond what the base class does, when Finish is pressed.
protected  void populateControls(Composite composite_prompts, int nbrColumns)
          Populate the content area with additional controls beyond what the parent supplies...
protected  void prepareControls()
          Pre-fill any child-class-unique controls with passed-in data, and set any keystroke listeners...
protected  void sizeControls(Composite composite_prompts, int nbrColumns)
          Adjust the size of any child-class-unique controls...
 SystemMessage validateMaxLenInput()
          Validate maximum length value as it is entered
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardMainPage
buildCommandString, buildOurCommandStringDelta, createContents, createRigidFillerLabel, getCommandString, getCommandStringDelta, getConnection, getInitialFocusControl, getLibraryName, getLibraryPrompt, getObjectName, getObjectPrompt, getObjectText, getOurWizard, handleEvent, isPageComplete, libraryNameChanged, objectNameChanged, performFinish, setConnection, setLibraryName, setObjectName, setObjectText, setVisible, validateTextInput, widgetDefaultSelected, widgetSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

maxEntryLenText

protected Text maxEntryLenText
Constructor Detail

NewQSYSDataQWizardMainPage

public NewQSYSDataQWizardMainPage(Wizard wizard,
                                  IHost connection)
Constructor.

Method Detail

validateMaxLenInput

public SystemMessage validateMaxLenInput()
Validate maximum length value as it is entered


getTextLabel

protected String getTextLabel()
Return the key to use to get the xlated label and tooltip for the TEXT fields

Specified by:
getTextLabel in class AbstractNewQSYSObjectWizardMainPage

getTextTooltip

protected String getTextTooltip()
Return the label to use to get the xlated label and tooltip for the TEXT fields

Specified by:
getTextTooltip in class AbstractNewQSYSObjectWizardMainPage

getObjectPrompt

protected QSYSBasePrompt getObjectPrompt(Composite composite_prompts,
                                         int nbrColumns)
Return the widget for prompting for the object

Specified by:
getObjectPrompt in class AbstractNewQSYSObjectWizardMainPage

populateControls

protected void populateControls(Composite composite_prompts,
                                int nbrColumns)
Populate the content area with additional controls beyond what the parent supplies...

Specified by:
populateControls in class AbstractNewQSYSObjectWizardMainPage

prepareControls

protected void prepareControls()
Pre-fill any child-class-unique controls with passed-in data, and set any keystroke listeners...

Specified by:
prepareControls in class AbstractNewQSYSObjectWizardMainPage

sizeControls

protected void sizeControls(Composite composite_prompts,
                            int nbrColumns)
Adjust the size of any child-class-unique controls...

Specified by:
sizeControls in class AbstractNewQSYSObjectWizardMainPage

getCommandStart

protected String getCommandStart()
Return the start of the command. Eg "CRTDTAQ DTAQ("

Specified by:
getCommandStart in class AbstractNewQSYSObjectWizardMainPage

buildCommandStringDelta

protected String buildCommandStringDelta()
For child subclasses. Build the command string for the additional parameters not handled by the base class.

Specified by:
buildCommandStringDelta in class AbstractNewQSYSObjectWizardMainPage

performFinishValidation

protected Control performFinishValidation()
Do validation beyond what the base class does, when Finish is pressed. Return the control to set focus to if any error is found. Also, set the errorMessage instance variable if an error is found. Further, set any newXXX instance variables you want to access via getXXX methods after successful finish.

Specified by:
performFinishValidation in class AbstractNewQSYSObjectWizardMainPage

internalIsPageComplete

protected boolean internalIsPageComplete()
Do page completion testing beyond what the base class does. Return true if it is ok to enable Finish.

Specified by:
internalIsPageComplete in class AbstractNewQSYSObjectWizardMainPage

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.