|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object FieldEditorPreferencePage com.ibm.lpex.alef.preferences.LpexFieldEditorPreferencePage com.ibm.lpex.alef.preferences.ViewParserPreferencePage
public class ViewParserPreferencePage
Parser preference page for an LPEX view. It handles the parser, updateProfile.noParser, and parseAfterEveryKey settings for the view, and the maintainBidiMark setting for the view's document.
Field Summary | |
---|---|
protected com.ibm.lpex.alef.preferences.LpexBooleanFieldEditor |
_disableParsingCheckBox
The "Disable parsing" checkbox. |
protected com.ibm.lpex.alef.preferences.LpexBooleanFieldEditor |
_maintainBidiMarksCheckBox
The "Maintain bidi marks" checkbox. |
protected com.ibm.lpex.alef.preferences.LpexBooleanFieldEditor |
_parseAfterEveryKeyCheckBox
The "Parse after every key" checkbox. |
protected com.ibm.lpex.alef.preferences.LpexListEditor |
_parserList
The list editor for document parsers selectable for the view. |
Constructor Summary | |
---|---|
ViewParserPreferencePage(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. |
void |
dispose()
Disposes the SWT resources allocated by this dialog page. |
protected String |
getDefaultParser(LpexView lpexView)
Determines the default parser for the specified view's document. |
protected String[] |
getParserList(LpexView lpexView)
Returns the parsers for the "Document parser" list field of this page. |
protected void |
performDefaults()
"Restore Defaults" button pressed. |
boolean |
performOk()
"OK" / "Apply" button pressed. |
protected void |
performReset()
"Reset" button pressed. |
void |
setVisible(boolean visible)
Sets the visibility of this preference page. |
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 |
Field Detail |
---|
protected com.ibm.lpex.alef.preferences.LpexListEditor _parserList
protected com.ibm.lpex.alef.preferences.LpexBooleanFieldEditor _disableParsingCheckBox
protected com.ibm.lpex.alef.preferences.LpexBooleanFieldEditor _parseAfterEveryKeyCheckBox
protected com.ibm.lpex.alef.preferences.LpexBooleanFieldEditor _maintainBidiMarksCheckBox
Constructor Detail |
---|
public ViewParserPreferencePage(LpexView lpexView)
Method Detail |
---|
protected Control createContents(Composite parent)
protected void createFieldEditors()
Method fieldEditorsCreated()
will be called
after the fields of this preference page are created and set to their initial value.
A subclass may then disable any of them:
_parserList.setEnabled(false); _disableParsingCheckBox.setEnabled(false); _parseAfterEveryKeyCheckBox.setEnabled(false); _maintainBidiMarksCheckBox.setEnabled(false);
protected String[] getParserList(LpexView lpexView)
The default implementation of this method returns the parsers specified by the globally-scoped updateProfile.parsers parameter.
lpexView
- the document view currently associated with this preference pagepublic void setVisible(boolean visible)
public void dispose()
public boolean performOk()
protected void performDefaults()
protected void performReset()
performReset
in class LpexFieldEditorPreferencePage
LpexFieldEditorPreferencePage.contributeButtons(Composite)
protected String getDefaultParser(LpexView lpexView)
|
LPEX 4.4.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |