Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.ui.preferences
Class AutoCloseControlFieldEditor

java.lang.Object
  extended by FieldEditor
      extended by com.ibm.etools.iseries.edit.ui.preferences.ComboBoxFieldEditor
          extended by com.ibm.etools.iseries.edit.ui.preferences.AutoCloseControlFieldEditor

public class AutoCloseControlFieldEditor
extends ComboBoxFieldEditor

A field editor which can be used to specify automatic closure of control blocks by a parser. Tooltip and info pop are included. The preference passed in the contructor is used to store the boolean value of whether or not auto closure is enabled. To retrieve the style, append the string .autoclosecontrolvalue to the preference string when querying the preference store.


Field Summary
static String copyright
           
 
Constructor Summary
AutoCloseControlFieldEditor(String name, Composite parent)
          Constructor for AutoClosureFieldEditor.
 
Method Summary
protected  void adjustForNumColumns(int numColumns)
           
protected  void doFillIntoGrid(Composite parent, int numColumns)
          Fills this field editor's basic controls into the given parent.
protected  void doLoad()
           
protected  void doLoadDefault()
           
protected  void doStore()
           
 int getNumberOfControls()
           
 void setEnabled(boolean enablement)
          Method setEnabled
 void setEnabled(boolean enablement, boolean styleEnablement)
          Method setEnabled
 
Methods inherited from class com.ibm.etools.iseries.edit.ui.preferences.ComboBoxFieldEditor
createModifyListener, createSelectionListener, getTextControl, getTextControl, isValid, refreshValidState, selectionChanged, setHelp, setIgnoreLoadedList, setToolTipText, setValidator
 
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

AutoCloseControlFieldEditor

public AutoCloseControlFieldEditor(String name,
                                   Composite parent)
Constructor for AutoClosureFieldEditor.

Parameters:
name - the name of the preference to put in the store
parent - the parent control
Method Detail

adjustForNumColumns

protected void adjustForNumColumns(int numColumns)
Overrides:
adjustForNumColumns in class ComboBoxFieldEditor
See Also:
FieldEditor

doFillIntoGrid

protected void doFillIntoGrid(Composite parent,
                              int numColumns)
Fills this field editor's basic controls into the given parent.

Overrides:
doFillIntoGrid in class ComboBoxFieldEditor
See Also:
FieldEditor

getNumberOfControls

public int getNumberOfControls()
Overrides:
getNumberOfControls in class ComboBoxFieldEditor
See Also:
FieldEditor

doStore

protected void doStore()
Overrides:
doStore in class ComboBoxFieldEditor
See Also:
FieldEditor

doLoadDefault

protected void doLoadDefault()
Overrides:
doLoadDefault in class ComboBoxFieldEditor
See Also:
FieldEditor

doLoad

protected void doLoad()
Overrides:
doLoad in class ComboBoxFieldEditor
See Also:
FieldEditor

setEnabled

public void setEnabled(boolean enablement)
Method setEnabled

Parameters:
enablement - state

setEnabled

public void setEnabled(boolean enablement,
                       boolean styleEnablement)
Method setEnabled

Parameters:
enablement - state
styleEnablement - state

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.