Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.actions.select
Class QSYSSelectProcedureAction

java.lang.Object
  extended by SystemBaseDialogAction
      extended by com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseDialogAction
          extended by com.ibm.etools.iseries.rse.ui.actions.select.IBMiSelectAbstractAction
              extended by com.ibm.etools.iseries.rse.ui.actions.select.QSYSSelectProcedureAction

public class QSYSSelectProcedureAction
extends IBMiSelectAbstractAction

A reusable action for a dialog prompting for a procedure from within a *MODULE object on a remote iSeries system. The user is given a tree view to drill down and select from.


     Browse for procedure
     
     .---------------------------------------------.
     | + Library1                                  |
     | - Library2                                  |
     |     + Program1                              |
     |     - Program2                              |
     |         - Module1                           |
     |          - Procedure1                                     |
     |          - Procedure2                                     |
     |         + Module2                           |
     |         + Module3                           |
     |     + Program3                              |
     | + Library3                                  |
     .---------------------------------------------.
 
 


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.select.IBMiSelectAbstractAction
addButton, addButtonCallback, addFilterStrings, addLabel, addToolTipText, autoExpandDepth, copyright, defaultConnection, dlg, EMPTY_OBJECT_ARRAY, EMPTY_STRING_ARRAY, multipleSelectionMode, objTypes, onlyConnection, outputConnection, preSelectLibraryName, preSelectObjectName, rootLibraryName, selectionType, showLiblFilter, showNewConnectionPrompt, showPropertySheet, showPropertySheetDetailsButton, showPropertySheetDetailsButtonInitialState, showYourLibrariesPrompt, title, treeTip, verbage
 
Constructor Summary
QSYSSelectProcedureAction(Shell shell)
          Base constructor that offers the default configuration of the dialog All iseries connections are listed, and the first one is selected There is a "New Connection..." special connection object to create new iSeries connections All defaults can be changed via set methods.
 
Method Summary
 String getModuleName()
          Returns the parent module name of the selected procedure.
 String getSelectedLibraryName()
          Returns the library name of the object (program or service program) that contains the parent module of the selected procedure.
 String getSelectedName()
          Returns the name of the selected procedure.
 String getSelectedObjectName()
          Returns the name of the object (program or service program) that contains the parent module of the selected procedure.
 IQSYSProcedure getSelectedProcedure()
          Return selected procedure.
 IQSYSProcedure[] getSelectedProcedures()
          Return selected procedures.
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.select.IBMiSelectAbstractAction
addFilter, addLibraryFilter, createDialog, enableAddMode, enableAddMode, getDialogValue, getFileSubSystem, getSelectDialog, getSelected, getSelectedConnection, getSelectedObjects, reset, setAddModeLabel, setAutoExpandDepth, setDefaultConnection, setDialogTitle, setMessage, setMultipleSelectionMode, setObjectTypes, setPreSelection, setPreSelection, setRootLibrary, setSelectionTreeToolTipText, setSelectionValidator, setShowLiblFilter, setShowNewConnectionPrompt, setShowPropertySheet, setShowPropertySheet, setShowYourLibrariesPrompt, setSystemConnection
 
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

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

QSYSSelectProcedureAction

public QSYSSelectProcedureAction(Shell shell)
Base constructor that offers the default configuration of the dialog All defaults can be changed via set methods.

Method Detail

getSelectedName

public String getSelectedName()
Returns the name of the selected procedure.

Returns:
the name of the procedure.

getSelectedObjectName

public String getSelectedObjectName()
Returns the name of the object (program or service program) that contains the parent module of the selected procedure. If multiple procedures selected, object name for the first selected procedure returns.

Returns:
the name of the object (program or service program).

getSelectedLibraryName

public String getSelectedLibraryName()
Returns the library name of the object (program or service program) that contains the parent module of the selected procedure. If multiple procedures selected, library name for the first selected procedure returns.

Returns:
the name of the library.

getSelectedProcedure

public IQSYSProcedure getSelectedProcedure()
Return selected procedure. If multiple procedures are selected the the first one is returned.


getSelectedProcedures

public IQSYSProcedure[] getSelectedProcedures()
Return selected procedures. If only a single procedure is selected, returns an array of one. If no procedures are selected, returns an array of length 0.


getModuleName

public String getModuleName()
Returns the parent module name of the selected procedure. If multiple procedures selected, module name for the first selected procedure returns.

Returns:
the name of the module.

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.