Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordBasePane
      extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecArrayKeywordsPane
Direct Known Subclasses:
RPGDSpecSubfieldArrayKeywordsPane

public class RPGDSpecArrayKeywordsPane
extends RPGDSpecKeywordBasePane


Field Summary
protected  RPGKeywordTextEntry alter
           
protected  ValidatorFieldType altVld
           
protected  boolean arrayDim
           
protected  RPGDSpecArrayKeywords arrayKeywords
           
protected  Button ascendBtn
           
static String copyright
           
protected  Button ctdataBtn
           
protected  boolean dads
           
protected  Button descendBtn
           
protected  boolean DSoccurs
           
protected  RPGKeywordComboEntry extfmt
           
static char[] extfmts
           
protected  RPGFieldType field
           
protected  RPGKeywordTextEntry fromFile
           
protected  ValidatorFieldType fromVld
           
protected  boolean isCurProc
           
protected  boolean isNumeric
           
protected  Vector keywords
           
protected  boolean paneEnabled
           
protected  RPGKeywordTextEntry perrcd
           
protected  ValidatorFieldType perrcdVld
           
protected  ValidatorIntegerRangeInput perVld
           
protected  RPGKeywordTextEntry toFile
           
protected  ValidatorFieldType toVld
           
 
Fields inherited from class com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordBasePane
container, errorMessage, selects
 
Constructor Summary
RPGDSpecArrayKeywordsPane(Object container)
          Constructor
 
Method Summary
protected  void checkArrayKwdRules()
           
protected  void checkError(RPGKeywordEntry skip, boolean setFocus)
           
 Control createContents(Composite parent)
           
protected  RPGDSpecArrayKeywords generateArrayKeywords()
          Create RPGDSpecArrayKeywords object generated by this pane.
 RPGDSpecArrayKeywords getArrayKeywords()
           
protected  String[] getExtFmtStrs(String category)
           
 RPGFieldType getField()
           
 Vector getKeywords()
           
protected  String getPerrcdNbr()
           
 void handleEvent(Event event)
           
protected  void initValidators()
           
 boolean isDads()
           
 boolean isPaneEnabled()
           
 void modifyText(ModifyEvent e)
           
 void populateKeyword(RPGDSpecArrayKeywords kwd)
           
 void setAltEnabled(boolean value)
          enables/disables the ALT keyword
 void setArrayKeywords(RPGDSpecArrayKeywords keywords)
           
 void setCTDATAEnabled(boolean value)
          enables/disables the CTDATA keyword
 void setCurrentProcedure(boolean isCurProc)
           
 void setDads(boolean b)
           
 void setEnabled(boolean enabled)
           
protected  void setExtFmtEnabled(boolean enabled)
           
 void setField(RPGFieldType type)
           
 void setKeywords(Vector vector)
           
 void setKeywordsEnabled(boolean[] enable)
           
protected  void updateExtFmt()
           
 SystemMessage validateCurProc()
           
protected  SystemMessage validateFromFile(String fileName)
           
 SystemMessage validatePane(RPGKeywordEntry skip, boolean setFocus)
           
protected  SystemMessage validateToFile(String fileName)
           
protected  SystemMessage validateTxtAlt(String arrayName)
           
protected  SystemMessage validateTxtPerrcd(String prd)
           
 void widgetDefaultSelected(SelectionEvent e)
           
 void widgetSelected(SelectionEvent e)
           
 
Methods inherited from class com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordBasePane
clearErrorMessage, getContainer, getSelections, initSelections, isPaneComplete, isSelected, populateSFKeyword, setEnabled, setErrorMessage, setFocus, updateContainerKeywords
 
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

extfmts

public static final char[] extfmts

ascendBtn

protected Button ascendBtn

descendBtn

protected Button descendBtn

ctdataBtn

protected Button ctdataBtn

fromFile

protected RPGKeywordTextEntry fromFile

toFile

