Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecDSKeywordsPane
Direct Known Subclasses:
RPGDSpecExternalKeywordsPane, RPGDSpecSimpleDSKeywordsPane

public class RPGDSpecDSKeywordsPane
extends Object


Field Summary
protected  Button alignBtn
           
protected  Button allThdBtn
           
protected  Button altseqBtn
           
protected  RPGKeywordTextEntry base
           
protected  ValidatorFieldType baseVld
           
protected  Object container
           
static String copyright
           
protected  boolean dads
           
protected  RPGKeywordTextEntry dim
           
protected  ValidatorFieldType dimVld
           
protected  int dsType
           
protected  RPGDTAARAKeywordEntry dtaaraEntry
           
protected  SystemMessage errorMessage
           
protected  RPGKeywordLCTextEntry exp
           
protected  ValidatorFieldType expVld
           
protected  RPGKeywordLCTextEntry extname
           
protected  ValidatorDSpecExternalName extVld
           
protected  Combo fld
           
protected  ValidatorFieldType fmtVld
           
protected  RPGKeywordLCTextEntry imp
           
protected  ValidatorFieldType impVld
           
protected  boolean initializing
           
protected  Button inzBtn
           
protected  Button inzExtBtn
           
protected  Button inzLikeBtn
           
protected  boolean isCurProc
           
protected  RPGDSpecDSKeywords keyword
           
protected  Vector kwds
           
protected  Label left
           
protected  RPGKeywordTextEntry likeds
           
protected  ValidatorFieldType likedsVld
           
protected  RPGKeywordTextComboEntry likerec
           
protected  boolean nameForced
           
protected  Button nooptBtn
           
protected  RPGKeywordTextEntry occurs
           
protected  ValidatorFieldType ocrVld
           
protected  RPGKeywordTextComboEntry prefix
           
protected  Combo preNumber
           
protected  ValidatorFieldType preVld
           
protected  boolean psds
           
protected  Button quaBtn
           
protected  Label right
           
protected  Button staticBtn
           
protected  Button templateBtn
           
protected  Text txtFmt
           
 
Constructor Summary
RPGDSpecDSKeywordsPane(Object container)
           
 
Method Summary
protected  void checkDSKwdRules()
           
protected  SystemMessage checkError(RPGKeywordEntry skip, boolean setFocus)
           
protected  void clearErrorMessage()
           
 Control createContent(Composite parent)
           
protected  void generateDSKeyword()
           
 int getDsType()
           
 RPGDSpecDSKeywords getKeyword()
           
 Object getOutputObject()
          Gets the RPGDSpecDSKeywords object that generated by this pane
protected  boolean getSelected(Button btn)
           
 String getSpecialChars()
           
 void handleEvent(Event event)
           
protected  void initValidators()
           
 boolean isPageComplete()
           
 void modifyText(ModifyEvent e)
           
protected  void setBased(boolean base)
           
protected  void setBasedEnabled(boolean enabled)
           
protected  void setContainerAligned(boolean aligned)
           
protected  void setContainerBased(boolean based)
           
protected  void setContainerNameForced(boolean forced)
           
 void setCurrentProcedure(boolean isCurProc)
           
protected  void setDim(boolean dim)
           
 void setDsType(int type)
           
protected  void setEnabled(boolean enabled)
           
protected  void setEnabled(Button btn, boolean enabled)
           
protected  void setErrorMessage(SystemMessage errMsg)
           
protected  void setFocus(RPGKeywordEntry entry)
           
protected  void setImpExpEnabled(boolean enabledExp, boolean enabledImp)
           
 void setKeyword(RPGDSpecDSKeywords keywords)
           
 void setLengthSpecified(boolean b)
           
 void setNameForced(boolean b)
           
protected  void setOccursEnabled(boolean enabled)
           
protected  void setOptionEnabled(boolean enable)
           
protected  SystemMessage validateNumConst(ValidatorFieldType vld, String text)
           
protected  SystemMessage validateNumConst(ValidatorFieldType vld, String text, boolean allowZero, SystemMessage msg)
           
protected  SystemMessage validateNumConst(ValidatorFieldType vld, String text, boolean allowZero, SystemMessage msg, boolean useMessage)
           
protected  void validatePane(RPGKeywordEntry skip, boolean setFocus)
           
 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

copyright

public static final String copyright
See Also:
Constant Field Values

container

protected Object container

keyword

protected RPGDSpecDSKeywords keyword

errorMessage

protected SystemMessage errorMessage

kwds

protected Vector kwds

dsType

protected int dsType

psds

protected boolean psds

dads

protected boolean dads

nameForced

protected boolean nameForced

initializing

protected boolean initializing

isCurProc

