|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemBaseDialogAction com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseDialogAction com.ibm.etools.iseries.rse.ui.search.ISeriesSearchAction
public class ISeriesSearchAction
This is the action that will put up a dialog for users to specify a string to be used for searching the selected object which can be filter library, file or member. It then calls another class to do the actual searching. For libraries, they are resolved to files first and for filters, they are resolved to lib/file/mbr.
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseDialogAction |
---|
copyright |
Constructor Summary | |
---|---|
ISeriesSearchAction(Shell parent)
Constructor |
Method Summary | |
---|---|
protected boolean |
addElementsFromFilterStrToTargetList(String[] filterStrings,
IBMiConnection iseriesConn)
Resolve the filter strings to data elements. |
protected void |
addElementToTargetList(IQSYSResource element,
boolean searchByMember)
Add the element to the target list |
Dialog |
createDialog(Shell shell)
This method builds two lists from the selected items: - one contains either valid lib/file/mbr data elements or filter strings obtained from filters. |
protected Object |
getDialogValue(Dialog dlg)
We use the default inherited actionPerformed method, which calls this method after the dialog is closed in order to retrieve the dialog's data. |
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseDialogAction |
---|
getIBMiConnection, updateSelection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public ISeriesSearchAction(Shell parent)
Method Detail |
---|
public Dialog createDialog(Shell shell)
protected Object getDialogValue(Dialog dlg)
We overload this to also actually run the command remotely.
protected void addElementToTargetList(IQSYSResource element, boolean searchByMember)
element
- - must be a file or membersearchByMember
- - true if the element is member. We already know the answer before
the callprotected boolean addElementsFromFilterStrToTargetList(String[] filterStrings, IBMiConnection iseriesConn)
filter
- string array obtained from filters.
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |