Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by SystemPromptDialog
      extended by com.ibm.etools.iseries.edit.wizards.RPGDSpecSubFieldEditDialog

public class RPGDSpecSubFieldEditDialog
extends SystemPromptDialog


Field Summary
protected  boolean aligned
           
protected  boolean arrayFlay
           
protected  boolean base
           
protected  Button btnExt
           
protected  boolean change
           
protected  String changedName
           
protected  Object container
           
static String copyright
           
protected  boolean dads
           
protected  String dsName
           
protected  SystemMessage errorMessage
           
protected  ValidatorFieldType extfldValidator
           
protected  RPGFieldTypeBasePane fieldTypePane
           
protected  ValidatorIntegerRangeInput fromValidator
           
protected  boolean initializing
           
protected  boolean isArray
           
protected  boolean isCurProc
           
protected  boolean isDim
           
protected  boolean isExternal
           
protected  boolean isLikeDS
           
protected  RPGKeywordListPane keywordPane
           
protected  RPGDSpecKeywords keywords
           
static int MAX_NAMED
           
static int MAX_UNNAMED
           
protected  boolean nameForced
           
protected  ValidatorFieldType nameValidator
           
protected  boolean psds
           
protected  Text txtDesc
           
protected  Text txtExt
           
protected  Text txtFrom
           
protected  Text txtName
           
 
Constructor Summary
RPGDSpecSubFieldEditDialog(Shell shell, String title, Object inputObject, Object container, Vector existingNames, boolean change, String specialChars)
           
 
Method Summary
protected  SystemMessage checkError(Control src, boolean setFocus)
           
 void clearInnerErrorMessage(Object pane)
          Called when one of the sub panes is cleaned.
protected  Control createInner(Composite parent)
           
 Object getContainer()
           
 String getDsName()
           
 RPGFieldTypeBasePane getFieldTypePane()
           
 int getFrom()
           
protected  Control getInitialFocusControl()
           
 RPGKeywordListPane getKeywordPane()
           
 RPGDSpecKeywords getKeywords()
           
 Object getOutputObject()
           
 String getSpecialChars()
           
 Text getTxtDesc()
           
 Text getTxtFrom()
           
 Text getTxtName()
           
 boolean isBase()
           
 boolean isDads()
           
 boolean isExternal()
           
 boolean isLikeDS()
           
 boolean isPsds()
           
 void modifyText(ModifyEvent e)
           
protected  boolean processOK()
           
 void setAligned(boolean aligned)
           
 void setArray(boolean b)
           
 void setBase(boolean b)
           
 void setContainer(Object object)
           
 void setCurrentProcedure(boolean isCurProc)
           
 void setDads(boolean b)
           
 void setDim(boolean dim)
           
 void setDsName(String string)
           
 void setErrorMessage(SystemMessage message)
           
 void setExternal(boolean b)
           
 void setFields(Vector fields)
           
 void setKeywords(RPGDSpecKeywords keywords)
           
 void setLength(int maxLen, int crtLen)
           
 void setLikeDS(boolean b)
           
 void setNamedDS(boolean dsNamed)
           
 void setPsds(boolean b)
           
 void setTxtDesc(Text text)
           
 void setTxtFrom(Text text)
           
 void setTxtName(Text text)
           
 void updatePage(boolean isLike, boolean isLikeDS, boolean clearKeywordList)
           
 boolean validateDialog(Control skip, boolean setFocus)
           
protected  SystemMessage validateLength(RPGFieldType field)
           
