|
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 SystemBaseWizardAction com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseWizardAction com.ibm.etools.iseries.rse.ui.actions.cmds.AbstractQSYSNewObjectAction com.ibm.etools.iseries.rse.ui.actions.cmds.QSYSNewMemberAction
public class QSYSNewMemberAction
The action for New->Member, when a file object is selected. Prompts user for ADDPFM command.
Field Summary | |
---|---|
static String |
Copyright
|
protected boolean |
inpIsSrcFile
|
protected String |
inpMbrName
|
protected String |
inpMbrType
|
protected boolean |
openInEditor
|
protected String |
outMbrName
|
protected String |
outMbrType
|
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 | |
---|---|
QSYSNewMemberAction(Shell parent)
Constructor for ISeriesNewMemberAction. |
Method Summary | |
---|---|
protected AbstractNewQSYSObjectWizard |
createNewObjectWizard(IBMiConnection connection)
Abstract method in parent class. |
String |
getFileName()
Get the user-entered name for the file containing the new member. |
String |
getMemberName()
Get the user-entered name for the new member. |
String |
getMemberText()
Get the user-entered text for the new member. |
String |
getMemberType()
Get the user-entered type for the new member. |
static String |
getMemberType(String sFileName)
Attempt to intelligently default a member type based on the name of the file. |
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 |
setFileName(String file)
Set file name. |
void |
setIsSourceFile(boolean isSrcFile)
Set if the file we are adding a member to is a source file versus a data file |
void |
setMemberName(String mbr)
Set member name |
void |
setMemberText(String mbrtext)
Set member text Same as calling setObjectText |
void |
setMemberType(String mbrtype)
Set member type |
void |
setOpenInEditor(boolean openInEditor)
Set whether to open the new member in the editor or not. |
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
protected String inpMbrName
protected String inpMbrType
protected String outMbrName
protected String outMbrType
protected boolean inpIsSrcFile
protected boolean openInEditor
Constructor Detail |
---|
public QSYSNewMemberAction(Shell parent)
parent
- Shell hosting thisMethod Detail |
---|
public static String getMemberType(String sFileName)
sFileName
- - the name of the file. Eg QRPGLESRCbest
- guess at the member type. Eg RPGLEprotected AbstractNewQSYSObjectWizard createNewObjectWizard(IBMiConnection connection)
createNewObjectWizard
in class AbstractQSYSNewObjectAction
public void reset()
reset
in class AbstractQSYSNewObjectAction
public void setOpenInEditor(boolean openInEditor)
public void setFileName(String file)
public void setIsSourceFile(boolean isSrcFile)
public void setMemberName(String mbr)
public void setMemberType(String mbrtype)
public void setMemberText(String mbrtext)
protected void postProcessWizard(IWizard wizard)
postProcessWizard
in class AbstractQSYSNewObjectAction
public String getMemberText()
public String getMemberType()
public String getMemberName()
public String getFileName()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |