|
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.AbstractNewQSYSObjectWizardMainPage
public abstract class AbstractNewQSYSObjectWizardMainPage
Abstract base class for the Second page of the wizards for creating various types of new iSeries objects.
Field Summary | |
---|---|
static String |
CMDDFT
|
static String[] |
CMDDFT_ARRAY
|
protected String |
cmdStringDelta
|
protected Label |
commandSoFar
|
protected String |
commandString
|
protected IHost |
connection
|
protected IBMiConnectionCombo |
connPrompt
|
static String |
copyright
|
protected QSYSBasePrompt |
entryObjPrompt
|
protected Text |
entryObjText
|
protected SystemMessage |
errorMessage
|
protected String |
inpLib
|
protected String |
inpObj
|
protected String |
inpText
|
protected String |
newLib
|
protected String |
newObj
|
protected String |
newText
|
Constructor Summary | |
---|---|
AbstractNewQSYSObjectWizardMainPage(Wizard wizard,
IHost connection,
String pageID,
String title,
String description,
String helpID)
Constructor. |
Method Summary | |
---|---|
protected String |
buildCommandString()
Build up the iSeries command from current contents... |
protected abstract String |
buildCommandStringDelta()
For child subclasses. |
protected String |
buildOurCommandStringDelta()
Build up the iSeries command for this page's information only, from current contents... |
Control |
createContents(Composite parent)
CreateContents is the one method that must be overridden from the parent class. |
static Label |
createRigidFillerLabel(Composite parent,
int span)
Creates a label for use a simple filler, to eat up space. |
protected abstract String |
getCommandStart()
Return the start of the command. |
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 |
IHost |
getConnection()
Return the connection selected or specified |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
String |
getLibraryName()
Return the name of the library containing the data queue to create |
protected QSYSLibraryPrompt |
getLibraryPrompt()
Return the object prompt cast to an ISeriesLibraryPrompt Do not call unless that is what it is! |
String |
getObjectName()
Return the name of the data queue to create |
protected QSYSObjectPrompt |
getObjectPrompt()
Return the object prompt cast to an ISeriesObjectPrompt. |
protected abstract QSYSBasePrompt |
getObjectPrompt(Composite composite_prompts,
int nbrColumns)
Return the widget for prompting for the object |
String |
getObjectText()
Return the text of the object to create |
protected AbstractNewQSYSObjectWizard |
getOurWizard()
Return the parent wizard |
protected abstract String |
getTextLabel()
Return the label to use to get the xlated label and tooltip for the TEXT fields |
protected abstract String |
getTextTooltip()
Return the label to use to get the xlated label and tooltip for the TEXT fields |
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. |
void |
libraryNameChanged(SystemMessage error)
From IQSYSLibraryPromptListener. |
void |
objectNameChanged(SystemMessage error)
From IQSYSObjectPromptListener. |
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 |
setConnection(IHost connection)
Set the connection. |
void |
setLibraryName(String lib)
Set library name field's initial value |
void |
setObjectName(String file)
Set object name field's initial value |
void |
setObjectText(String text)
Set TEXT field's initial value |
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... |
protected SystemMessage |
validateTextInput()
Validate member text, as it is typed. |
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 IBMiConnectionCombo connPrompt
protected QSYSBasePrompt entryObjPrompt
protected Text entryObjText
protected Label commandSoFar
protected IHost connection
protected SystemMessage errorMessage
protected String inpLib
protected String inpObj
protected String inpText
protected String newLib
protected String newObj
protected String newText
protected String commandString
protected String cmdStringDelta
public static final String CMDDFT
public static final String[] CMDDFT_ARRAY
Constructor Detail |
---|
public AbstractNewQSYSObjectWizardMainPage(Wizard wizard, IHost connection, String pageID, String title, String description, String helpID)
Method Detail |
---|
protected AbstractNewQSYSObjectWizard getOurWizard()
protected QSYSObjectPrompt getObjectPrompt()
protected QSYSLibraryPrompt getLibraryPrompt()
public void setConnection(IHost connection)
public void setLibraryName(String lib)
public void setObjectName(String file)
public void setObjectText(String text)
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 libraryNameChanged(SystemMessage error)
libraryNameChanged
in interface IQSYSLibraryPromptListener
error
- Will be null if the input is valid, or a translated msg if notpublic void objectNameChanged(SystemMessage error)
objectNameChanged
in interface IQSYSObjectPromptListener
error
- Will be null if the input is valid, or a translated msg if notprotected SystemMessage validateTextInput()
public boolean performFinish()
public boolean isPageComplete()
public void setVisible(boolean visible)
public IHost getConnection()
public String getCommandString()
public String getLibraryName()
public String getObjectName()
public String getObjectText()
protected String getCommandStringDelta()
public static Label createRigidFillerLabel(Composite parent, int span)
parent
- Composite to put the field into.span
- Horizontal spanprotected abstract String getTextLabel()
protected abstract String getTextTooltip()
protected abstract QSYSBasePrompt getObjectPrompt(Composite composite_prompts, int nbrColumns)
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 getCommandStart()
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 |