Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by AbstractSystemWizardPage
      extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecDataStructureSubfieldPage
Direct Known Subclasses:
RPGDSpecEDDSSubfieldPage, RPGDSpecPDDSSubfieldPage

public class RPGDSpecDataStructureSubfieldPage
extends AbstractSystemWizardPage


Field Summary
protected  RPGDSpecSubFieldForm fieldForm
           
protected  Vector subfields
           
protected  int type
           
protected  DSpecCreationWizard wizard
           
 
Constructor Summary
RPGDSpecDataStructureSubfieldPage(DSpecCreationWizard wizard, String pageID, String titleKey, String descriptionKey, String helpID)
          Creates the page for the dspec creation wizard.
 
Method Summary
 Control createContents(Composite parent)
          (non-Javadoc) Method declared on IDialogPage.
 boolean finish()
          Creates a new file resource as requested by the user.
protected  String getDSName()
           
 RPGDSpecSubFieldForm getFieldForm()
           
protected  Control getInitialFocusControl()
           
 IWizardPage getNextPage()
           
 Object getOutputObject()
           
 Vector getSubfields()
           
 int getType()
           
 void handleEvent(Event e)
          (non-Javadoc) Method declared on WizardNewFileCreationPage.
 boolean isBase()
           
 boolean isDads()
           
 boolean isPsds()
           
 boolean performFinish()
           
 void setAligned(boolean aligned)
           
 void setBase(boolean b)
           
 void setCurrentPosition(int currentPosition)
           
 void setCurrentProcedure(boolean isCurProc)
           
 void setDads(boolean b)
           
 void setDim(boolean dim)
           
 void setDsName(String name)
           
 void setFieldForm(RPGDSpecSubFieldForm form)
           
protected  void setFormExternal()
           
 void setInputObject(Object inputObject)
           
 void setPsds(boolean b)
           
 void setSubfields(Vector vector)
           
 void setType(int i)
           
 void validateInput(Object object, boolean b)
           
 void widgetDefaultSelected(SelectionEvent e)
           
 void widgetSelected(SelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

wizard

protected DSpecCreationWizard wizard

fieldForm

protected RPGDSpecSubFieldForm fieldForm

subfields

protected Vector subfields

type

protected int type
Constructor Detail

RPGDSpecDataStructureSubfieldPage

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

createContents

public Control createContents(Composite parent)
(non-Javadoc) Method declared on IDialogPage.


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.

Returns:
whether creation was successful
See Also:
ReadmeCreationWizard#performFinish()

handleEvent

public void handleEvent(Event e)
(non-Javadoc) Method declared on WizardNewFileCreationPage.


widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

widgetSelected

public void widgetSelected(SelectionEvent e)

getInitialFocusControl

protected Control getInitialFocusControl()

performFinish

public boolean performFinish()

getOutputObject

public Object getOutputObject()

setInputObject

public void setInputObject(Object inputObject)

getNextPage

public IWizardPage getNextPage()

validateInput

public void validateInput(Object object,
                          boolean b)
Parameters:
object -
b -

getFieldForm

public RPGDSpecSubFieldForm getFieldForm()
Returns:

getSubfields

public Vector getSubfields()
Returns:

setFieldForm

public void setFieldForm(RPGDSpecSubFieldForm form)
Parameters:
form -

setSubfields

public void setSubfields(Vector vector)
Parameters:
vector -

getType

public int getType()
Returns:

setType

public void setType(int i)
Parameters:
i -

isBase

public boolean isBase()
Returns:

isDads

public boolean isDads()
Returns:

isPsds

public boolean isPsds()
Returns:

setBase

public void setBase(boolean b)
Parameters:
b -

setDads

public void setDads(boolean b)
Parameters:
b -

setPsds

public void setPsds(boolean b)
Parameters:
b -

setFormExternal

protected void setFormExternal()

getDSName

protected String getDSName()

setDim

public void setDim(boolean dim)
Parameters:
dim -

setDsName

public void setDsName(String name)

setAligned

public void setAligned(boolean aligned)
Parameters:
aligned -

setCurrentPosition

public void setCurrentPosition(int currentPosition)
Parameters:
currentPosition -

setCurrentProcedure

public void setCurrentProcedure(boolean isCurProc)
Parameters:
isCurProc -

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.