Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by AbstractSystemWizardPage
      extended by com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardAdvPage
          extended by com.ibm.etools.iseries.rse.ui.wizard.cmds.NewQSYSDataAreaWizardAdvPage
All Implemented Interfaces:
QSYSAUTLPromptListener

public class NewQSYSDataAreaWizardAdvPage
extends AbstractNewQSYSObjectWizardAdvPage
implements QSYSAUTLPromptListener

Second page of the "New Data Area" wizard.


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardAdvPage
autCombo, CMDDFT, CMDDFT_ARRAY, cmdStringDelta, commandSoFar, commandString, connection, errorMessage, inpAut, newAut, NO, previousFillerLabel, previousLabel, YES, YESNO_ARRAY
 
Constructor Summary
NewQSYSDataAreaWizardAdvPage(Wizard wizard, IHost connection)
          Constructor.
 
Method Summary
protected  String buildCommandStringDelta()
          Build up the iSeries command delta for this page's contributions, from current contents...
protected  String getDataAreaType()
          Get the data area data type as currently set in the main page
 boolean internalIsPageComplete()
          Return true if the page is complete, so to enable Finish.
 Control performFinishValidation()
          Completes processing of the wizard.
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 setDataAreaType(String newType)
          Informed by the first page of a change in the data area data type selection
protected  void sizeControls(Composite composite_prompts, int nbrColumns)
          Adjust the size of any child-class-unique controls...
 SystemMessage validateDecimalsInput()
          Validate Decimals value as it is entered
 SystemMessage validateInitialValueInput()
          Validate Initial Value as it is entered
 SystemMessage validateLengthInput()
          Validate Maximum size value as it is entered
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardAdvPage
authorizationNameChanged, buildCommandString, buildOurCommandStringDelta, ccsidChanged, createContents, createYesNoCombo, getAuthority, getCommandString, getCommandStringDelta, getInitialFocusControl, getOurWizard, handleEvent, isPageComplete, performFinish, setAuthority, setConnection, setVisible, widgetDefaultSelected, widgetSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.iseries.rse.ui.widgets.QSYSAUTLPromptListener
authorizationNameChanged
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

NewQSYSDataAreaWizardAdvPage

public NewQSYSDataAreaWizardAdvPage(Wizard wizard,
                                    IHost connection)
Constructor.

Method Detail

getDataAreaType

protected String getDataAreaType()
Get the data area data type as currently set in the main page


setDataAreaType

protected void setDataAreaType(String newType)
Informed by the first page of a change in the data area data type selection


validateLengthInput

public SystemMessage validateLengthInput()
Validate Maximum size value as it is entered


validateDecimalsInput

public SystemMessage validateDecimalsInput()
Validate Decimals value as it is entered


validateInitialValueInput

public SystemMessage validateInitialValueInput()
Validate Initial Value as it is entered


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 AbstractNewQSYSObjectWizardAdvPage

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 AbstractNewQSYSObjectWizardAdvPage

sizeControls

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

Specified by:
sizeControls in class AbstractNewQSYSObjectWizardAdvPage

buildCommandStringDelta

protected String buildCommandStringDelta()
Build up the iSeries command delta for this page's contributions, from current contents...

Specified by:
buildCommandStringDelta in class AbstractNewQSYSObjectWizardAdvPage

performFinishValidation

public Control performFinishValidation()
Completes processing of the wizard. If this method returns true, the wizard will close; otherwise, it will stay active. This method is an override from the parent Wizard class.

Specified by:
performFinishValidation in class AbstractNewQSYSObjectWizardAdvPage
Returns:
The control to set focus to, if an error detected

internalIsPageComplete

public boolean internalIsPageComplete()
Return true if the page is complete, so to enable Finish. Called by wizard framework.

Specified by:
internalIsPageComplete in class AbstractNewQSYSObjectWizardAdvPage

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.