|
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 com.ibm.etools.iseries.rse.ui.wizard.cmds.NewQSYSMemberWizardMainPage
public class NewQSYSMemberWizardMainPage
Default main page of the "New Member" wizard. This page asks for the following information:
Field Summary | |
---|---|
static String |
copyright
|
protected SystemHistoryCombo |
mbrTypeCombo
|
protected List |
mbrTypesList
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardMainPage |
---|
CMDDFT, CMDDFT_ARRAY, cmdStringDelta, commandSoFar, commandString, connection, connPrompt, entryObjPrompt, entryObjText, errorMessage, inpLib, inpObj, inpText, newLib, newObj, newText |
Constructor Summary | |
---|---|
NewQSYSMemberWizardMainPage(Wizard wizard,
IHost connection)
Constructor. |
Method Summary | |
---|---|
protected String |
buildCommandString()
Build up the QSYS command from current contents... |
protected String |
buildCommandStringDelta()
For child subclasses. |
protected String |
getCommandStart()
Return the start of the command. |
String |
getFileName()
Return the name of the file to add a member to. |
protected Control |
getInitialFocusControl()
Return the Control to be given initial focus. |
String |
getMemberName()
Return the name of the member to add a member to |
protected QSYSMemberPrompt |
getMemberPrompt()
Return the object prompt cast to an QSYSMemberPrompt |
String |
getMemberText()
Return the text of the member to add. |
String |
getMemberType()
Return the src type of the member to add |
protected QSYSBasePrompt |
getObjectPrompt(Composite composite_prompts,
int nbrColumns)
Return the widget for prompting for the object |
protected String |
getTextLabel()
Return the key to use to get the xlated label and tooltip for the TEXT fields |
protected 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 boolean |
internalIsPageComplete()
Do page completion testing beyond what the base class does. |
void |
memberNameChanged(SystemMessage error)
From IQSYSMemberPromptListener. |
void |
modifyText(ModifyEvent event)
Validate member type, as it is typed. |
protected Control |
performFinishValidation()
Do validation beyond what the base class does, when Finish is pressed. |
protected void |
populateControls(Composite composite_prompts,
int nbrColumns)
Populate the content area with additional controls beyond what the parent supplies... |
protected 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 |
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. |
void |
setMemberType(String mbrtype)
Set member type |
protected void |
sizeControls(Composite composite_prompts,
int nbrColumns)
Adjust the size of any child-class-unique controls... |
protected SystemMessage |
validateMemberType()
Validate member type |
Methods inherited from class com.ibm.etools.iseries.rse.ui.wizard.cmds.AbstractNewQSYSObjectWizardMainPage |
---|
buildOurCommandStringDelta, createContents, createRigidFillerLabel, getCommandString, getCommandStringDelta, getConnection, getLibraryName, getLibraryPrompt, getObjectName, getObjectPrompt, getObjectText, getOurWizard, isPageComplete, libraryNameChanged, objectNameChanged, performFinish, setLibraryName, setObjectName, setObjectText, setVisible, validateTextInput, widgetDefaultSelected, widgetSelected |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.etools.iseries.rse.ui.widgets.IQSYSObjectPromptListener |
---|
objectNameChanged |
Methods inherited from interface com.ibm.etools.iseries.rse.ui.widgets.IQSYSLibraryPromptListener |
---|
libraryNameChanged |
Field Detail |
---|
public static final String copyright
protected SystemHistoryCombo mbrTypeCombo
protected List mbrTypesList
Constructor Detail |
---|
public NewQSYSMemberWizardMainPage(Wizard wizard, IHost connection)
Method Detail |
---|
protected QSYSMemberPrompt getMemberPrompt()
protected Control getInitialFocusControl()
getInitialFocusControl
in class AbstractNewQSYSObjectWizardMainPage
public void setConnection(IHost connection)
setConnection
in class AbstractNewQSYSObjectWizardMainPage
public void setFileName(String file)
public void setIsSourceFile(boolean isSrcFile)
public void setMemberName(String mbr)
public void setMemberType(String mbrtype)
public void setMemberText(String mbrtext)
public String getFileName()
public String getMemberName()
public String getMemberType()
public String getMemberText()
public void handleEvent(Event e)
handleEvent
in class AbstractNewQSYSObjectWizardMainPage
public void memberNameChanged(SystemMessage error)
memberNameChanged
in interface IQSYSMemberPromptListener
error
- Will be null if the input is valid, or a translated msg if notpublic void modifyText(ModifyEvent event)
protected SystemMessage validateMemberType()
protected String buildCommandString()
buildCommandString
in class AbstractNewQSYSObjectWizardMainPage
protected String getTextLabel()
getTextLabel
in class AbstractNewQSYSObjectWizardMainPage
protected String getTextTooltip()
AbstractNewQSYSObjectWizardMainPage
getTextTooltip
in class AbstractNewQSYSObjectWizardMainPage
protected QSYSBasePrompt getObjectPrompt(Composite composite_prompts, int nbrColumns)
getObjectPrompt
in class AbstractNewQSYSObjectWizardMainPage
protected void populateControls(Composite composite_prompts, int nbrColumns)
populateControls
in class AbstractNewQSYSObjectWizardMainPage
protected void prepareControls()
prepareControls
in class AbstractNewQSYSObjectWizardMainPage
protected void sizeControls(Composite composite_prompts, int nbrColumns)
sizeControls
in class AbstractNewQSYSObjectWizardMainPage
protected String getCommandStart()
getCommandStart
in class AbstractNewQSYSObjectWizardMainPage
protected String buildCommandStringDelta()
buildCommandStringDelta
in class AbstractNewQSYSObjectWizardMainPage
protected Control performFinishValidation()
performFinishValidation
in class AbstractNewQSYSObjectWizardMainPage
protected boolean internalIsPageComplete()
internalIsPageComplete
in class AbstractNewQSYSObjectWizardMainPage
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |