public class ValidationMessageProvider extends Object implements IValidationMessageProvider
IValidationMessageProvider interface.| Constructor and Description |
|---|
ValidationMessageProvider() |
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage(ValidationStatusProvider statusProvider)
Returns the
message of the
IStatus contained in the provided
validationStatusProvider as is or null if the
validationStatusProvider is itself null. |
int |
getMessageType(ValidationStatusProvider statusProvider)
Returns the message type defined in
IMessageProvider which
naturally maps to the IStatus.getSeverity() of the
IStatus contained in the provided
validationStatusProvider. |
public String getMessage(ValidationStatusProvider statusProvider)
message of the
IStatus contained in the provided
validationStatusProvider as is or null if the
validationStatusProvider is itself null.getMessage in interface IValidationMessageProviderstatusProvider - the ValidationStatusProvider for which to provide a
message text. May be null.validationStatusProvider. May be null.public int getMessageType(ValidationStatusProvider statusProvider)
IMessageProvider which
naturally maps to the IStatus.getSeverity() of the
IStatus contained in the provided
validationStatusProvider.getMessageType in interface IValidationMessageProviderstatusProvider - the ValidationStatusProvider for which to provide a
message type. May be null.validationStatusProvider.
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.