Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui
Class QSYSFilterStringEditPaneSplf

java.lang.Object
  extended by SystemFilterStringEditPane
      extended by com.ibm.etools.iseries.rse.ui.QSYSFilterStringBaseEditPane
          extended by com.ibm.etools.iseries.rse.ui.QSYSFilterStringEditPaneSplf

public class QSYSFilterStringEditPaneSplf
extends QSYSFilterStringBaseEditPane

This is an edit pane for prompting for a Job filter string.


Field Summary
static String copyright
           
protected  boolean dontStealFocus
           
protected  SystemHistoryCombo entryFile
           
protected  SystemHistoryCombo entryJobName
           
protected  SystemHistoryCombo entryJobNumber
           
protected  SystemHistoryCombo entryJobUser
           
protected  SystemHistoryCombo entryUser
           
protected  ISystemValidator fileValidator
           
protected  ISystemValidator jobNameValidator
           
protected  ISystemValidator jobNumberValidator
           
protected  ISystemValidator jobUserValidator
           
protected  int maxFileLength
           
protected  int maxJobNameLength
           
protected  int maxJobNumberLength
           
protected  int maxJobUserLength
           
protected  int maxUserLength
           
protected  boolean updateNeeded
           
protected  ISystemValidator userValidator
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.QSYSFilterStringBaseEditPane
calledFromVerify, callerDialog, callerWizard, conn400Combo, defaultConn, wantConnectionPrompt
 
Constructor Summary
QSYSFilterStringEditPaneSplf(Shell shell)
          Constructor
QSYSFilterStringEditPaneSplf(Shell shell, ISystemWizard wizard)
          Constructor when invoked from Wizard
QSYSFilterStringEditPaneSplf(Shell shell, SystemPromptDialog dialog)
          Constructor when invoked from a dialog
 
Method Summary
protected  boolean areISeriesFieldsComplete()
          Called by immediate parent.
 Control createISeriesContents(Composite parent)
          Method createContents.
protected  void doInitializeISeriesFields()
          Called by immediate parent.
protected  void doResetISeriesFields()
          Must be overridden.
 String getFilterString()
          Get the filter string in its current editPane.
 Control getInitialFocusControl()
          Return the control to receive initial focus.
protected  SystemMessage validateFileInput()
          Validate input string, as it is typed.
protected  SystemMessage validateJobNameInput()
          Validate name string, as it is typed.
protected  SystemMessage validateJobNumberInput()
          Validate number string, as it is typed.
protected  SystemMessage validateJobUserInput()
          Validate user string, as it is typed.
protected  SystemMessage validateUserInput()
          Validate input string, as it is typed.
protected  Control verifyISeries()
          Called by immediate parent.
 void widgetSelected(SelectionEvent event)
          User has selected something
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.QSYSFilterStringBaseEditPane
areFieldsComplete, connectionChanged, createContents, doInitializeFields, getSystemConnection, libraryNameChanged, memberNameChanged, objectNameChanged, processTest, resetFields, setCallerDialog, setCallerWizard, setChangeFilterMode, setShowConnectionPrompt, verify
 
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

entryUser

protected SystemHistoryCombo entryUser

entryFile

protected SystemHistoryCombo entryFile

entryJobName

protected SystemHistoryCombo entryJobName

entryJobUser

protected SystemHistoryCombo entryJobUser

entryJobNumber

protected SystemHistoryCombo entryJobNumber

maxUserLength

protected int maxUserLength

maxFileLength

protected int maxFileLength

maxJobNameLength

protected int maxJobNameLength

maxJobUserLength

protected int maxJobUserLength

maxJobNumberLength

protected int maxJobNumberLength

userValidator

protected ISystemValidator userValidator

fileValidator

protected ISystemValidator fileValidator

jobNameValidator

protected ISystemValidator jobNameValidator

jobUserValidator

protected ISystemValidator jobUserValidator

jobNumberValidator

protected ISystemValidator jobNumberValidator

dontStealFocus

protected boolean dontStealFocus

updateNeeded

protected boolean updateNeeded
Constructor Detail

QSYSFilterStringEditPaneSplf

public QSYSFilterStringEditPaneSplf(Shell shell)
Constructor

Parameters:
shell -

QSYSFilterStringEditPaneSplf

public QSYSFilterStringEditPaneSplf(Shell shell,
                                    ISystemWizard wizard)
Constructor when invoked from Wizard

Parameters:
shell -
wizard - the hosting wizard

QSYSFilterStringEditPaneSplf

public QSYSFilterStringEditPaneSplf(Shell shell,
                                    SystemPromptDialog dialog)
Constructor when invoked from a dialog

Parameters:
shell -
dialog - the hosting dialog
Method Detail

createISeriesContents

public Control createISeriesContents(Composite parent)
Method createContents.

Overrides:
createISeriesContents in class QSYSFilterStringBaseEditPane
Parameters:
parent -
Returns:
Control

getInitialFocusControl

public Control getInitialFocusControl()
Return the control to receive initial focus. We return the library combo.


doInitializeISeriesFields

protected void doInitializeISeriesFields()
Called by immediate parent. Initialize the input fields

Overrides:
doInitializeISeriesFields in class QSYSFilterStringBaseEditPane

doResetISeriesFields

protected void doResetISeriesFields()
Must be overridden. This is called in the change filter dialog when the user selects "new", or selects another string. You must override this if you override createContents. Be sure to test if the contents have even been created yet!

Overrides:
doResetISeriesFields in class QSYSFilterStringBaseEditPane

areISeriesFieldsComplete

protected boolean areISeriesFieldsComplete()
Called by immediate parent. Is the data in the fields complete? Don't do error checking here.

Overrides:
areISeriesFieldsComplete in class QSYSFilterStringBaseEditPane

verifyISeries

protected Control verifyISeries()
Called by immediate parent. If you detect an error, you must set errorMessage (it is inited to null for you), and return the control in error.

Overrides:
verifyISeries in class QSYSFilterStringBaseEditPane

getFilterString

public String getFilterString()
Get the filter string in its current editPane. This should be overridden if createContents is overridden.


validateUserInput

protected SystemMessage validateUserInput()
Validate input string, as it is typed.


validateFileInput

protected SystemMessage validateFileInput()
Validate input string, as it is typed.


validateJobNameInput

protected SystemMessage validateJobNameInput()
Validate name string, as it is typed.


validateJobUserInput

protected SystemMessage validateJobUserInput()
Validate user string, as it is typed.


validateJobNumberInput

protected SystemMessage validateJobNumberInput()
Validate number string, as it is typed.


widgetSelected

public void widgetSelected(SelectionEvent event)
User has selected something

Overrides:
widgetSelected in class QSYSFilterStringBaseEditPane

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.