LPEX
4.4.0

com.ibm.lpex.alef.preferences
Class UserProfilePreferencePage

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

public final class UserProfilePreferencePage
extends LpexFieldEditorPreferencePage

Preference page for LPEX's user profile.


Constructor Summary
UserProfilePreferencePage()
          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

UserProfilePreferencePage

public UserProfilePreferencePage()
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 for this preference page and node.


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, runs the updateProfile all command (which will run the newly-set user profile), ensures changes are reflected correctly on all the LPEX screens.


performDefaults

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


performReset

protected void performReset()
"Reset" button pressed. Sets the value and the dialog field to the initial preference-page setting.

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.