Package com.iizigo.validator
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 SummaryModifier and TypeMethodDescription- 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- setMessageSet 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 - ERRORis 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- nullto clear the message.
- newType- The message type.
 
- onValidatevoid onValidate- (boolean isValid) Call to inform validity of all validators.- Parameters:
- isValid- true if valid, false otherwise.