|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.databinding.dialog.ValidationMessageProvider
public class ValidationMessageProvider
Standard implementation of the IValidationMessageProvider interface.
| Constructor Summary | |
|---|---|
ValidationMessageProvider()
|
|
| Method Summary | |
|---|---|
java.lang.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ValidationMessageProvider()
| Method Detail |
|---|
public java.lang.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.
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.