Interface IValidationMessageProvider
- All Known Implementing Classes:
ValidationMessageProvider
public interface IValidationMessageProvider
Simple interface to provide a validation message text and a message type for
a given
ValidationStatusProvider.
Can be used in dialogs to display a message text along with an icon reflecting the validation status.
- Since:
- 1.4
-
Method Summary
Modifier and TypeMethodDescriptiongetMessage(ValidationStatusProvider statusProvider) Returns the validation message text for the given validation status provider.intgetMessageType(ValidationStatusProvider statusProvider) Returns the validation message type as one of the constants defined inIMessageProviderfor the given validation status provider.
-
Method Details
-
getMessage
Returns the validation message text for the given validation status provider.- Parameters:
statusProvider- theValidationStatusProviderfor which to provide a message text. May benull.- Returns:
- The validation message text for the given
validationStatusProvider. May benull.
-
getMessageType
Returns the validation message type as one of the constants defined inIMessageProviderfor the given validation status provider.- Parameters:
statusProvider- theValidationStatusProviderfor which to provide a message type. May benull.- Returns:
- The validation message type for the given
validationStatusProvider.
-