com.ibm.etools.iseries.editor.wizards
Class JMCAbstractParamPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizardPage
com.ibm.etools.iseries.editor.wizards.JMCAbstractParamPage
- All Implemented Interfaces:
- EventListener, IDialogPage, IMessageProvider, com.ibm.etools.systems.core.ui.messages.ISystemMessageLine, com.ibm.etools.systems.core.ui.wizards.ISystemWizardPage, IWizardPage, SelectionListener, SWTEventListener
- Direct Known Subclasses:
- JMCCtorParamPage, JMCMethodParamPage
- public abstract class JMCAbstractParamPage
- extends com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizardPage
- implements SelectionListener
This class is the first page in the RPG-to-Java Creation Wizard.
Methods inherited from class com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizardPage |
addFillerLine, addGrowableFillerLine, addSeparatorLine, applyMnemonics, clearErrorMessage, clearMessage, createControl, getHelpContextId, getInputObject, getMessageLine, getSystemErrorMessage, setBusyCursor, setErrorMessage, setErrorMessage, setErrorMessage, setFocus, setHelp, setHelp, setInputObject, setMessage, setMessage, setVisible |
Methods inherited from class org.eclipse.jface.wizard.WizardPage |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl |
Methods inherited from interface com.ibm.etools.systems.core.ui.messages.ISystemMessageLine |
getErrorMessage, getMessage |
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
JMCAbstractParamPage
public JMCAbstractParamPage(JMCCreationWizard wizard,
String pageID,
String titleKey,
String descriptionKey,
String helpID)
- Creates the "Class" page for the JMC creation wizard.
getISeriesMsgID
protected abstract String getISeriesMsgID()
- 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()
- Specified by:
getNextPage
in interface IWizardPage
performFinish
public boolean performFinish()
- Specified by:
performFinish
in interface com.ibm.etools.systems.core.ui.wizards.ISystemWizardPage
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
-
getParameters
public List getParameters()
- Returns:
- List of parameters to generate
widgetDefaultSelected
public void widgetDefaultSelected(SelectionEvent arg0)
- Listener methods
- Specified by:
widgetDefaultSelected
in interface SelectionListener
widgetSelected
public void widgetSelected(SelectionEvent se)
- Specified by:
widgetSelected
in interface SelectionListener
Copyright © 2005 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.