protected  SystemMessage validateText(Control 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

MAX_NAMED

public static final int MAX_NAMED
See Also:
Constant Field Values

MAX_UNNAMED

public static final int MAX_UNNAMED
See Also:
Constant Field Values

txtName

protected Text txtName

txtDesc

protected Text txtDesc

txtFrom

protected Text txtFrom

txtExt

protected Text txtExt

btnExt

protected Button btnExt

fieldTypePane

protected RPGFieldTypeBasePane fieldTypePane

keywordPane

protected RPGKeywordListPane keywordPane

container

protected Object container

keywords

protected RPGDSpecKeywords keywords

errorMessage

protected SystemMessage errorMessage

nameValidator

protected ValidatorFieldType nameValidator

extfldValidator

protected ValidatorFieldType extfldValidator

fromValidator

protected ValidatorIntegerRangeInput fromValidator

change

protected boolean change

arrayFlay

protected boolean arrayFlay

initializing

protected boolean initializing

base

protected boolean base

nameForced

protected boolean nameForced

isCurProc

protected boolean isCurProc

psds

protected boolean psds

dads

protected boolean dads

isArray

protected boolean isArray

isExternal

protected boolean isExternal

isLikeDS

protected boolean isLikeDS

isDim

protected boolean isDim

aligned

protected boolean aligned

changedName

protected String changedName

dsName

protected String dsName
Constructor Detail

RPGDSpecSubFieldEditDialog

public RPGDSpecSubFieldEditDialog(Shell shell,
                                  String title,
                                  Object inputObject,
                                  Object container,
                                  Vector existingNames,
                                  boolean change,
                                  String specialChars)
Parameters:
shell -
title -
inputObject - a vector containing strings indicating the selected keywords
Method Detail

createInner

protected Control createInner(Composite parent)

getInitialFocusControl

protected Control getInitialFocusControl()

widgetSelected

public void widgetSelected(SelectionEvent e)

updatePage

public void updatePage(boolean isLike,
                       boolean isLikeDS,
                       boolean clearKeywordList)

getOutputObject

public Object getOutputObject()

processOK

protected boolean processOK()

checkError

protected SystemMessage checkError(Control src,
                                   boolean setFocus)

validateDialog

public boolean validateDialog(Control skip,
                              boolean setFocus)

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

getContainer

public Object getContainer()
Returns:

getFieldTypePane

public RPGFieldTypeBasePane getFieldTypePane()
Returns:

getKeywordPane

public RPGKeywordListPane getKeywordPane()
Returns:

getKeywords

public RPGDSpecKeywords getKeywords()
Returns:

setContainer

public void setContainer(Object object)
Parameters:
object -

setKeywords

public void setKeywords(RPGDSpecKeywords keywords)
Parameters:
keywords -

setErrorMessage

public void setErrorMessage(SystemMessage message)

clearInnerErrorMessage

public void clearInnerErrorMessage(Object pane)
Called when one of the sub panes is cleaned.


validateLength

protected SystemMessage validateLength(RPGFieldType field)

validateText

protected SystemMessage validateText(Control skip,
                                     boolean setFocus)

isBase

public boolean isBase()
Returns:

isDads

public boolean isDads()
Returns:

isPsds

public boolean isPsds()
Returns:

getTxtDesc

public Text getTxtDesc()
Returns:

getTxtFrom

public Text getTxtFrom()
Returns:

getFrom

public int getFrom()
Returns:

getTxtName

public Text getTxtName()
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 -

setTxtDesc

public void setTxtDesc(Text text)
Parameters:
text -

setTxtFrom

public void setTxtFrom(Text text)
Parameters:
text -

setTxtName

public void setTxtName(Text text)
Parameters:
text -

setArray

public void setArray(boolean b)
Parameters:
b -

isExternal

public boolean isExternal()
Returns:

setExternal

public void setExternal(boolean b)
Parameters:
b -

modifyText

public void modifyText(ModifyEvent e)

isLikeDS

public boolean isLikeDS()
Returns:

setLikeDS

public void setLikeDS(boolean b)
Parameters:
b -

setNamedDS

public void setNamedDS(boolean dsNamed)
Parameters:
b -

setDim

public void setDim(boolean dim)
Parameters:
dim -

setLength

public void setLength(int maxLen,
                      int crtLen)

getDsName

public String getDsName()
Returns:

setDsName

public void setDsName(String string)
Parameters:
string -

setAligned

public void setAligned(boolean aligned)
Parameters:
aligned -

setFields

public void setFields(Vector fields)
Parameters:
fields -

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.