Class TextTablePropertyPage

  • All Implemented Interfaces:
    IValidationMessage, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPropertyPage

    public class TextTablePropertyPage
    extends org.eclipse.ui.dialogs.PropertyPage
    implements IValidationMessage
    The Text Table property page.
    Author:
    Christopher Mindus
    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static java.lang.StringID
      The ID of the preference page.
      • Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

        ERROR, INFORMATION, NONE, WARNING
    • Constructor Summary

      Constructors 
      ConstructorDescription
      TextTablePropertyPage()
      Constructor for property page.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      protected org.eclipse.swt.widgets.ControlcreateContents​(org.eclipse.swt.widgets.Composite parent) 
      voidonValidate​(boolean isValid)
      Called when validated.
      protected voidperformApply()
      Performs apply.
      booleanperformCancel()
      Cancels.
      booleanperformOk()
      Performs OK.
      • Methods inherited from class org.eclipse.ui.dialogs.PropertyPage

        getElement, setElement
      • Methods inherited from class org.eclipse.jface.preference.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, updateApplyButton
      • Methods inherited from class org.eclipse.jface.dialogs.DialogPage

        convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage

        createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
      • Methods inherited from interface org.eclipse.jface.preference.IPreferencePage

        computeSize, isValid, okToLeave, setContainer, setSize
    • Field Detail

      • ID

        public static final java.lang.String ID
        The ID of the preference page.
    • Constructor Detail

      • TextTablePropertyPage

        public TextTablePropertyPage()
        Constructor for property page.
    • Method Detail

      • createContents

        protected org.eclipse.swt.widgets.Control createContents​(org.eclipse.swt.widgets.Composite parent)
        Specified by:
        createContents in class org.eclipse.jface.preference.PreferencePage
        See Also:
        PreferencePage.createContents(Composite)
      • performApply

        protected void performApply()
        Performs apply.
        Overrides:
        performApply in class org.eclipse.jface.preference.PreferencePage
      • performOk

        public boolean performOk()
        Performs OK.
        Specified by:
        performOk in interface org.eclipse.jface.preference.IPreferencePage
        Overrides:
        performOk in class org.eclipse.jface.preference.PreferencePage
      • performCancel

        public boolean performCancel()
        Cancels.
        Specified by:
        performCancel in interface org.eclipse.jface.preference.IPreferencePage
        Overrides:
        performCancel in class org.eclipse.jface.preference.PreferencePage
      • onValidate

        public void onValidate​(boolean isValid)
        Called when validated.
        Specified by:
        onValidate in interface IValidationMessage
        Parameters:
        isValid - true if valid, false otherwise.