Rational Developer for Power Systems Software
V7.6

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

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.NewQSYSMsgFileWizardAdvPage
All Implemented Interfaces:
IQSYSCCSIDPromptListener, QSYSAUTLPromptListener

public class NewQSYSMsgFileWizardAdvPage
extends AbstractNewQSYSObjectWizardAdvPage
implements IQSYSCCSIDPromptListener

Second page of the "New Message File" wizard.


Field Summary
static String copyright
           
static String[] MAXINCR_VALUES
           
static String NOMAX
           
 
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
NewQSYSMsgFileWizardAdvPage(Wizard wizard, IHost connection)
          Constructor.
 
Method Summary
protected  String buildCommandStringDelta()
          Build up the iSeries command delta for this page's contributions, from current contents...
 void ccsidChanged(SystemMessage error)
          From IQSYSCCSIDPromptListener.
 String getCCSID()
          Get CCSID value
 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...
 void setCCSID(String ccsid)
          Set CCSID value
protected  void sizeControls(Composite composite_prompts, int nbrColumns)
          Adjust the size of any child-class-unique controls...
 SystemMessage validateSizeIncrementInput()
          Validate Increment size value as it is entered
 SystemMessage validateSizeInitialInput()
          Validate Initial size value as it is entered
 SystemMessage validateSizeMaxIncrementInput()
          Validate Max Increment size value as it is entered
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardAdvPage
authorizationNameChanged, buildCommandString, buildOurCommandStringDelta, 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
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

NOMAX

public static final String NOMAX
See Also:
Constant Field Values

MAXINCR_VALUES

public static final String[] MAXINCR_VALUES
Constructor Detail

NewQSYSMsgFileWizardAdvPage

public NewQSYSMsgFileWizardAdvPage(Wizard wizard,
                                   IHost connection)
Constructor.

Method Detail

setCCSID

public void setCCSID(String ccsid)
Set CCSID value


getCCSID

public String getCCSID()
Get CCSID value


ccsidChanged

public void ccsidChanged(SystemMessage error)
From IQSYSCCSIDPromptListener. Called as user types an CCSID value. Given string is error message.

Specified by:
ccsidChanged in interface IQSYSCCSIDPromptListener
Overrides:
ccsidChanged in class AbstractNewQSYSObjectWizardAdvPage
Parameters:
error - Will be null if the input is valid, or a translated msg if not

validateSizeInitialInput

public SystemMessage validateSizeInitialInput()
Validate Initial size value as it is entered


validateSizeIncrementInput

public SystemMessage validateSizeIncrementInput()
Validate Increment size value as it is entered


validateSizeMaxIncrementInput

public SystemMessage validateSizeMaxIncrementInput()
Validate Max Increment size 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.