|
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 AbstractSystemWizardPage com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardAdvPage
public abstract class AbstractNewQSYSObjectWizardAdvPage
Abstract base class for the Second page of the wizards for creating various types of new iSeries objects. This is the resulting of noticing much redundancy across these wizards.
Field Summary | |
---|---|
protected QSYSAUTLPrompt |
autCombo
|
static String |
CMDDFT
|
static String[] |
CMDDFT_ARRAY
|
protected String |
cmdStringDelta
|
protected Label |
commandSoFar
|
protected String |
commandString
|
protected IHost |
connection
|
static String |
copyright
|
protected SystemMessage |
errorMessage
|
protected String |
inpAut
|
protected String |
newAut
|
static String |
NO
|
protected Label |
previousFillerLabel
|
protected Label |
previousLabel
|
static String |
YES
|
static String[] |
YESNO_ARRAY
|
Constructor Summary | |
---|---|
AbstractNewQSYSObjectWizardAdvPage(Wizard wizard,
IHost connection,
String pageID,
String title,
String description,
String helpID)
Constructor. |
Method Summary | |
---|---|
void |
authorizationNameChanged(SystemMessage error)
From IISeriesAUTLPromptListener. |
protected String |
buildCommandString()
Build up the full iSeries command from current contents... |
protected abstract String |
buildCommandStringDelta()
For child subclasses. |
protected String |
buildOurCommandStringDelta()
Build up the iSeries command delta for this page's contributions, from current contents... |
void |
ccsidChanged(SystemMessage error)
From IISeriesCCSIDPromptListener. |
Control |
createContents(Composite parent)
CreateContents is the one method that must be overridden from the parent class. |
protected Combo |
createYesNoCombo(Composite composite_prompts,
int nbrColumns,
String label,
String tooltip)
Create a readonly combo with only *CMDDFT, *YES and *NO options. |
String |
getAuthority()
Get Authority parameter value |
String |
getCommandString()
Return the command string to execute remotely |
protected String |
getCommandStringDelta()
Get the command string delta this page appends to that of the first page |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
protected AbstractNewQSYSObjectWizard |
getOurWizard()
Return the parent wizard |
void |
handleEvent(Event e)
Handles events generated by controls on this page. |
protected abstract boolean |
internalIsPageComplete()
Do page completion testing beyond what the base class does. |
boolean |
isPageComplete()
Return true if the page is complete, so to enable Finish. |
boolean |
performFinish()
Completes processing of the wizard. |
protected abstract Control |
performFinishValidation()
Do validation beyond what the base class does, when Finish is pressed. |
protected abstract void |
populateControls(Composite composite_prompts,
int nbrColumns)
Populate the content area with additional controls beyond what the parent supplies... |
protected abstract void |
prepareControls()
Pre-fill any child-class-unique controls with passed-in data, and set any keystroke listeners... |
void |
setAuthority(String aut)
Set Authority parameter value |
void |
setConnection(IHost connection)
Set the connection. |
void |
setVisible(boolean visible)
Override of parent so we can update the command-so-far to show what was changed on the second page |
protected abstract void |
sizeControls(Composite composite_prompts,
int nbrColumns)
Adjust the size of any child-class-unique controls... |
void |
widgetDefaultSelected(SelectionEvent event)
From SelectionListener. |
void |
widgetSelected(SelectionEvent event)
From SelectionListener. |
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 QSYSAUTLPrompt autCombo
protected Label commandSoFar
protected Label previousLabel
protected Label previousFillerLabel
protected IHost connection
protected SystemMessage errorMessage
protected String inpAut
protected String newAut
protected String commandString
protected String cmdStringDelta
public static final String CMDDFT
public static final String[] CMDDFT_ARRAY
public static final String YES
public static final String NO
public static final String[] YESNO_ARRAY
Constructor Detail |
---|
public AbstractNewQSYSObjectWizardAdvPage(Wizard wizard, IHost connection, String pageID, String title, String description, String helpID)
Method Detail |
---|
protected AbstractNewQSYSObjectWizard getOurWizard()
public void setConnection(IHost connection)
public void setAuthority(String aut)
public Control createContents(Composite parent)
protected Control getInitialFocusControl()
public void handleEvent(Event e)
public void widgetSelected(SelectionEvent event)
public void widgetDefaultSelected(SelectionEvent event)
protected String buildCommandString()
protected String buildOurCommandStringDelta()
public void authorizationNameChanged(SystemMessage error)
authorizationNameChanged
in interface QSYSAUTLPromptListener
error
- Will be null if the input is valid, or a translated msg if notpublic void ccsidChanged(SystemMessage error)
public boolean performFinish()
public boolean isPageComplete()
public void setVisible(boolean visible)
public String getCommandString()
public String getAuthority()
protected String getCommandStringDelta()
protected Combo createYesNoCombo(Composite composite_prompts, int nbrColumns, String label, String tooltip)
protected abstract void populateControls(Composite composite_prompts, int nbrColumns)
protected abstract void prepareControls()
protected abstract void sizeControls(Composite composite_prompts, int nbrColumns)
protected abstract String buildCommandStringDelta()
protected abstract Control performFinishValidation()
protected abstract boolean internalIsPageComplete()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |