|
SWT LPEX v3.0.4 |
|||||||||||
| 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.ViewParserPreferencePage
Parser preference page for an LPEX view. It handles the document parser setting for the view.
| Field Summary | |
|---|---|
protected com.ibm.lpex.alef.preferences.LpexListEditor |
_parserList
The list editor for document parsers selectable for the view. |
| 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 | |
|---|---|
ViewParserPreferencePage(LpexView lpexView)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
contributeButtons(Composite buttonBar)
Contributes the "Reset" and "Apply" buttons. |
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 editor. |
void |
dispose()
Disposes the SWT resources allocated by this dialog page. |
boolean |
performOk()
"OK" / "Apply" button pressed. |
protected void |
performReset()
"Reset" button pressed. |
void |
setVisible(boolean visible)
Sets the visibility of this preference page. |
protected void |
updateApplyButton()
Updates the enabled state of the "Apply" button to reflect whether this page is valid. |
| Methods inherited from class com.ibm.lpex.alef.preferences.LpexFieldEditorPreferencePage |
|---|
fieldEditorsCreated, init |
| Methods inherited from class org.eclipse.jface.preference.FieldEditorPreferencePage |
|---|
addField, adjustGridLayout, applyFont, checkState, getFieldEditorParent, initialize, performDefaults, propertyChange |
| 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 |
| 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, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle |
| Field Detail |
protected com.ibm.lpex.alef.preferences.LpexListEditor _parserList
| Constructor Detail |
public ViewParserPreferencePage(LpexView lpexView)
| Method Detail |
protected Control createContents(Composite parent)
protected void createFieldEditors()
Method fieldEditorsCreated() will be called
after the field of this preference page is created and set to its initial value.
A subclass may then disable it:
_parserList.setEnabled(false);
public void setVisible(boolean visible)
protected void contributeButtons(Composite buttonBar)
contributeButtons in class LpexFieldEditorPreferencePagebuttonBar - the preference-page button barPreferencePage.contributeButtons(org.eclipse.swt.widgets.Composite),
LpexFieldEditorPreferencePage.performReset()public void dispose()
protected void updateApplyButton()
public boolean performOk()
protected void performReset()
performReset in class LpexFieldEditorPreferencePageLpexFieldEditorPreferencePage.contributeButtons(org.eclipse.swt.widgets.Composite)
|
SWT LPEX v3.0.4 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||