|
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.edit.wizards.RPGProcedureWizardMainPage
public class RPGProcedureWizardMainPage
Field Summary | |
---|---|
protected Button |
codeCB
|
static String |
copyright
|
protected SystemMessage |
errorMessage
|
protected Button |
exportCB
|
protected Label |
externalLbl
|
static String[] |
extprocs
|
static int |
MPROC_IDX
|
protected RPGProcedureParametersForm |
parameterForm
|
protected Control |
parameterTable
|
static int |
PGM_IDX
|
protected RPGProcedure |
proc
|
protected Combo |
procType
|
protected Label |
procTypeLbl
|
static String[] |
procTypes
|
protected Button |
refreshOutline
|
protected Button |
returnCB
|
protected Button |
serializeCB
|
static int |
SPROC_CL_IDX
|
static int |
SPROC_CN_IDX
|
static int |
SPROC_CW_IDX
|
static int |
SPROC_IDX
|
protected Text |
textExternal
|
protected Text |
textName
|
protected Text |
textPurpose
|
protected RPGProcedureWizard |
wizard
|
Constructor Summary | |
---|---|
RPGProcedureWizardMainPage(RPGProcedureWizard wizard,
String pageID,
String titleKey,
String descriptionKey,
String helpID)
|
Method Summary | |
---|---|
Control |
createContents(Composite arg0)
|
String |
getExternalName()
Return the external name of the procedure. |
protected Control |
getInitialFocusControl()
|
IWizardPage |
getNextPage()
|
Object |
getOutputObject()
|
String |
getProcedureName()
Return the name of the procedure |
String |
getProcedurePurpose()
Return the purpose of the procedure |
boolean |
getRefreshOutlineView()
|
void |
handleEvent(Event e)
Handles events generated by controls on this page. |
boolean |
hasNextPage()
|
protected boolean |
internalIsPageComplete()
Do page completion testing beyond what the base class does. |
boolean |
isErrInNext()
|
boolean |
isOpdesc()
|
boolean |
isPageComplete()
|
void |
modifyText(ModifyEvent e)
|
boolean |
performFinish()
|
protected Control |
performFinishValidation()
Do validation beyond what the base class does, when Finish is pressed. |
protected void |
prepareControls()
Pre-fill any child-class-unique controls with passed-in data, and set any keystroke listeners... |
void |
setInputObject(Object inputObject)
|
void |
setOpdesc(boolean opdesc)
|
protected void |
sizeControls(Composite composite_prompts,
int nbrColumns)
Adjust the size of any child-class-unique controls... |
void |
validateInput(Control skipControl,
boolean setFocus)
|
void |
widgetDefaultSelected(SelectionEvent e)
private void promptMember(boolean isPrototype) { browseMemberAction = new ISeriesSelectMemberAction(getShell()); browseMemberAction.setShowPropertySheet(true, false); browseMemberAction.setShowNewConnectionPrompt(false); browseMemberAction.setDialogTitle(IBMiEditWidzardResources.RESID_PROCEDURE_EXPORT_PROMPT_BROWSE_TITLE)); if (isPrototype) browseMemberAction.setMessage(IBMiEditWidzardResources.RESID_PROCEDURE_EXPORT_PROMPT_BROWSE_PROTOMSG)); else browseMemberAction.setMessage(IBMiEditWidzardResources.RESID_PROCEDURE_EXPORT_PROMPT_BROWSE_PROCMSG)); browseMemberAction.setAutoExpandDepth(1); browseMemberAction.run(); if (!browseMemberAction.wasCancelled()) { String absolutName = ""; String name = browseMemberAction.getSelectedName(); if (name != null) absolutName += name; name = ((ISeriesSelectMemberAction)browseMemberAction).getSelectedFileName(); if (name != null) absolutName = name + "/" + absolutName; name = ((ISeriesSelectMemberAction)browseMemberAction).getSelectedLibraryName(); if (name != null) absolutName = name + "/" + absolutName; try { ISeriesEditableSrcPhysicalFileMember openMember = new ISeriesEditableSrcPhysicalFileMember(browseMemberAction.getSelectedMember()); if (!openMember.canWrite()) System.out.println("Can't write"); } catch (SystemMessageException sme) { SystemMessage message = sme.getSystemMessage(); // if there is no error message, then issue one... |
void |
widgetSelected(SelectionEvent e)
|
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 RPGProcedureWizard wizard
public static final String[] procTypes
public static final String[] extprocs
public static final int PGM_IDX
public static final int MPROC_IDX
public static final int SPROC_IDX
public static final int SPROC_CL_IDX
public static final int SPROC_CW_IDX
public static final int SPROC_CN_IDX
protected Combo procType
protected Text textName
protected Text textExternal
protected Text textPurpose
protected Button exportCB
protected Button serializeCB
protected Button returnCB
protected Button codeCB
protected Label procTypeLbl
protected Label externalLbl
protected RPGProcedureParametersForm parameterForm
protected Control parameterTable
protected SystemMessage errorMessage
protected Button refreshOutline
protected RPGProcedure proc
Constructor Detail |
---|
public RPGProcedureWizardMainPage(RPGProcedureWizard wizard, String pageID, String titleKey, String descriptionKey, String helpID)
Method Detail |
---|
public String getProcedureName()
public String getProcedurePurpose()
public String getExternalName()
public void handleEvent(Event e)
protected void prepareControls()
protected void sizeControls(Composite composite_prompts, int nbrColumns)
protected Control performFinishValidation()
protected boolean internalIsPageComplete()
public Control createContents(Composite arg0)
protected Control getInitialFocusControl()
public Object getOutputObject()
public void setInputObject(Object inputObject)
public IWizardPage getNextPage()
public boolean isErrInNext()
public boolean hasNextPage()
public boolean performFinish()
public boolean isPageComplete()
public void widgetSelected(SelectionEvent e)
public void widgetDefaultSelected(SelectionEvent e)
public void modifyText(ModifyEvent e)
public void validateInput(Control skipControl, boolean setFocus)
public boolean isOpdesc()
public void setOpdesc(boolean opdesc)
b
- public boolean getRefreshOutlineView()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |