|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.jface.preference.FieldEditorPreferencePage
com.ibm.lpex.alef.preferences.LpexFieldEditorPreferencePage
com.ibm.lpex.alef.preferences.SourceEncodingPreferencePage
Source encoding preference page for an LPEX document. It handles the emulation source encoding setting for the document.
Field Summary | |
---|---|
protected com.ibm.lpex.alef.preferences.LpexComboEditor |
_sourceEncodingList
The combo list of source encodings. |
Fields inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
---|
FLAT, GRID, MARGIN_HEIGHT, MARGIN_WIDTH, VERTICAL_SPACING |
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider |
---|
ERROR, INFORMATION, NONE, WARNING |
Constructor Summary | |
---|---|
SourceEncodingPreferencePage(LpexView lpexView)
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 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 org.eclipse.jface.preference.FieldEditorPreferencePage |
---|
addField, adjustGridLayout, applyFont, checkState, dispose, getFieldEditorParent, initialize, propertyChange, setVisible |
Methods inherited from class org.eclipse.jface.preference.PreferencePage |
---|
applyDialogFont, computeSize, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton |
Methods inherited from class org.eclipse.jface.dialogs.DialogPage |
---|
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.preference.IPreferencePage |
---|
computeSize, isValid, okToLeave, performCancel, setContainer, setSize |
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage |
---|
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible |
Field Detail |
protected com.ibm.lpex.alef.preferences.LpexComboEditor _sourceEncodingList
Constructor Detail |
public SourceEncodingPreferencePage(LpexView lpexView)
lpexView
- a view of the documentMethod Detail |
protected Control createContents(Composite parent)
protected void createFieldEditors()
Method fieldEditorsCreated() is called after the field of this preference page is created and set to its initial value. A subclass may then disable this field:
protected void fieldEditorsCreated() { _sourceEncodingList.setEnabled(false); }
public boolean performOk()
protected void performDefaults()
protected void performReset()
performReset
in class LpexFieldEditorPreferencePage
LpexFieldEditorPreferencePage.contributeButtons(org.eclipse.swt.widgets.Composite)
|
SWT LPEX v3.0.5 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |