Rational Developer for Power Systems Software
V7.6

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

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

public class DSpecExternalPage
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
DSpecExternalPage(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)
           
 boolean finish()
          Creates a new file resource as requested by the user.
 boolean getNameForced()
           
 IWizardPage getNextPage()
           
protected  RPGDSpecDataStructureSubfieldPage getSubfieldPage()
           
protected  void initDSpec()
           
 boolean isPageComplete()
           
 boolean performFinish()
           
 void setInputObject(Object inputObject)
           
protected  void setOptionsTooltip()
           
 
Methods inherited from class com.ibm.etools.iseries.edit.wizards.RPGDSpecDataStructurePage
clearErrorMessage, createContents, createLengthEntry, generateDSpec, getDim, getInitialFocusControl, getKeywordPane, getOutputObject, getPreviousPage, handleEvent, isNameForced, isSelected, setAligned, setBased, setCurrentProcedure, setDim, setNameForced, validateInput, widgetDefaultSelected, widgetSelected
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DSpecExternalPage

public DSpecExternalPage(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

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()

setOptionsTooltip

protected void setOptionsTooltip()
Overrides:
setOptionsTooltip in class RPGDSpecDataStructurePage

performFinish

public boolean performFinish()
Overrides:
performFinish in class RPGDSpecDataStructurePage

isPageComplete

public boolean isPageComplete()

setInputObject

public void setInputObject(Object inputObject)
Overrides:
setInputObject in class RPGDSpecDataStructurePage

getNextPage

public IWizardPage getNextPage()
Overrides:
getNextPage in class RPGDSpecDataStructurePage

getSubfieldPage

protected RPGDSpecDataStructureSubfieldPage getSubfieldPage()
Overrides:
getSubfieldPage in class RPGDSpecDataStructurePage

initDSpec

protected void initDSpec()
Overrides:
initDSpec in class RPGDSpecDataStructurePage

getNameForced

public boolean getNameForced()
Returns:

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.