Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.util.components
Class PasswordFieldEditor

java.lang.Object
  extended by org.eclipse.jface.preference.FieldEditor
      extended by eu.esdihumboldt.hale.ui.util.components.PasswordFieldEditor

public class PasswordFieldEditor
extends org.eclipse.jface.preference.FieldEditor

Password field editor that uses ISecurePreferences When using it be careful to also include the org.eclipse.equinox.security.ui bundle or add you own secure storage module through the extension point

Author:
Simon Templer

Field Summary
 
Fields inherited from class org.eclipse.jface.preference.FieldEditor
HORIZONTAL_GAP, IS_VALID, VALUE
 
Constructor Summary
PasswordFieldEditor(String secureNodeName, String keyName, String name, org.eclipse.swt.widgets.Composite fieldEditorParent)
          Constructor
 
Method Summary
protected  void adjustForNumColumns(int numColumns)
           
protected  void doFillIntoGrid(org.eclipse.swt.widgets.Composite parent, int numColumns)
           
protected  void doLoad()
           
protected  void doLoadDefault()
           
protected  void doStore()
           
 int getNumberOfControls()
           
 
Methods inherited from class org.eclipse.jface.preference.FieldEditor
applyFont, checkParent, clearErrorMessage, clearMessage, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, createControl, dispose, fillIntoGrid, fireStateChanged, fireValueChanged, getFieldEditorFontName, getLabelControl, getLabelControl, getLabelText, getPage, getPreferenceName, getPreferencePage, getPreferenceStore, init, isValid, load, loadDefault, presentsDefaultValue, refreshValidState, setButtonLayoutData, setEnabled, setFocus, setLabelText, setPage, setPreferenceName, setPreferencePage, setPreferenceStore, setPresentsDefaultValue, setPropertyChangeListener, showErrorMessage, showMessage, store
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordFieldEditor

public PasswordFieldEditor(String secureNodeName,
                           String keyName,
                           String name,
                           org.eclipse.swt.widgets.Composite fieldEditorParent)
Constructor

Parameters:
secureNodeName - the name of the node in the ISecurePreferences
keyName - the name of the key representing the password in that node
name - the field name (displayed in the label)
fieldEditorParent - the parent composite
Method Detail

adjustForNumColumns

protected void adjustForNumColumns(int numColumns)
Specified by:
adjustForNumColumns in class org.eclipse.jface.preference.FieldEditor
See Also:
FieldEditor.adjustForNumColumns(int)

doFillIntoGrid

protected void doFillIntoGrid(org.eclipse.swt.widgets.Composite parent,
                              int numColumns)
Specified by:
doFillIntoGrid in class org.eclipse.jface.preference.FieldEditor
See Also:
FieldEditor.doFillIntoGrid(Composite, int)

doLoad

protected void doLoad()
Specified by:
doLoad in class org.eclipse.jface.preference.FieldEditor
See Also:
FieldEditor.doLoad()

doLoadDefault

protected void doLoadDefault()
Specified by:
doLoadDefault in class org.eclipse.jface.preference.FieldEditor
See Also:
FieldEditor.doLoadDefault()

doStore

protected void doStore()
Specified by:
doStore in class org.eclipse.jface.preference.FieldEditor
See Also:
FieldEditor.doStore()

getNumberOfControls

public int getNumberOfControls()
Specified by:
getNumberOfControls in class org.eclipse.jface.preference.FieldEditor
See Also:
FieldEditor.getNumberOfControls()

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d