Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by AbstractSystemWizardPage
      extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecDataStructurePage
          extended by com.ibm.etools.iseries.edit.wizards.DSpecSimplePage

public class DSpecSimplePage
extends RPGDSpecDataStructurePage


Field Summary
 
Fields inherited from class com.ibm.etools.iseries.edit.wizards.RPGDSpecDataStructurePage
aligned, based, dads, dim, dspec, isCurProc, keywordPane, kwds, lenEntry, lenVld, nameForced, psds, wizard
 
Constructor Summary
DSpecSimplePage(DSpecCreationWizard wizard, String pageID, String titleKey, String descriptionKey, String helpID)
          Creates the page for the dspec creation wizard.
 
Method Summary
protected  void applyMnemonics(Composite c)
           
protected  void createLengthEntry(Composite composite)
           
 boolean finish()
          Creates a new file resource as requested by the user.
protected  Control getInitialFocusControl()
           
 boolean getNameForced()
           
 IWizardPage getNextPage()
           
protected  RPGDSpecDataStructureSubfieldPage getSubfieldPage()
           
protected  void initDSpec()
           
 void modifyText(ModifyEvent arg0)
           
 boolean performFinish()
           
protected  void setOptionsTooltip()
           
 void validateInput(Object object, boolean b)
           
 
Methods inherited from class com.ibm.etools.iseries.edit.wizards.RPGDSpecDataStructurePage
clearErrorMessage, createContents, generateDSpec, getDim, getKeywordPane, getOutputObject, getPreviousPage, handleEvent, isNameForced, isSelected, setAligned, setBased, setCurrentProcedure, setDim, setInputObject, setNameForced, widgetDefaultSelected, widgetSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSpecSimplePage

public DSpecSimplePage(DSpecCreationWizard wizard,
                       String pageID,
                       String titleKey,
                       String descriptionKey,
                       String helpID)
Creates the page for the dspec creation wizard.

Parameters:
workbench - the workbench on which the page should be created
selection - the current selection
Method Detail

setOptionsTooltip

protected void setOptionsTooltip()
Overrides:
setOptionsTooltip in class RPGDSpecDataStructurePage

createLengthEntry

protected void createLengthEntry(Composite composite)
Overrides:
createLengthEntry in class RPGDSpecDataStructurePage

finish

public boolean finish()
Creates a new file resource as requested by the user. If everything is OK then answer true. If not, false will cause the dialog to stay open.

Overrides:
finish in class RPGDSpecDataStructurePage
Returns:
whether creation was successful
See Also:
ReadmeCreationWizard#performFinish()

getInitialFocusControl

protected Control getInitialFocusControl()
Overrides:
getInitialFocusControl in class RPGDSpecDataStructurePage

performFinish

public boolean performFinish()
Overrides:
performFinish in class RPGDSpecDataStructurePage

initDSpec

protected void initDSpec()
Overrides:
initDSpec in class RPGDSpecDataStructurePage

getNextPage

public IWizardPage getNextPage()
Overrides:
getNextPage in class RPGDSpecDataStructurePage

getSubfieldPage

protected RPGDSpecDataStructureSubfieldPage getSubfieldPage()
Overrides:
getSubfieldPage in class RPGDSpecDataStructurePage

validateInput

public void validateInput(Object object,
                          boolean b)
Overrides:
validateInput in class RPGDSpecDataStructurePage
Parameters:
object -
b -

getNameForced

public boolean getNameForced()
Returns:

modifyText

public void modifyText(ModifyEvent arg0)

applyMnemonics

protected void applyMnemonics(Composite c)
See Also:
com.ibm.etools.systems.core.ui.wizards.AbstractSystemWizardPage#applyMnemonics(org.eclipse.swt.widgets.Composite)

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.