Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.wizards
Class JMCAbstractParamPage

java.lang.Object
  extended by AbstractSystemWizardPage
      extended by com.ibm.etools.iseries.edit.wizards.JMCAbstractParamPage
Direct Known Subclasses:
JMCCtorParamPage, JMCMethodParamPage

public abstract class JMCAbstractParamPage
extends AbstractSystemWizardPage

This class is the first page in the RPG-to-Java Creation Wizard.


Field Summary
static int COL_CONST
           
static int COL_GEN
           
static int COL_LENGTH
           
static int COL_PARAMTYPE
           
static int COL_RPGFLDNAME
           
static int COL_RPGTYPE
           
static String[] COLUMN_HEADINGS
           
static String[] CONST_VALUE_DISPLAY
           
static String copyright
           
 
Constructor Summary
JMCAbstractParamPage(JMCCreationWizard wizard, String pageID, String titleKey, String descriptionKey, String helpID)
          Creates the "Class" page for the JMC creation wizard.
 
Method Summary
protected  void clearParamTable()
           
 Control createContents(Composite parent)
          Create the gui Objects required for this page
protected  Control getInitialFocusControl()
           
protected abstract  SystemMessage getISeriesMsg(String substitutionString)
          Returns the msg ID in IISeriesMessages.java to use as description for this page; must NOT return null
 IWizardPage getNextPage()
           
 List getParameters()
           
 boolean performFinish()
           
protected  void updateParamTable(String funcName, Class[] paramTypes)
          Call this to refresh the parameters shown on this page, based on the provided func name, and param types This will clear all previous params and add the new ones
 void widgetDefaultSelected(SelectionEvent arg0)
          Listener methods
 void widgetSelected(SelectionEvent se)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

CONST_VALUE_DISPLAY

public static final String[] CONST_VALUE_DISPLAY

COLUMN_HEADINGS

public static final String[] COLUMN_HEADINGS

COL_GEN

public static final int COL_GEN
See Also:
Constant Field Values

COL_PARAMTYPE

public static final int COL_PARAMTYPE
See Also:
Constant Field Values

COL_RPGFLDNAME

public static final int COL_RPGFLDNAME
See Also:
Constant Field Values

COL_RPGTYPE

public static final int COL_RPGTYPE
See Also:
Constant Field Values

COL_LENGTH

public static final int COL_LENGTH
See Also:
Constant Field Values

COL_CONST

public static final int COL_CONST
See Also:
Constant Field Values
Constructor Detail

JMCAbstractParamPage

public JMCAbstractParamPage(JMCCreationWizard wizard,
                            String pageID,
                            String titleKey,
                            String descriptionKey,
                            String helpID)
Creates the "Class" page for the JMC creation wizard.

Method Detail

getISeriesMsg

protected abstract SystemMessage getISeriesMsg(String substitutionString)
Returns the msg ID in IISeriesMessages.java to use as description for this page; must NOT return null


createContents

public Control createContents(Composite parent)
Create the gui Objects required for this page


getNextPage

public IWizardPage getNextPage()

performFinish

public boolean performFinish()

getInitialFocusControl

protected Control getInitialFocusControl()

clearParamTable

protected void clearParamTable()

updateParamTable

protected void updateParamTable(String funcName,
                                Class[] paramTypes)
Call this to refresh the parameters shown on this page, based on the provided func name, and param types This will clear all previous params and add the new ones

Parameters:
funcName -
paramTypes -
paramNames -
iSeriesMsgID -

getParameters

public List getParameters()
Returns:
List of parameters to generate

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent arg0)
Listener methods


widgetSelected

public void widgetSelected(SelectionEvent se)

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.