Rational Developer for Power Systems Software
V7.6

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

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

public class NewQSYSLibraryWizard
extends AbstractNewQSYSObjectWizard

Wizard for creating a new library


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
NewQSYSLibraryWizard()
          Constructor when called from Eclipse from the File->New wizard extension point
NewQSYSLibraryWizard(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 from the current values in the wizard pages
protected  String getAbsoluteParentName()
          Return the absolute name of the parent remote object
protected  SubSystem getFileSubSystem()
          Get the file subsystem for the connection
 String getLibraryText()
          Get text for the new library.
 String getLibraryType()
          Get type for the new library: either *PROD or *TEST
protected  String getObjectType()
          Get the object type, which for us is *LIB.
 void setLibraryName(String lib)
          Set library name
 void setLibraryText(String libtext)
          Set library text.
 void setLibraryType(String libtype)
          Set library type.
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizard
addPages, disableContainerPrompts, getAbsoluteNameForFilterTesting, getAuthority, getCanonicalName, getCommandString, getCurrentTreeView, getHost, getLibraryName, getObjectName, getObjectText, getPage1, getPage2, meetsFilterCriteria, performFinish, setAuthority, setConnection, 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

NewQSYSLibraryWizard

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


NewQSYSLibraryWizard

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

Method Detail

setLibraryName

public void setLibraryName(String lib)
Set library name

Overrides:
setLibraryName in class AbstractNewQSYSObjectWizard

setLibraryType

public void setLibraryType(String libtype)
Set library type. Eg, either *PROD or *TEST


setLibraryText

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


getLibraryText

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


getLibraryType

public String getLibraryType()
Get type for the new library: either *PROD or *TEST


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

getFileSubSystem

protected SubSystem getFileSubSystem()
Get the file subsystem for the connection


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 *LIB. Actually, this is not needed for us, but is required by parent.

Specified by:
getObjectType in class AbstractNewQSYSObjectWizard

getAbsoluteName

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

Overrides:
getAbsoluteName in class AbstractNewQSYSObjectWizard

getAbsoluteParentName

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

Overrides:
getAbsoluteParentName in class AbstractNewQSYSObjectWizard

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.