Rational Developer for Power Systems Software
V7.6

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

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.NewQSYSLibraryWizardAdvPage
All Implemented Interfaces:
IQSYSAspDevPromptListener, QSYSAUTLPromptListener

public class NewQSYSLibraryWizardAdvPage
extends AbstractNewQSYSObjectWizardAdvPage
implements IQSYSAspDevPromptListener

Second page of the "New Library" wizard.


Field Summary
 String[] ASP_VALUES
           
 String[] ASP_VALUES_ADORNED
           
static String copyright
           
 String[] CRTAUD_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
NewQSYSLibraryWizardAdvPage(Wizard wizard, IHost connection)
          Constructor.
 
Method Summary
 void aspDevNameChanged(SystemMessage error)
          From IQSYSAspDevPromptListener.
 void authorizationNameChanged(SystemMessage error)
          From IQSYSAUTLPromptListener.
protected  String buildCommandStringDelta()
          Build up the QSYS command delta for this page's contributions, from current contents...
 String getASP()
          Get library ASP parameter value
 String getASPDDEV()
          Get library ASPDEV parameter value
 String getCreateAuthority()
          Get library Create Authority parameter value
 String getCreateObjectAuditing()
          Get library Create Object Auditing parameter 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 setASP(String asp)
          Set library ASP parameter value
 void setASPDEV(String aspd)
          Set library ASPDEV parameter value
 void setConnection(IHost connection)
          Set the connection.
 void setCreateAuthority(String crtAut)
          Set library Create Authority parameter value
 void setCreateObjectAuditing(String objAud)
          Set library Create Object Auditing parameter value
protected  void sizeControls(Composite composite_prompts, int nbrColumns)
          Adjust the size of any child-class-unique controls...
protected  SystemMessage validateASPInput()
          Validate ASP value as it is typed or selected
protected  SystemMessage validateCrtObjAudInput()
          Validate create object auditing value as it is typed or selected
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardAdvPage
buildCommandString, buildOurCommandStringDelta, ccsidChanged, createContents, createYesNoCombo, getAuthority, getCommandString, getCommandStringDelta, getInitialFocusControl, getOurWizard, handleEvent, isPageComplete, performFinish, setAuthority, 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

ASP_VALUES

public String[] ASP_VALUES

ASP_VALUES_ADORNED

public String[] ASP_VALUES_ADORNED

CRTAUD_VALUES

public String[] CRTAUD_VALUES
Constructor Detail

NewQSYSLibraryWizardAdvPage

public NewQSYSLibraryWizardAdvPage(Wizard wizard,
                                   IHost connection)
Constructor.

Method Detail

setConnection

public void setConnection(IHost connection)
Set the connection. This can be called later if null is passed in the constructor. Override of parent so connection can be set in our crtAut combo

Overrides:
setConnection in class AbstractNewQSYSObjectWizardAdvPage

setASP

public void setASP(String asp)
Set library ASP parameter value


setASPDEV

public void setASPDEV(String aspd)
Set library ASPDEV parameter value


setCreateAuthority

public void setCreateAuthority(String crtAut)
Set library Create Authority parameter value


setCreateObjectAuditing

public void setCreateObjectAuditing(String objAud)
Set library Create Object Auditing parameter value


getASP

public String getASP()
Get library ASP parameter value


getASPDDEV

public String getASPDDEV()
Get library ASPDEV parameter value


getCreateAuthority

public String getCreateAuthority()
Get library Create Authority parameter value


getCreateObjectAuditing

public String getCreateObjectAuditing()
Get library Create Object Auditing parameter value


authorizationNameChanged

public void authorizationNameChanged(SystemMessage error)
From IQSYSAUTLPromptListener. Called as user types an authorization list 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

aspDevNameChanged

public void aspDevNameChanged(SystemMessage error)
From IQSYSAspDevPromptListener. Called as user types an asp device name. Given string is error message.

Specified by:
aspDevNameChanged in interface IQSYSAspDevPromptListener
Parameters:
error - Will be null if the input is valid, or a translated msg if not

validateASPInput

protected SystemMessage validateASPInput()
Validate ASP value as it is typed or selected


validateCrtObjAudInput

protected SystemMessage validateCrtObjAudInput()
Validate create object auditing value as it is typed or selected


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 QSYS 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.