Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by SystemFilterStringEditPane
      extended by com.ibm.etools.iseries.rse.ui.QSYSFilterStringBaseEditPane
          extended by com.ibm.etools.iseries.rse.ui.QSYSFilterStringEditPaneLibraries
All Implemented Interfaces:
IQSYSLibraryPromptListener

public class QSYSFilterStringEditPaneLibraries
extends QSYSFilterStringBaseEditPane
implements IQSYSLibraryPromptListener

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


Field Summary
static String copyright
           
protected  QSYSLibraryPrompt entryLibPrompt
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.QSYSFilterStringBaseEditPane
calledFromVerify, callerDialog, callerWizard, conn400Combo, defaultConn, wantConnectionPrompt
 
Constructor Summary
QSYSFilterStringEditPaneLibraries(Shell shell)
          Constructor
QSYSFilterStringEditPaneLibraries(Shell shell, ISystemWizard wizard)
          Constructor when invoked from Wizard
QSYSFilterStringEditPaneLibraries(Shell shell, SystemPromptDialog dialog)
          Constructor when invoked from a dialog
 
Method Summary
protected  boolean areISeriesFieldsComplete()
          Called by immediate parent.
protected  void connectionChanged(IHost connection)
          SubClasses that need to know when the connection changes (in those cases where there is a conn prompt at the top) should override this method.
 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  void setIgnoreChanges(boolean ignoreChanges)
          Turn on ignore changes mode.
protected  Control verifyISeries()
          Called by immediate parent.
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.QSYSFilterStringBaseEditPane
areFieldsComplete, createContents, doInitializeFields, getSystemConnection, libraryNameChanged, memberNameChanged, objectNameChanged, processTest, resetFields, setCallerDialog, setCallerWizard, setChangeFilterMode, setShowConnectionPrompt, verify, widgetSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.iseries.rse.ui.widgets.IQSYSLibraryPromptListener
libraryNameChanged
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

entryLibPrompt

protected QSYSLibraryPrompt entryLibPrompt
Constructor Detail

QSYSFilterStringEditPaneLibraries

public QSYSFilterStringEditPaneLibraries(Shell shell)
Constructor

Parameters:
shell -

QSYSFilterStringEditPaneLibraries

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

Parameters:
shell -
wizard - the hosting wizard

QSYSFilterStringEditPaneLibraries

public QSYSFilterStringEditPaneLibraries(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

setIgnoreChanges

protected void setIgnoreChanges(boolean ignoreChanges)
Turn on ignore changes mode. Subclasses typically can just query the inherited field ignoreChanges, unless they need to set the ignoreChanges mode in their own composite widgets, in which case they can override and intercept this.


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.


connectionChanged

protected void connectionChanged(IHost connection)
SubClasses that need to know when the connection changes (in those cases where there is a conn prompt at the top) should override this method.

Overrides:
connectionChanged 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.