protected boolean isCurProc

alignBtn

protected Button alignBtn

altseqBtn

protected Button altseqBtn

staticBtn

protected Button staticBtn

allThdBtn

protected Button allThdBtn

templateBtn

protected Button templateBtn

quaBtn

protected Button quaBtn

inzBtn

protected Button inzBtn

inzExtBtn

protected Button inzExtBtn

nooptBtn

protected Button nooptBtn

inzLikeBtn

protected Button inzLikeBtn

left

protected Label left

right

protected Label right

txtFmt

protected Text txtFmt

dtaaraEntry

protected RPGDTAARAKeywordEntry dtaaraEntry

fld

protected Combo fld

preNumber

protected Combo preNumber

exp

protected RPGKeywordLCTextEntry exp

imp

protected RPGKeywordLCTextEntry imp

extname

protected RPGKeywordLCTextEntry extname

dim

protected RPGKeywordTextEntry dim

base

protected RPGKeywordTextEntry base

occurs

protected RPGKeywordTextEntry occurs

likeds

protected RPGKeywordTextEntry likeds

prefix

protected RPGKeywordTextComboEntry prefix

likerec

protected RPGKeywordTextComboEntry likerec

baseVld

protected ValidatorFieldType baseVld

dimVld

protected ValidatorFieldType dimVld

impVld

protected ValidatorFieldType impVld

expVld

protected ValidatorFieldType expVld

ocrVld

protected ValidatorFieldType ocrVld

likedsVld

protected ValidatorFieldType likedsVld

fmtVld

protected ValidatorFieldType fmtVld

preVld

protected ValidatorFieldType preVld

extVld

protected ValidatorDSpecExternalName extVld
Constructor Detail

RPGDSpecDSKeywordsPane

public RPGDSpecDSKeywordsPane(Object container)
Method Detail

initValidators

protected void initValidators()

createContent

public Control createContent(Composite parent)

checkDSKwdRules

protected void checkDSKwdRules()

getSelected

protected boolean getSelected(Button btn)

generateDSKeyword

protected void generateDSKeyword()

setOptionEnabled

protected void setOptionEnabled(boolean enable)

setBasedEnabled

protected void setBasedEnabled(boolean enabled)

setImpExpEnabled

protected void setImpExpEnabled(boolean enabledExp,
                                boolean enabledImp)

setOccursEnabled

protected void setOccursEnabled(boolean enabled)

getOutputObject

public Object getOutputObject()
Gets the RPGDSpecDSKeywords object that generated by this pane


widgetSelected

public void widgetSelected(SelectionEvent e)

checkError

protected SystemMessage checkError(RPGKeywordEntry skip,
                                   boolean setFocus)

validatePane

protected void validatePane(RPGKeywordEntry skip,
                            boolean setFocus)

clearErrorMessage

protected void clearErrorMessage()

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

modifyText

public void modifyText(ModifyEvent e)

handleEvent

public void handleEvent(Event event)

getDsType

public int getDsType()
Returns:

getKeyword

public RPGDSpecDSKeywords getKeyword()
Returns:

setDsType

public void setDsType(int type)
Parameters:
i -

setKeyword

public void setKeyword(RPGDSpecDSKeywords keywords)
Parameters:
keywords -

setEnabled

protected void setEnabled(boolean enabled)

setEnabled

protected void setEnabled(Button btn,
                          boolean enabled)

setBased

protected void setBased(boolean base)

setDim

protected void setDim(boolean dim)

setNameForced

public void setNameForced(boolean b)
Parameters:
b -

setContainerNameForced

protected void setContainerNameForced(boolean forced)

setErrorMessage

protected void setErrorMessage(SystemMessage errMsg)

setFocus

protected void setFocus(RPGKeywordEntry entry)

setContainerBased

protected void setContainerBased(boolean based)

setContainerAligned

protected void setContainerAligned(boolean aligned)
Parameters:
b -

validateNumConst

protected SystemMessage validateNumConst(ValidatorFieldType vld,
                                         String text)

validateNumConst

protected SystemMessage validateNumConst(ValidatorFieldType vld,
                                         String text,
                                         boolean allowZero,
                                         SystemMessage msg)

validateNumConst

protected SystemMessage validateNumConst(ValidatorFieldType vld,
                                         String text,
                                         boolean allowZero,
                                         SystemMessage msg,
                                         boolean useMessage)

isPageComplete

public boolean isPageComplete()
Returns:

setLengthSpecified

public void setLengthSpecified(boolean b)
Parameters:
b -

setCurrentProcedure

public void setCurrentProcedure(boolean isCurProc)
Parameters:
isCurProc -

getSpecialChars

public String getSpecialChars()

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.