Rational Developer for Power Systems Software
V7.6

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

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

public class LpexPreviewFieldEditor
extends FieldEditor


Field Summary
static String Copyright
           
 
Constructor Summary
LpexPreviewFieldEditor(Composite parent)
          The constructor for this class
 
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 setFormatting(SQLFormattingSettings formatting)
          Sets the formatting options for the formatter
 void setIndent(int indentValue)
          Sets the indent for the formatter for the preview
 void setUpperCasing(SQLUpperCaseSettings uppercasing)
          Sets the uppercasing settings for the formatter.
 void store()
          Override the default so that we always store the value.
 void updatePreviewForFormatting()
          Updates the preview area using the formatting settings
 
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
Constructor Detail

LpexPreviewFieldEditor

public LpexPreviewFieldEditor(Composite parent)
The constructor for this class

Parameters:
parent - the parent composite for the field editor
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()

setUpperCasing

public void setUpperCasing(SQLUpperCaseSettings uppercasing)
Sets the uppercasing settings for the formatter.

Parameters:
uppercasing - the uppercasing settings to use when formatting

updatePreviewForFormatting

public void updatePreviewForFormatting()
Updates the preview area using the formatting settings


setFormatting

public void setFormatting(SQLFormattingSettings formatting)
Sets the formatting options for the formatter

Parameters:
formatting - the formatting options

setIndent

public void setIndent(int indentValue)
Sets the indent for the formatter for the preview

Parameters:
indentValue - the number of characters to indent

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.