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 IValidationMessageInterface for messages in dialogs, wizard or pages.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - void- onValidate(boolean isValid)Call to inform validity of all validators.- void- setMessage(java.lang.String newMessage, int newType)Set the message for this page with an indication of what type of message it is.
 
- Method Detail- setMessage- void setMessage(java.lang.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 - 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.
 
 - onValidate- void onValidate(boolean isValid) Call to inform validity of all validators.- Parameters:
- isValid- true if valid, false otherwise.