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 Summary
Modifier and TypeMethodDescriptionvoidonValidate(boolean isValid) Call to inform validity of all validators.voidsetMessage(String newMessage, int newType) Set the message for this page with an indication of what type of message it is.
Method Details
setMessage
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, orIMessageProvider.ERROR.Note that for backward compatibility, a message of type
ERRORis different than an error message (set usingsetErrorMessage). 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, ornullto 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.