com.ibm.etools.iseries.edit.ui.preferences
Class AutoCloseControlFieldEditor
java.lang.Object
FieldEditor
com.ibm.etools.iseries.edit.ui.preferences.ComboBoxFieldEditor
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.
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 |
copyright
public static final String copyright
- See Also:
- Constant Field Values
AutoCloseControlFieldEditor
public AutoCloseControlFieldEditor(String name,
Composite parent)
- Constructor for AutoClosureFieldEditor.
- Parameters:
name
- the name of the preference to put in the storeparent
- the parent control
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
- statestyleEnablement
- state
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.