Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.search
Class SearchDialog

java.lang.Object
  extended by SystemPromptDialog
      extended by com.ibm.etools.iseries.rse.ui.search.SearchDialog

public class SearchDialog
extends SystemPromptDialog

Dialog displayed when the Search String option is specified for data file or member.


Field Summary
static String Copyright
           
static int INPUT_EMPTY
           
static int INPUT_NOT_NUMERIC
           
static int INPUT_NOT_POSITIVE
           
static int INPUT_VALID
           
protected  Object inputObject
           
protected  boolean okPressed
           
protected  Object outputObject
           
protected  ResourceBundle rb
           
 
Constructor Summary
SearchDialog(Shell parent, Object[] targetListArray, boolean mixedConnection, boolean searchByLibrary)
           
 
Method Summary
protected  Control createInner(Composite parent)
           
 boolean getCaseSensitive()
           
 int getColumnSelection()
           
 int getEndColumn()
           
protected  Control getInitialFocusControl()
          Return the Control to be given initial focus.
 boolean getSearchDtaMbr()
           
 boolean getSearchSrcMbr()
           
 String getSearchString()
          Getter methods and Setter methods
 int getStartColumn()
           
 void handleEvent(Event event)
           
 boolean isPageComplete()
          Return true if the page values are sufficient to enable OK button
 void modifyText(ModifyEvent e)
           
 boolean processOK()
          Override of parent.
 
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

okPressed

protected boolean okPressed

inputObject

protected Object inputObject

outputObject

protected Object outputObject

rb

protected ResourceBundle rb

INPUT_VALID

public static final int INPUT_VALID
See Also:
Constant Field Values

INPUT_EMPTY

public static final int INPUT_EMPTY
See Also:
Constant Field Values

INPUT_NOT_NUMERIC

public static final int INPUT_NOT_NUMERIC
See Also:
Constant Field Values

INPUT_NOT_POSITIVE

public static final int INPUT_NOT_POSITIVE
See Also:
Constant Field Values
Constructor Detail

SearchDialog

public SearchDialog(Shell parent,
                    Object[] targetListArray,
                    boolean mixedConnection,
                    boolean searchByLibrary)
Method Detail

createInner

protected Control createInner(Composite parent)
See Also:
SystemPromptDialog#createInner(Composite)

getInitialFocusControl

protected Control getInitialFocusControl()
Return the Control to be given initial focus. Override of abstract method in parent PromptDialog class.


handleEvent

public void handleEvent(Event event)

processOK

public boolean processOK()
Override of parent. Called when user presses OK. Returning true closes dialog, false keeps dialog active.


getSearchString

public String getSearchString()
Getter methods and Setter methods


getCaseSensitive

public boolean getCaseSensitive()

getColumnSelection

public int getColumnSelection()

getStartColumn

public int getStartColumn()

getEndColumn

public int getEndColumn()

getSearchSrcMbr

public boolean getSearchSrcMbr()

getSearchDtaMbr

public boolean getSearchDtaMbr()

isPageComplete

public boolean isPageComplete()
Return true if the page values are sufficient to enable OK button


modifyText

public void modifyText(ModifyEvent e)
See Also:
ModifyListener

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.