LPEX
4.4.0

com.ibm.lpex.alef.preferences
Class TabsPreferencePage

java.lang.Object
  extended by FieldEditorPreferencePage
      extended by com.ibm.lpex.alef.preferences.LpexFieldEditorPreferencePage
          extended by com.ibm.lpex.alef.preferences.TabsPreferencePage

public final class TabsPreferencePage
extends LpexFieldEditorPreferencePage

Preference page for LPEX's default tabs setting.


Constructor Summary
TabsPreferencePage()
          Constructor.
 
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 the field editors of this preference page.
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
 

Constructor Detail

TabsPreferencePage

public TabsPreferencePage()
Constructor.

Method Detail

createContents

protected Control createContents(Composite parent)
Creates and returns the SWT control for the customized body of this preference page. Overridden in order to set the context help.


createFieldEditors

protected void createFieldEditors()
Creates the field editors of this preference page.


performOk

public boolean performOk()
"OK" / "Apply" button pressed. Commits any new updated values, and ensures that any changes are reflected correctly on all the LPEX screens which have default settings for these.


performDefaults

protected void performDefaults()
"Restore Defaults" button pressed. Sets all the values and the dialog fields to the editor install settings, does a checkState() to recalculate page's error state.


performReset

protected void performReset()
"Reset" button pressed. Restores the initial preference page settings.

Overrides:
performReset in class LpexFieldEditorPreferencePage
See Also:
LpexFieldEditorPreferencePage.contributeButtons(Composite)

LPEX
4.4.0

Copyright � 2016 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.