Rational Developer for Power Systems Software

Class QSYSNewSourceFileAction

  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.QSYSNewSourceFileAction

public class QSYSNewSourceFileAction
extends AbstractQSYSNewObjectAction

The action for New->Source Physical File, when a library object is selected. Prompts user for CRTSRCPF command.

Field Summary
static String Copyright
protected  String inpFileRcdLen
protected  String outFileRcdLen
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
Constructor Summary
QSYSNewSourceFileAction(Shell parent)
Method Summary
protected  AbstractNewQSYSObjectWizard createNewObjectWizard(IBMiConnection connection)
          Abstract method in parent class.
 String getFileRecordLength()
          Get file rcd len
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 setFileRecordLength(String rcdlen)
          Set file rcd len
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


public static final String Copyright
See Also:
Constant Field Values


protected String inpFileRcdLen


protected String outFileRcdLen
Constructor Detail


public QSYSNewSourceFileAction(Shell parent)

parent - Shell hosting this
Method Detail


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


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

reset in class AbstractQSYSNewObjectAction


public void setFileRecordLength(String rcdlen)
Set file rcd len


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.

postProcessWizard in class AbstractQSYSNewObjectAction


public String getFileRecordLength()
Get file rcd len

Rational Developer for Power Systems Software

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.