|
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 AbstractSystemWizard com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizard
public abstract class AbstractNewQSYSObjectWizard
Abstract base class for wizards for creating various types of new iSeries objects. This is the resulting of noticing much redundancy across these wizards.
Field Summary | |
---|---|
protected AbstractNewQSYSObjectWizardAdvPage |
advPage
|
protected String |
canonicalNewObjectName
|
protected String |
cmdString
|
protected IBMiConnection |
conn400
|
static String |
copyright
|
protected boolean |
filterSelected
|
protected boolean |
fromFileNew
|
protected AbstractNewQSYSObjectWizardMainPage |
mainPage
|
protected String |
newObjNameType
|
protected NewQSYSObjectWizardOptionsPage |
optsPage
|
protected String |
outLibName
|
protected String |
outObjAut
|
protected String |
outObjName
|
protected String |
outObjText
|
Constructor Summary | |
---|---|
protected |
AbstractNewQSYSObjectWizard(IBMiConnection conn400,
String title,
String tooltip,
String imageID,
boolean fromFileNew)
Constructor when called from within the RSE, via our action |
Method Summary | |
---|---|
void |
addPages()
Creates the wizard pages. |
protected abstract AbstractNewQSYSObjectWizardAdvPage |
createAdvancedPage()
Creates the wizard's advanced page. |
protected abstract AbstractNewQSYSObjectWizardMainPage |
createMainPage()
Creates the wizard's main page. |
protected abstract NewQSYSObjectWizardOptionsPage |
createOptionsPage()
Creates the wizard's options page. |
protected boolean |
disableContainerPrompts()
Disable contain prompts if given input names? |
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 |
getAuthority()
Get Authority parameter value |
String |
getCanonicalName()
Get the canonical name of the newly created object. |
String |
getCommandString()
Get the resulting command string that was executed remotely |
protected ISystemTree |
getCurrentTreeView()
Return the current viewer as an ISystemTree if it is one, or null otherwise. |
protected IHost |
getHost()
Get the input connection if there is one |
String |
getLibraryName()
Get library name |
String |
getObjectName()
Get object name |
String |
getObjectText()
Get text for the new object |
protected abstract String |
getObjectType()
Get the object type, as in *DTAQ |
protected AbstractNewQSYSObjectWizardMainPage |
getPage1()
Get the first page |
protected AbstractNewQSYSObjectWizardAdvPage |
getPage2()
Get the second page |
protected boolean |
meetsFilterCriteria(SystemFilterReference selectedFilterRef,
String newAbsName)
Test if the new object will meet the filtering criteria of the selected filter |
boolean |
performFinish()
Completes processing of the wizard. |
void |
setAuthority(String aut)
Set Authority parameter value |
void |
setConnection(IHost connection)
Set the connection, given a system connection. |
void |
setLibraryName(String lib)
Set library name |
void |
setObjectName(String file)
Set object name |
void |
setObjectText(String text)
Set text for the new object |
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 AbstractNewQSYSObjectWizardMainPage mainPage
protected AbstractNewQSYSObjectWizardAdvPage advPage
protected NewQSYSObjectWizardOptionsPage optsPage
protected IBMiConnection conn400
protected boolean fromFileNew
protected boolean filterSelected
protected String cmdString
protected String canonicalNewObjectName
protected String newObjNameType
protected String outLibName
protected String outObjName
protected String outObjText
protected String outObjAut
Constructor Detail |
---|
protected AbstractNewQSYSObjectWizard(IBMiConnection conn400, String title, String tooltip, String imageID, boolean fromFileNew)
Method Detail |
---|
protected ISystemTree getCurrentTreeView()
public void addPages()
protected IHost getHost()
public boolean performFinish()
For most wizards this can be used as is, but if unique processing is required, override doPerformFinish(). It is only called after successfully calling performFinish on both the main and the advanced pages.
protected String getAbsoluteName()
protected String getAbsoluteNameForFilterTesting()
protected String getAbsoluteParentName()
protected boolean meetsFilterCriteria(SystemFilterReference selectedFilterRef, String newAbsName)
protected boolean doPerformFinish(String cmdString) throws Exception
Exception
protected AbstractNewQSYSObjectWizardMainPage getPage1()
protected AbstractNewQSYSObjectWizardAdvPage getPage2()
protected boolean disableContainerPrompts()
public void setConnection(IHost connection)
public void setLibraryName(String lib)
public void setObjectName(String file)
public void setObjectText(String text)
public void setAuthority(String aut)
public String getLibraryName()
public String getObjectName()
public String getObjectText()
public String getAuthority()
public String getCommandString()
public String getCanonicalName()
protected abstract AbstractNewQSYSObjectWizardMainPage createMainPage()
protected abstract AbstractNewQSYSObjectWizardAdvPage createAdvancedPage()
protected abstract NewQSYSObjectWizardOptionsPage createOptionsPage()
protected abstract String getObjectType()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |