Rational Developer for Power Systems Software
V7.6

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

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

public class QSYSFilterStringEditPaneJobs
extends QSYSFilterStringBaseEditPane

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


Field Summary
protected  Button chkActive
           
protected  Button chkJobq
           
protected  Button chkOutq
           
static String copyright
           
protected  boolean dontStealFocus
           
protected  SystemHistoryCombo entryCurrUser
           
protected  SystemHistoryCombo entryName
           
protected  SystemHistoryCombo entryNumber
           
protected  SystemHistoryCombo entrySubSys
           
protected  SystemHistoryCombo entryUser
           
protected  ISystemValidator idValidator
           
protected  int maxCurrUserLength
           
protected  int maxNameLength
           
protected  int maxNumberLength
           
protected  int maxSbsLength
           
protected  int maxUserLength
           
protected  ISystemValidator nameValidator
           
protected  ISystemValidator numberValidator
           
protected  ISystemValidator objValidator
           
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
QSYSFilterStringEditPaneJobs(Shell shell)
          Constructor
QSYSFilterStringEditPaneJobs(Shell shell, ISystemWizard wizard)
          Constructor when invoked from Wizard
QSYSFilterStringEditPaneJobs(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 recieve initial focus.
protected  SystemMessage validateCurrUserInput()
          Validate input string, as it is typed.
protected  SystemMessage validateNameInput()
          Validate name string, as it is typed.
protected  SystemMessage validateNumberInput()
          Validate number string, as it is typed.
protected  SystemMessage validateSubSysInput()
          Validate input string, as it is typed.
protected  SystemMessage validateUserInput()
          Validate user 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

entryName

protected SystemHistoryCombo entryName

entryUser

protected SystemHistoryCombo entryUser

entryNumber

protected SystemHistoryCombo entryNumber

entryCurrUser

protected SystemHistoryCombo entryCurrUser

entrySubSys

protected SystemHistoryCombo entrySubSys

chkActive

protected Button chkActive

chkJobq

protected Button chkJobq

chkOutq

protected Button chkOutq

maxNameLength

protected int maxNameLength

maxUserLength

protected int maxUserLength

maxNumberLength

protected int maxNumberLength

maxCurrUserLength

protected int maxCurrUserLength

maxSbsLength

protected int maxSbsLength

nameValidator

protected ISystemValidator nameValidator

userValidator

protected ISystemValidator userValidator

numberValidator

protected ISystemValidator numberValidator

idValidator

protected ISystemValidator idValidator

objValidator

protected ISystemValidator objValidator

dontStealFocus

protected boolean dontStealFocus

updateNeeded

protected boolean updateNeeded
Constructor Detail

QSYSFilterStringEditPaneJobs

public QSYSFilterStringEditPaneJobs(Shell shell)
Constructor

Parameters:
shell -

QSYSFilterStringEditPaneJobs

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

Parameters:
shell -
wizard - the hosting wizard

QSYSFilterStringEditPaneJobs

public QSYSFilterStringEditPaneJobs(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 recieve 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.


validateNameInput

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


validateUserInput

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


validateNumberInput

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


validateCurrUserInput

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


validateSubSysInput

protected SystemMessage validateSubSysInput()
Validate input 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.