Class TextTablePropertyPage
java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
org.eclipse.ui.dialogs.PropertyPage
com.iizigo.text.TextTablePropertyPage
- All Implemented Interfaces:
IValidationMessage, IDialogPage, IMessageProvider, IPreferencePage, IWorkbenchPropertyPage
The Text Table property page.
- Author:
- Christopher Mindus
Field Summary
FieldsFields inherited from interface IMessageProvider
ERROR, INFORMATION, NONE, WARNINGConstructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionprotected ControlcreateContents(Composite parent) voidonValidate(boolean isValid) Called when validated.protected voidPerforms apply.booleanCancels.booleanPerforms OK.Methods inherited from class PropertyPage
getElement, setElementMethods inherited from class PreferencePage
applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performDefaults, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButtonMethods inherited from class DialogPage
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisibleMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IDialogPage
createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisibleMethods inherited from interface IPreferencePage
computeSize, isValid, okToLeave, setContainer, setSizeMethods inherited from interface IValidationMessage
setMessage
Field Details
ID
The ID of the preference page.
Constructor Details
TextTablePropertyPage
public TextTablePropertyPage()Constructor for property page.
Method Details
createContents
- Specified by:
createContentsin classPreferencePage- See Also:
performApply
performOk
public boolean performOk()Performs OK.- Specified by:
performOkin interfaceIPreferencePage- Overrides:
performOkin classPreferencePage
performCancel
public boolean performCancel()Cancels.- Specified by:
performCancelin interfaceIPreferencePage- Overrides:
performCancelin classPreferencePage
onValidate
public void onValidate(boolean isValid) Called when validated.- Specified by:
onValidatein interfaceIValidationMessage- Parameters:
isValid- true if valid, false otherwise.