Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordBasePane
      extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecOtherKeywordsPane
All Implemented Interfaces:
IISeriesRPGWizardConstants
Direct Known Subclasses:
RPGDSpecDSOtherKeywordsPane

public class RPGDSpecOtherKeywordsPane
extends RPGDSpecKeywordBasePane
implements IISeriesRPGWizardConstants


Field Summary
protected  Button allThdBtn
           
protected  Button altseqBtn
           
protected  RPGKeywordTextEntry base
           
protected  ValidatorFieldType baseVld
           
static String copyright
           
protected  RPGDTAARAKeywordEntry dtaaraEntry
           
protected  RPGKeywordLCTextEntry exp
           
protected  ValidatorFieldType expVld
           
protected  RPGFieldType field
           
protected  int idx
           
protected  RPGKeywordLCTextEntry imp
           
protected  ValidatorFieldType impVld
           
protected  RPGKeywordLCComboEntry inz
           
protected  ValidatorInzValue inzVld
           
protected  boolean isArray
           
protected  boolean isCurProc
           
protected  Vector keywords
           
protected  Button nooptBtn
           
protected  Button staticBtn
           
protected  Button templateBtn
           
 
Fields inherited from class com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordBasePane
container, errorMessage, selects
 
Fields inherited from interface com.ibm.etools.iseries.editor.IISeriesRPGWizardConstants
BIN_IDX, BLANKLINE, CHAR_IDX, CLASSFILE_IMG, CMTLINE, CODEGEN_CURPROC, CODEGEN_CURSOR, CODEGEN_GLOBAL, CODEGENLOC_ALLAFTERCURLINE, CODEGENLOC_ALLINNEW, CODEGENLOC_APPROPRIATE, CONST_NAME_SUFFIX, CONSTANT, CRPG4TYPES, CSPEC_CALLP, CSPEC_EVAL, DATE_IDX, DCMTHDR, DECALLOWED, DEFAULT_CTORNAME_SUFFIX, DEFAULT_FIELDNAME_PREFIX, DEFAULT_FIELDNAME_SUFFIX, DEFAULT_OBJNAME_SUFFIX, DEFAULT_RETURNNAME_SUFFIX, DS, DSPEC_KEYWORDS_INDEX, EXTERNALDS, F, FIELD, FIELDS, FLT_IDX, FOLDERCLOSED_IMG, GRAPHIC_IDX, IND_IDX, INFDS, INT_IDX, INZ_CHAR, INZ_COMMON, INZ_DATE, INZ_EXP, INZ_IND, INZ_LIKEDS, INZ_OBJ, INZ_TIME, INZVALS, JAR_IMG, JAVA_NATURE, LENALLOWED, LINE_BODY, LINE_BODY_FREE, LINE_CLASS_PROTOTYPE, LINE_CONST, LINE_CSPEC, LINE_DS, LINE_DSPEC, LINE_DSPEC_CONST_O, LINE_DSPEC_JMC, LINE_DSPEC_S, LINE_DSPEC_SO, LINE_DSPEC2, LINE_DSPEC3, LINE_EDS, LINE_ESDS, LINE_ESUB, LINE_EUDS, LINE_FIELD, LINE_FIELD_DS, LINE_FREE_BEGIN, LINE_FREE_END, LINE_INTERFACE, LINE_INTERFACE_JMC, LINE_PARAMETER_CODE_HDR, LINE_PARAMETER_HDR, LINE_PISPEC, LINE_PROCBEGIN, LINE_PROCBEGIN_EXPORT, LINE_PROCBEGIN_SERIALIZE, LINE_PROCEDURE_CODE_HDR, LINE_PROCEDURE_CODE_NAME_HDR, LINE_PROCEDURE_CODE_PPS_HDR, LINE_PROCEDURE_CODE_RTN_HDR, LINE_PROCEDURE_HDR, LINE_PROCEDURE_NAME_HDR, LINE_PROCEDURE_PPS_HDR, LINE_PROCEDURE_RTN_HDR, LINE_PROCEND, LINE_PROGRAM_CODE_NAME_HDR, LINE_PROTOTYPE, LINE_PROTOTYPE_EXPORT1, LINE_PROTOTYPE_EXPORT2, LINE_PROTOTYPE_EXPORT3, LINE_PROTOTYPE_HDR, LINE_PROTOTYPE_HDR2, LINE_PROTOTYPE_JMC, LINE_PROTOTYPE_SHORT, LINE_PSPEC, LINE_PSPEC_BEG, LINE_PSPEC_END, LINE_RETFIELD, LINE_RETURN, LINE_RETURN_FREE, LINE_RETURN_HDR, LINE_SDS, LINE_UDS, LONGLINE, MAX_ARRAY_DIMENSION, MAX_CHAR_FIELD_LENGTH, MAX_CHAR_VARY_FIELD_LENGTH, MAX_POSITIONAL_LENGTH, MAX_UCS2_FIELD_LENGTH, MAX_UCS2_VARY_FIELD_LENGTH, MAXLEN, MAXLENGTH, MAXRCD, METHOD_NAME_SUFFIX, MIN_ARRAY_DIMENSION, MIN_CHAR_FIELD_LENGTH, MIN_UCS2_FIELD_LENGTH, MINLEN, MINLENGTH, MINRCD, NUMBERS, OBJ_IDX, PACKED_IDX, PATH_SEP, PCMTHDR, PKG_IMG, PPTR_IDX, PSDS, PSDS_FROM, PTR_IDX, SDS, SHORTLINE, SIMPLEDS, SPEC_COMMENTS_INDEX, SPEC_TYPE_INDEX, T, TIME_IDX, UCS2_IDX, UDS, UNSN_IDX, VARYING, ZONED_IDX
 
