Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.wizard.cmds
Class NewQSYSMemberWizard

java.lang.Object
  extended by AbstractSystemWizard
      extended by com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizard
          extended by com.ibm.etools.iseries.rse.ui.wizard.cmds.NewQSYSMemberWizard

public class NewQSYSMemberWizard
extends AbstractNewQSYSObjectWizard

Wizard for creating a new physical file member.


Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizard
advPage, canonicalNewObjectName, cmdString, conn400, filterSelected, fromFileNew, mainPage, newObjNameType, optsPage, outLibName, outObjAut, outObjName, outObjText
 
Constructor Summary
NewQSYSMemberWizard()
          Constructor when called from Eclipse from the File->New wizard extension point
NewQSYSMemberWizard(IBMiConnection conn400)
          Constructor when called from within the RSE, via our action
 
Method Summary
protected  AbstractNewQSYSObjectWizardAdvPage createAdvancedPage()
          Creates the wizard's advanced page.
protected  AbstractNewQSYSObjectWizardMainPage createMainPage()
          Creates the wizard's main page.
protected  NewQSYSObjectWizardOptionsPage createOptionsPage()
          Creates the wizard's options page.
protected  boolean doPerformFinish(String cmdString)
          This is called by the base class's performFinish method, to enable overriding by child classes
protected  String getAbsoluteName()
          Return the absolute name from the current values in the wizard pages
protected  String getAbsoluteNameForFilterTesting()
          Return the absolute name from the current values in the wizard pages.
protected  String getAbsoluteParentName()
          Return the absolute name of the parent remote object
 String getFileName()
          Get file name.
 String getMemberName()
          Get member name
 String getMemberText()
          Get member text Same as calling getObjectText.
 String getMemberType()
          Get member type
protected  String getObjectType()
          Get the object type, which for us is not applicable
 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.wizard.cmds.AbstractNewQSYSObjectWizard
addPages, disableContainerPrompts, getAuthority, getCanonicalName, getCommandString, getCurrentTreeView, getHost, getLibraryName, getObjectName, getObjectText, getPage1, getPage2, meetsFilterCriteria, performFinish, setAuthority, setConnection, setLibraryName, setObjectName, setObjectText
 
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

NewQSYSMemberWizard

public NewQSYSMemberWizard()
Constructor when called from Eclipse from the File->New wizard extension point


NewQSYSMemberWizard

public NewQSYSMemberWizard(IBMiConnection conn400)
Constructor when called from within the RSE, via our action

Method Detail

setFileName

public void setFileName(String file)
Set file name. Same as calling setObjectName.


setIsSourceFile

public void setIsSourceFile(boolean isSrcFile)
Set if the file we are adding a member to is a source file versus a data file


setOpenInEditor

public void setOpenInEditor(boolean openInEditor)
Set whether to open the new member in the editor or not. Default is true if input is a source file.


setMemberName

public void setMemberName(String mbr)
Set member name


setMemberType

public void setMemberType(String mbrtype)
Set member type


setMemberText

public void setMemberText(String mbrtext)
Set member text Same as calling setObjectText.


getFileName

public String getFileName()
Get file name. Same as calling getObjectName.


getMemberName

public String getMemberName()
Get member name


getMemberType

public String getMemberType()
Get member type


getMemberText

public String getMemberText()
Get member text Same as calling getObjectText.


createMainPage

protected AbstractNewQSYSObjectWizardMainPage createMainPage()
Creates the wizard's main page.

Specified by:
createMainPage in class AbstractNewQSYSObjectWizard

createAdvancedPage

protected AbstractNewQSYSObjectWizardAdvPage createAdvancedPage()
Creates the wizard's advanced page.

Specified by:
createAdvancedPage in class AbstractNewQSYSObjectWizard

createOptionsPage

protected NewQSYSObjectWizardOptionsPage createOptionsPage()
Creates the wizard's options page. This is a standard final page in all the New resource wizards for iSeries.

Specified by:
createOptionsPage in class AbstractNewQSYSObjectWizard

getObjectType

protected String getObjectType()
Get the object type, which for us is not applicable

Specified by:
getObjectType in class AbstractNewQSYSObjectWizard

getAbsoluteName

protected String getAbsoluteName()
Return the absolute name from the current values in the wizard pages

Overrides:
getAbsoluteName in class AbstractNewQSYSObjectWizard

getAbsoluteNameForFilterTesting

protected String getAbsoluteNameForFilterTesting()
Return the absolute name from the current values in the wizard pages. This overload is for testing for current-filter matching, so potentially needs more information.

Overrides:
getAbsoluteNameForFilterTesting in class AbstractNewQSYSObjectWizard

getAbsoluteParentName

protected String getAbsoluteParentName()
Return the absolute name of the parent remote object

Overrides:
getAbsoluteParentName in class AbstractNewQSYSObjectWizard

doPerformFinish

protected boolean doPerformFinish(String cmdString)
                           throws Exception
This is called by the base class's performFinish method, to enable overriding by child classes

Overrides:
doPerformFinish in class AbstractNewQSYSObjectWizard
Returns:
whether the wizard finished successfully
Throws:
Exception

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.