Class AbstractFormatterPreferencePage

    • Field Summary

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

        ERROR, INFORMATION, NONE, WARNING
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void contributeButtons​(org.eclipse.swt.widgets.Composite parent)  
      protected abstract void createContent​(IPreferencePageProvider preferencePageProvider)
      This method shall create new Instance of IPreferencePageBuilder, add options and then return it
      protected org.eclipse.swt.widgets.Control createContents​(org.eclipse.swt.widgets.Composite parent)  
      protected abstract IPreferenceManager getPreferenceManager()
      Override this method to provide corresponding to this page IPreferenceManager
      protected abstract IPreferencePageProvider getPreferencePageProvider()
      Return implementation of IPreferencePageProvider that can build UI representation of Options.
      void init​(org.eclipse.ui.IWorkbench workbench)  
      protected void onDispose​(org.eclipse.swt.events.DisposeEvent e)
      This method called when preference page's composite is disposed
      protected void performDefaults()  
      boolean performOk()  
      • Methods inherited from class org.eclipse.jface.preference.PreferencePage

        applyData, applyDialogFont, computeSize, 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 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
    • Constructor Detail

      • AbstractFormatterPreferencePage

        public AbstractFormatterPreferencePage()
    • Method Detail

      • performOk

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

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

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

        protected void contributeButtons​(org.eclipse.swt.widgets.Composite parent)
        Overrides:
        contributeButtons in class org.eclipse.jface.preference.PreferencePage
      • performDefaults

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

        protected void onDispose​(org.eclipse.swt.events.DisposeEvent e)
        This method called when preference page's composite is disposed
        Parameters:
        e - The DisposeEvent to handle, cannot be null
        See Also:
        DisposeListener.widgetDisposed(DisposeEvent)
      • getPreferenceManager

        protected abstract IPreferenceManager getPreferenceManager()
        Override this method to provide corresponding to this page IPreferenceManager
        Returns:
        Associated to this page preference manager, cannot be null
      • createContent

        protected abstract void createContent​(IPreferencePageProvider preferencePageProvider)
        This method shall create new Instance of IPreferencePageBuilder, add options and then return it
        Parameters:
        preferencePageProvider - The preferencePageProvider that shall be used to create pages content, cannot be null