Interface IValidationMessage

All Known Implementing Classes:
DevelServerLaunchConfigurationTab, EditorRuntimeBuilderPropertyPage, GeneralPreferencePage, HyperlinkDialog, InsertTextVSDialog, InternalDatabasePreferencePage, NewModuleProjectWizardStartupPage1, NewModuleProjectWizardStartupPage2, NewSessionWizardHostPage, NewSessionWizardNameTypePage, NewVSColumnWizardPage, NewVSFieldWizardPage, NewVSTableWizardPage, TextTablePropertyPage, ValidationDialog

public interface IValidationMessage
Interface for messages in dialogs, wizard or pages.
Author:
Christopher Mindus
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onValidate(boolean isValid)
    Call to inform validity of all validators.
    void
    setMessage(String newMessage, int newType)
    Set the message for this page with an indication of what type of message it is.
  • Method Details

    • setMessage

      void setMessage(String newMessage, int newType)
      Set the message for this page with an indication of what type of message it is.

      The valid message types are one of IMessageProvider.NONE, IMessageProvider.INFORMATION,IMessageProvider.WARNING, or IMessageProvider.ERROR.

      Note that for backward compatibility, a message of type ERROR is different than an error message (set using setErrorMessage). An error message overrides the current message until the error message is cleared. This method replaces the current message and does not affect the error message.

      Parameters:
      newMessage - The message, or null to clear the message.
      newType - The message type.
    • onValidate

      void onValidate(boolean isValid)
      Call to inform validity of all validators.
      Parameters:
      isValid - true if valid, false otherwise.