Rational Developer for Power Systems Software
V7.6

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

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

public class NewQSYSSourceFileWizardAdvPage
extends AbstractNewQSYSObjectWizardAdvPage
implements IQSYSCCSIDPromptListener

Second page of the "New Source Physical File" wizard.


Field Summary
static String copyright
           
static String[] IGCDTA_VALUES
           
 
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
NewQSYSSourceFileWizardAdvPage(Wizard wizard, IHost connection)
          Constructor.
 
Method Summary
 void authorizationNameChanged(SystemMessage error)
          From IISeriesAUTLPromptListener.
protected  String buildCommandStringDelta()
          Build up the iSeries command delta for this page's contributions, from current contents...
 void ccsidChanged(SystemMessage error)
          From IISeriesCCSIDPromptListener.
 String getCCSID()
          Get CCSID value
 String getIGCDTA()
          Get IGCDTA 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
 void setFileIGCDTA(String igcdta)
          Set file IGCDTA value
protected  void sizeControls(Composite composite_prompts, int nbrColumns)
          Adjust the size of any child-class-unique controls...
 SystemMessage validateIGCDTAInput()
          Validate IGCDTA values as they are entered
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardAdvPage
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

IGCDTA_VALUES

public static final String[] IGCDTA_VALUES
Constructor Detail

NewQSYSSourceFileWizardAdvPage

public NewQSYSSourceFileWizardAdvPage(Wizard wizard,
                                      IHost connection)
Constructor.

Method Detail

setCCSID

public void setCCSID(String ccsid)
Set CCSID value


setFileIGCDTA

public void setFileIGCDTA(String igcdta)
Set file IGCDTA value


getCCSID

public String getCCSID()
Get CCSID value


getIGCDTA

public String getIGCDTA()
Get IGCDTA value


authorizationNameChanged

public void authorizationNameChanged(SystemMessage error)
From IISeriesAUTLPromptListener. Called as user types an authorizationlist name. Given string is error message.

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

ccsidChanged

public void ccsidChanged(SystemMessage error)
From IISeriesCCSIDPromptListener. 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

validateIGCDTAInput

public SystemMessage validateIGCDTAInput()
Validate IGCDTA values as they are 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.