Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.preferences.sql
Class SQLAutoUpperCasingFieldEditor

java.lang.Object
  extended by FieldEditor
      extended by com.ibm.etools.iseries.edit.preferences.sql.SQLAutoUpperCasingFieldEditor

public class SQLAutoUpperCasingFieldEditor
extends FieldEditor


Field Summary
static int ALL_LOWER_IDX
           
static int ALL_UPPER_IDX
           
static String AUTO_UPPERCASE_PREF_BASE_BOOLEAN_SUFFIX
           
static String AUTO_UPPERCASE_PREF_BASE_VALUE_SUFFIX
           
static String AUTO_UPPERCASE_PREF_INDENTIFIERS_SUFFIX
           
static String AUTO_UPPERCASE_PREF_KEYWORDS_SUFFIX
           
static String Copyright
           
static int CUSTOM_IDX
           
static int IGNORE_IDX
           
static int INITIAL_IDX
           
static int LOWER_IDX
           
static int UPPER_IDX
           
 
Constructor Summary
SQLAutoUpperCasingFieldEditor(String name, Composite parent)
          The constructor for this field editor
 
Method Summary
protected  void adjustForNumColumns(int numColumns)
           
protected  void doFillIntoGrid(Composite parent, int numColumns)
           
protected  void doLoad()
           
protected  void doLoadDefault()
           
protected  void doStore()
           
 int getNumberOfControls()
           
 void setPreviewFieldEditor(LpexPreviewFieldEditor preview)
          Sets the preview area for this field editor.
 void store()
          Override the default so that we always store the value.
 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

AUTO_UPPERCASE_PREF_BASE_BOOLEAN_SUFFIX

public static final String AUTO_UPPERCASE_PREF_BASE_BOOLEAN_SUFFIX
See Also:
Constant Field Values

AUTO_UPPERCASE_PREF_BASE_VALUE_SUFFIX

public static final String AUTO_UPPERCASE_PREF_BASE_VALUE_SUFFIX
See Also:
Constant Field Values

AUTO_UPPERCASE_PREF_KEYWORDS_SUFFIX

public static final String AUTO_UPPERCASE_PREF_KEYWORDS_SUFFIX
See Also:
Constant Field Values

AUTO_UPPERCASE_PREF_INDENTIFIERS_SUFFIX

public static final String AUTO_UPPERCASE_PREF_INDENTIFIERS_SUFFIX
See Also:
Constant Field Values

ALL_UPPER_IDX

public static final int ALL_UPPER_IDX
See Also:
Constant Field Values

ALL_LOWER_IDX

public static final int ALL_LOWER_IDX
See Also:
Constant Field Values

CUSTOM_IDX

public static final int CUSTOM_IDX
See Also:
Constant Field Values

UPPER_IDX

public static final int UPPER_IDX
See Also:
Constant Field Values

LOWER_IDX

public static final int LOWER_IDX
See Also:
Constant Field Values

INITIAL_IDX

public static final int INITIAL_IDX
See Also:
Constant Field Values

IGNORE_IDX

public static final int IGNORE_IDX
See Also:
Constant Field Values
Constructor Detail

SQLAutoUpperCasingFieldEditor

public SQLAutoUpperCasingFieldEditor(String name,
                                     Composite parent)
The constructor for this field editor

Parameters:
name - the name of the preference this field editor works on
parent - the parent of the field editor's control
Method Detail

adjustForNumColumns

protected void adjustForNumColumns(int numColumns)

doFillIntoGrid

protected void doFillIntoGrid(Composite parent,
                              int numColumns)

doLoad

protected void doLoad()

doLoadDefault

protected void doLoadDefault()

doStore

protected void doStore()

getNumberOfControls

public int getNumberOfControls()

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

widgetSelected

public void widgetSelected(SelectionEvent e)

setPreviewFieldEditor

public void setPreviewFieldEditor(LpexPreviewFieldEditor preview)
Sets the preview area for this field editor. When something is updated on this field editor, the preview area will be told to update itself

Parameters:
_preview - the preview field editor

store

public void store()
Override the default so that we always store the value. This handles the case when the reset defaults button is pushed

See Also:
FieldEditor

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.