Class ValidationPreferencePage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
com._1c.g5.v8.dt.internal.ui.validation.ValidationPreferencePage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPreferencePage, org.eclipse.ui.IWorkbenchPropertyPage

public class ValidationPreferencePage extends org.eclipse.jface.preference.PreferencePage implements org.eclipse.ui.IWorkbenchPreferencePage, org.eclipse.ui.IWorkbenchPropertyPage
V8 validaion preference page.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

    ERROR, INFORMATION, NONE, WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates new instance.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected org.eclipse.swt.widgets.Control
    createContents(org.eclipse.swt.widgets.Composite parent)
     
    org.eclipse.core.runtime.IAdaptable
     
    void
    init(org.eclipse.ui.IWorkbench workbench)
     
    protected void
     
    boolean
     
    void
    setElement(org.eclipse.core.runtime.IAdaptable element)
     

    Methods inherited from class org.eclipse.jface.preference.PreferencePage

    applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, doGetPreferenceStore, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, 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, 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, performCancel, setContainer, setSize
  • Field Details

  • Constructor Details

    • ValidationPreferencePage

      @Inject public ValidationPreferencePage(ICheckRepository checkRepo)
      Creates new instance.
      Parameters:
      checkRepo - check repository, not null
  • Method Details

    • applyData

      public void applyData(Object data)
      Overrides:
      applyData in class org.eclipse.jface.preference.PreferencePage
    • getElement

      public org.eclipse.core.runtime.IAdaptable getElement()
      Specified by:
      getElement in interface org.eclipse.ui.IWorkbenchPropertyPage
    • init

      public void init(org.eclipse.ui.IWorkbench workbench)
      Specified by:
      init in interface org.eclipse.ui.IWorkbenchPreferencePage
    • performOk

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

      public void setElement(org.eclipse.core.runtime.IAdaptable element)
      Specified by:
      setElement in interface org.eclipse.ui.IWorkbenchPropertyPage
    • createContents

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

      protected void performDefaults()
      Overrides:
      performDefaults in class org.eclipse.jface.preference.PreferencePage