public class PasswordFieldEditor
extends org.eclipse.jface.preference.FieldEditor
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 pointConstructor and Description |
---|
PasswordFieldEditor(String secureNodeName,
String keyName,
String name,
org.eclipse.swt.widgets.Composite fieldEditorParent)
Constructor
|
Modifier and Type | Method and Description |
---|---|
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() |
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
public PasswordFieldEditor(String secureNodeName, String keyName, String name, org.eclipse.swt.widgets.Composite fieldEditorParent)
secureNodeName
- the name of the node in the
ISecurePreferences
keyName
- the name of the key representing the password in that nodename
- the field name (displayed in the label)fieldEditorParent
- the parent compositeprotected void adjustForNumColumns(int numColumns)
adjustForNumColumns
in class org.eclipse.jface.preference.FieldEditor
FieldEditor.adjustForNumColumns(int)
protected void doFillIntoGrid(org.eclipse.swt.widgets.Composite parent, int numColumns)
doFillIntoGrid
in class org.eclipse.jface.preference.FieldEditor
FieldEditor.doFillIntoGrid(Composite, int)
protected void doLoad()
doLoad
in class org.eclipse.jface.preference.FieldEditor
FieldEditor.doLoad()
protected void doLoadDefault()
doLoadDefault
in class org.eclipse.jface.preference.FieldEditor
FieldEditor.doLoadDefault()
protected void doStore()
doStore
in class org.eclipse.jface.preference.FieldEditor
FieldEditor.doStore()
public int getNumberOfControls()
getNumberOfControls
in class org.eclipse.jface.preference.FieldEditor
FieldEditor.getNumberOfControls()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a