protected RPGKeywordTextEntry toFile

alter

protected RPGKeywordTextEntry alter

perrcd

protected RPGKeywordTextEntry perrcd

extfmt

protected RPGKeywordComboEntry extfmt

altVld

protected ValidatorFieldType altVld

fromVld

protected ValidatorFieldType fromVld

toVld

protected ValidatorFieldType toVld

perrcdVld

protected ValidatorFieldType perrcdVld

perVld

protected ValidatorIntegerRangeInput perVld

arrayKeywords

protected RPGDSpecArrayKeywords arrayKeywords

field

protected RPGFieldType field

keywords

protected Vector keywords

paneEnabled

protected boolean paneEnabled

isNumeric

protected boolean isNumeric

dads

protected boolean dads

isCurProc

protected boolean isCurProc

DSoccurs

protected boolean DSoccurs

arrayDim

protected boolean arrayDim
Constructor Detail

RPGDSpecArrayKeywordsPane

public RPGDSpecArrayKeywordsPane(Object container)
Constructor

Method Detail

createContents

public Control createContents(Composite parent)

setEnabled

public void setEnabled(boolean enabled)

initValidators

protected void initValidators()
Overrides:
initValidators in class RPGDSpecKeywordBasePane

updateExtFmt

protected void updateExtFmt()

setKeywordsEnabled

public void setKeywordsEnabled(boolean[] enable)

setExtFmtEnabled

protected void setExtFmtEnabled(boolean enabled)

populateKeyword

public void populateKeyword(RPGDSpecArrayKeywords kwd)

generateArrayKeywords

protected RPGDSpecArrayKeywords generateArrayKeywords()
Create RPGDSpecArrayKeywords object generated by this pane.


getPerrcdNbr

protected String getPerrcdNbr()

widgetSelected

public void widgetSelected(SelectionEvent e)

checkArrayKwdRules

protected void checkArrayKwdRules()

validateTxtPerrcd

protected SystemMessage validateTxtPerrcd(String prd)

validateFromFile

protected SystemMessage validateFromFile(String fileName)

validateToFile

protected SystemMessage validateToFile(String fileName)

validateTxtAlt

protected SystemMessage validateTxtAlt(String arrayName)

validatePane

public SystemMessage validatePane(RPGKeywordEntry skip,
                                  boolean setFocus)
Overrides:
validatePane in class RPGDSpecKeywordBasePane

checkError

protected void checkError(RPGKeywordEntry skip,
                          boolean setFocus)
Overrides:
checkError in class RPGDSpecKeywordBasePane

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

modifyText

public void modifyText(ModifyEvent e)

handleEvent

public void handleEvent(Event event)

getExtFmtStrs

protected String[] getExtFmtStrs(String category)

isPaneEnabled

public boolean isPaneEnabled()
Returns:

getArrayKeywords

public RPGDSpecArrayKeywords getArrayKeywords()
Returns:

getKeywords

public Vector getKeywords()
Returns:

setArrayKeywords

public void setArrayKeywords(RPGDSpecArrayKeywords keywords)
Parameters:
keywords -

setKeywords

public void setKeywords(Vector vector)
Parameters:
vector -

getField

public RPGFieldType getField()
Returns:

setField

public void setField(RPGFieldType type)
Parameters:
type -

isDads

public boolean isDads()
Returns:

setDads

public void setDads(boolean b)
Parameters:
b -

setCurrentProcedure

public void setCurrentProcedure(boolean isCurProc)
Parameters:
isCurProc -

validateCurProc

public SystemMessage validateCurProc()
Returns:

setAltEnabled

public void setAltEnabled(boolean value)
enables/disables the ALT keyword

Parameters:
value - true if ALT is to be enabled, false otherwise

setCTDATAEnabled

public void setCTDATAEnabled(boolean value)
enables/disables the CTDATA keyword

Parameters:
value - true if CTDATA is to be enabled, false otherwise

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.