|
LPEX 3.6.6 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFieldEditorPreferencePage
com.ibm.lpex.alef.preferences.LpexFieldEditorPreferencePage
com.ibm.lpex.alef.preferences.SavePreferencePage
public class SavePreferencePage
Preference page with save-related settings for one LPEX view, or default settings for the editor.
When the constructor is passed a non-null LpexView, an LPEX view preference page (rather than a global-settings preference page) is created, which handles the save settings for the particular view.
Field Summary | |
---|---|
protected com.ibm.lpex.alef.preferences.LpexIntegerFieldEditor |
_textLimitTextField
|
protected com.ibm.lpex.alef.preferences.LpexBooleanFieldEditor |
_trimCheckBox
|
Constructor Summary | |
---|---|
SavePreferencePage()
Preference-page constructor for default save-related settings. |
|
SavePreferencePage(LpexView lpexView)
Preference-page constructor for one LPEX view's save settings. |
Method Summary | |
---|---|
protected Control |
createContents(Composite parent)
Creates and returns the SWT control for the customized body of this preference page. |
protected void |
createFieldEditors()
Creates this preference page's field editors. |
protected void |
performDefaults()
"Restore Defaults" button pressed. |
boolean |
performOk()
"OK" / "Apply" button pressed. |
protected void |
performReset()
"Reset" button pressed. |
Methods inherited from class com.ibm.lpex.alef.preferences.LpexFieldEditorPreferencePage |
---|
contributeButtons, fieldEditorsCreated, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.ibm.lpex.alef.preferences.LpexBooleanFieldEditor _trimCheckBox
protected com.ibm.lpex.alef.preferences.LpexIntegerFieldEditor _textLimitTextField
Constructor Detail |
---|
public SavePreferencePage(LpexView lpexView)
public SavePreferencePage()
Method Detail |
---|
protected Control createContents(Composite parent)
protected void createFieldEditors()
Method fieldEditorsCreated() is called after the fields of this preference page are created and set to their initial values. One or both of the fields may then be disabled by a subclass:
_trimCheckBox.setEnabled(false); _textLimitTextField.setEnabled(false);
public boolean performOk()
protected void performDefaults()
protected void performReset()
performReset
in class LpexFieldEditorPreferencePage
LpexFieldEditorPreferencePage.contributeButtons(Composite)
|
LPEX 3.6.6 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |