Rational Developer for Power Systems Software
V7.6

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

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
Direct Known Subclasses:
QSYSNewDataAreaAction, QSYSNewDataQAction, QSYSNewLibraryAction, QSYSNewMemberAction, QSYSNewMsgFileAction, QSYSNewSourceFileAction

public abstract class AbstractQSYSNewObjectAction
extends QSYSSystemBaseWizardAction

The abstract base action for New->XXX actions, which launch wizards for creating new objects (vs file or members say).


Field Summary
protected  IBMiConnection conn400
           
static String Copyright
           
protected  ISeriesAbstractFilterString firstFilterString
           
protected  SystemFilterReference inpFilter
           
protected  String inpLibName
           
protected  String inpObjAut
           
protected  String inpObjName
           
protected  String inpObjText
           
protected  String outCanonicalName
           
protected  String outCmdString
           
protected  String outLibName
           
protected  String outObjAut
           
protected  String outObjName
           
protected  String outObjText
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseWizardAction
copyright
 
Constructor Summary
AbstractQSYSNewObjectAction(Shell parent, String label, String tooltip, String imageID, String helpID)
          Constructor
 
Method Summary
protected abstract  AbstractNewQSYSObjectWizard createNewObjectWizard(IBMiConnection connection)
          Create the wizard which must be a subclass of AbstractNewISeriesObjectWizard
protected  IWizard createWizard()
           
 String getAuthority()
          Get the user-entered authority for the new object
 String getCanonicalName()
          Get the canonical name of the new object.
 String getCommandString()
          Get the full iSeries command executed remotely as a result of Finish on the wizard.
 String getLibraryName()
          Get the user-entered/selected name for the library
 String getObjectName()
          Get the user-entered name for the new object
 String getObjectText()
          Get the user-entered text for the new object
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 setAuthority(String aut)
          Set initial object authority
 void setLibraryName(String lib)
          Set library name
 void setObjectName(String obj)
          Set initial object name
 void setObjectText(String text)
          Set initial object text
 
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

inpLibName

protected String inpLibName

inpObjName

protected String inpObjName

inpObjText

protected String inpObjText

inpObjAut

protected String inpObjAut

outLibName

protected String outLibName

outObjName

protected String outObjName

outObjText

protected String outObjText

outObjAut

protected String outObjAut

outCmdString

protected String outCmdString

outCanonicalName

protected String outCanonicalName

conn400

protected IBMiConnection conn400

inpFilter

protected SystemFilterReference inpFilter

firstFilterString

protected ISeriesAbstractFilterString firstFilterString
Constructor Detail

AbstractQSYSNewObjectAction

public AbstractQSYSNewObjectAction(Shell parent,
                                   String label,
                                   String tooltip,
                                   String imageID,
                                   String helpID)
Constructor

Parameters:
parent - Shell hosting this
Method Detail

createWizard

protected IWizard createWizard()
See Also:
com.ibm.etools.systems.core.ui.actions.SystemBaseWizardAction#createWizard()

createNewObjectWizard

protected abstract AbstractNewQSYSObjectWizard createNewObjectWizard(IBMiConnection connection)
Create the wizard which must be a subclass of AbstractNewISeriesObjectWizard


reset

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


setLibraryName

public void setLibraryName(String lib)
Set library name


setObjectName

public void setObjectName(String obj)
Set initial object name


setObjectText

public void setObjectText(String text)
Set initial object text


setAuthority

public void setAuthority(String aut)
Set initial object authority


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.


getLibraryName

public String getLibraryName()
Get the user-entered/selected name for the library


getObjectName

public String getObjectName()
Get the user-entered name for the new object


getObjectText

public String getObjectText()
Get the user-entered text for the new object


getAuthority

public String getAuthority()
Get the user-entered authority for the new object


getCommandString

public String getCommandString()
Get the full iSeries command executed remotely as a result of Finish on the wizard.


getCanonicalName

public String getCanonicalName()
Get the canonical name of the new object. Eg, for a file it is LIB/OBJ OBJTYPE(*FILE)


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.