Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.actions.cmds
Class QSYSNewLibraryAction

java.lang.Object
  extended by SystemBaseWizardAction
      extended by com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseWizardAction
          extended by com.ibm.etools.iseries.rse.ui.actions.cmds.AbstractQSYSNewObjectAction
              extended by com.ibm.etools.iseries.rse.ui.actions.cmds.QSYSNewLibraryAction

public class QSYSNewLibraryAction
extends AbstractQSYSNewObjectAction

The action for New->Library, when a library filter is selected. Prompts user for CRTLIB command.


Field Summary
static String Copyright
           
protected  String inpLibType
           
protected  String outLibType
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.cmds.AbstractQSYSNewObjectAction
conn400, firstFilterString, inpFilter, inpLibName, inpObjAut, inpObjName, inpObjText, outCanonicalName, outCmdString, outLibName, outObjAut, outObjName, outObjText
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseWizardAction
copyright
 
Constructor Summary
QSYSNewLibraryAction(Shell parent)
          Constructor
 
Method Summary
protected  AbstractNewQSYSObjectWizard createNewObjectWizard(IBMiConnection connection)
          Abstract method in parent class.
 String getLibraryText()
          Get the user-entered text for the new library.
 String getLibraryType()
          Get the user-entered type for the new library.
protected  void postProcessWizard(IWizard wizard)
          Override of a parent method that is a hook to allow us to extract data from the wizard, into our instance variables, to enable our getter methods.
 void reset()
          Reset instance variables between "runs" of this action
 void setLibraryText(String libtext)
          Set library text.
 void setLibraryType(String libtype)
          Set library type.
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.cmds.AbstractQSYSNewObjectAction
createWizard, getAuthority, getCanonicalName, getCommandString, getLibraryName, getObjectName, getObjectText, setAuthority, setLibraryName, setObjectName, setObjectText
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseWizardAction
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

inpLibType

protected String inpLibType

outLibType

protected String outLibType
Constructor Detail

QSYSNewLibraryAction

public QSYSNewLibraryAction(Shell parent)
Constructor

Parameters:
parent - Shell hosting this
Method Detail

createNewObjectWizard

protected AbstractNewQSYSObjectWizard createNewObjectWizard(IBMiConnection connection)
Abstract method in parent class. Create the wizard which must be a subclass of AbstractNewISeriesObjectWizard

Specified by:
createNewObjectWizard in class AbstractQSYSNewObjectAction

reset

public void reset()
Reset instance variables between "runs" of this action

Overrides:
reset in class AbstractQSYSNewObjectAction

setLibraryType

public void setLibraryType(String libtype)
Set library type. Either *PROD or *TEST


setLibraryText

public void setLibraryText(String libtext)
Set library text. Same as calling setObjectText


postProcessWizard

protected void postProcessWizard(IWizard wizard)
Override of a parent method that is a hook to allow us to extract data from the wizard, into our instance variables, to enable our getter methods.

Overrides:
postProcessWizard in class AbstractQSYSNewObjectAction

getLibraryText

public String getLibraryText()
Get the user-entered text for the new library. Same as calling getObjectText


getLibraryType

public String getLibraryType()
Get the user-entered type for the new library. Will be either *PROD or *TEST


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.