Class InternalDatabasePreferencePage

All Implemented Interfaces:
IValidationMessage, IDialogPage, IMessageProvider, IPreferencePage, IWorkbenchPreferencePage

public class InternalDatabasePreferencePage extends PreferencePage implements IWorkbenchPreferencePage, IValidationMessage
The Designer page in the Preferences for the Internal Database.
Author:
Christopher Mindus
  • Constructor Details

    • InternalDatabasePreferencePage

      public InternalDatabasePreferencePage()
      Constructor.
  • Method Details

    • init

      public void init(IWorkbench workbench)
      Initializer from the workbench.
      Specified by:
      init in interface IWorkbenchPreferencePage
      Parameters:
      workbench - The workbench instance.
    • createContents

      protected Control createContents(Composite parent)
      Creates the controls for the page.
      Specified by:
      createContents in class PreferencePage
      Parameters:
      parent - The parent composite.
      Returns:
      The parent composite making up the page.
    • performDefaults

      protected void performDefaults()
      Sets the default preferences.
      Overrides:
      performDefaults in class PreferencePage
    • performApply

      protected void performApply()
      Applies the preferences changes.
      Overrides:
      performApply in class PreferencePage
    • performOk

      public boolean performOk()
      Saves the preferences to the preference store: directory, bind address, port and the automatic start/stop with iiziGo. Nothing is stored when the page is not valid.
      Specified by:
      performOk in interface IPreferencePage
      Overrides:
      performOk in class PreferencePage
      Returns:
      true if the values were stored, false if the page is not valid.
    • performCancel

      public boolean performCancel()
      Cancels the preferences page.
      Specified by:
      performCancel in interface IPreferencePage
      Overrides:
      performCancel in class PreferencePage
    • onValidate

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