Constructor Summary
RPGDSpecOtherKeywordsPane(Object container)
          Constructor
 
Method Summary
 Control createContents(Composite parent)
           
 RPGFieldType getField()
           
 int getIdx()
           
 RPGDSpecOtherKeywords getKeyword()
           
 Vector getKeywords()
           
 RPGDSpecOtherKeywords getOtherKeywords()
           
 void handleEvent(Event event)
           
protected  void initValidators()
           
 void modifyText(ModifyEvent e)
           
 void setcurrentprocedure(boolean isCurProc)
           
 void setField(RPGFieldType type)
           
 void setIdx(int i)
           
 void setKeyword(RPGDSpecOtherKeywords keywords)
           
 void setKeywords(Vector vector)
           
 void setKeywordsEnabled(boolean[] enable)
           
 void updateKeywordsByIndex(boolean check)
           
protected  SystemMessage validateExport(String text)
           
protected  SystemMessage validateImport(String text)
           
 SystemMessage validatePane(RPGKeywordEntry skip, boolean setFocus)
           
protected  SystemMessage validateTxtBased(String text)
           
protected  SystemMessage validateTxtInz(String text)
           
 void widgetDefaultSelected(SelectionEvent e)
           
 void widgetSelected(SelectionEvent e)
           
 
Methods inherited from class com.ibm.etools.iseries.edit.wizards.RPGDSpecKeywordBasePane
checkError, 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

staticBtn

protected Button staticBtn

allThdBtn

protected Button allThdBtn

altseqBtn

protected Button altseqBtn

nooptBtn

protected Button nooptBtn

templateBtn

protected Button templateBtn

imp

protected RPGKeywordLCTextEntry imp

exp

protected RPGKeywordLCTextEntry exp

base

protected RPGKeywordTextEntry base

inz

protected RPGKeywordLCComboEntry inz

dtaaraEntry

protected RPGDTAARAKeywordEntry dtaaraEntry

inzVld

protected ValidatorInzValue inzVld

baseVld

protected ValidatorFieldType baseVld

impVld

protected ValidatorFieldType impVld

expVld

protected ValidatorFieldType expVld

field

protected RPGFieldType field

keywords

protected Vector keywords

isArray

protected boolean isArray

isCurProc

protected boolean isCurProc

idx

protected int idx
Constructor Detail

RPGDSpecOtherKeywordsPane

public RPGDSpecOtherKeywordsPane(Object container)
Constructor

Method Detail

createContents

public Control createContents(Composite parent)

initValidators

protected void initValidators()
Overrides:
initValidators in class RPGDSpecKeywordBasePane

getOtherKeywords

public RPGDSpecOtherKeywords getOtherKeywords()
Returns:

widgetSelected

public void widgetSelected(SelectionEvent e)

updateKeywordsByIndex

public void updateKeywordsByIndex(boolean check)

setKeywordsEnabled

public void setKeywordsEnabled(boolean[] enable)

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

modifyText

public void modifyText(ModifyEvent e)

validateTxtInz

protected SystemMessage validateTxtInz(String text)

validateImport

protected SystemMessage validateImport(String text)

validateExport

protected SystemMessage validateExport(String text)

validateTxtBased

protected SystemMessage validateTxtBased(String text)

handleEvent

public void handleEvent(Event event)

validatePane

public SystemMessage validatePane(RPGKeywordEntry skip,
                                  boolean setFocus)
Overrides:
validatePane in class RPGDSpecKeywordBasePane
Returns:
the errorMessage in this pane

getKeyword

public RPGDSpecOtherKeywords getKeyword()
Returns:

setKeyword

public void setKeyword(RPGDSpecOtherKeywords keywords)
Parameters:
keywords -

getField

public RPGFieldType getField()
Returns:

getIdx

public int getIdx()
Returns:

setField

public void setField(RPGFieldType type)
Parameters:
type -

setIdx

public void setIdx(int i)
Parameters:
i -

getKeywords

public Vector getKeywords()
Returns:

setKeywords

public void setKeywords(Vector vector)
Parameters:
vector -

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.