Class ValidationMessageProvider
java.lang.Object
org.eclipse.jface.databinding.dialog.ValidationMessageProvider
- All Implemented Interfaces:
- IValidationMessageProvider
Standard implementation of the 
IValidationMessageProvider interface.- Since:
- 1.4
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetMessage(ValidationStatusProvider statusProvider) Returns themessageof theIStatuscontained in the providedvalidationStatusProvideras is ornullif thevalidationStatusProvideris itselfnull.intgetMessageType(ValidationStatusProvider statusProvider) Returns the message type defined inIMessageProviderwhich naturally maps to theIStatus.getSeverity()of theIStatuscontained in the providedvalidationStatusProvider.
- 
Constructor Details- 
ValidationMessageProviderpublic ValidationMessageProvider()
 
- 
- 
Method Details- 
getMessageReturns themessageof theIStatuscontained in the providedvalidationStatusProvideras is ornullif thevalidationStatusProvideris itselfnull.- Specified by:
- getMessagein interface- IValidationMessageProvider
- Parameters:
- statusProvider- the- ValidationStatusProviderfor which to provide a message text. May be- null.
- Returns:
- The validation message text for the given
         validationStatusProvider. May benull.
 
- 
getMessageTypeReturns the message type defined inIMessageProviderwhich naturally maps to theIStatus.getSeverity()of theIStatuscontained in the providedvalidationStatusProvider.- Specified by:
- getMessageTypein interface- IValidationMessageProvider
- Parameters:
- statusProvider- the- ValidationStatusProviderfor which to provide a message type. May be- null.
- Returns:
- The validation message type for the given
         validationStatusProvider.
 
 
-