|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ILiveValidator
An IValidator that supports live-mode validation of
Notifications.
Not intended to be implemented by clients.
ModelValidationService.newValidator(EvaluationMode),
EvaluationMode.LIVE| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.emf.validation.service.IValidator |
|---|
IValidator.Option<V> |
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.emf.validation.service.IValidator |
|---|
OPTION_REPORT_SUCCESSES |
| Method Summary | |
|---|---|
FilteredCollection.Filter<Notification> |
getNotificationFilter()
Obtains a filter that is used to determine which notifications will be validated (passed on to constraints to check). |
void |
setNotificationFilter(FilteredCollection.Filter<Notification> filter)
Sets the filter that is used to determine which notifications will be validated (passed on to constraints to check). |
IStatus |
validate(Notification notification)
Validates the specified EMF event. |
| Methods inherited from interface org.eclipse.emf.validation.service.IValidator |
|---|
addConstraintFilter, getClientData, getConstraintFilters, getEvaluationMode, getOption, getOptions, isReportSuccesses, putClientData, removeConstraintFilter, setOption, setOptions, setReportSuccesses, validate |
| Method Detail |
|---|
IStatus validate(Notification notification)
EMF event. This method is a
synonym for the inherited IValidator.validate(Object).
validate in interface IValidator<Notification>notification - the EMF event to validate
IValidator.validate(Object)FilteredCollection.Filter<Notification> getNotificationFilter()
setNotificationFilter(org.eclipse.emf.validation.util.FilteredCollection.Filter)void setNotificationFilter(FilteredCollection.Filter<Notification> filter)
filter - the notification filter to usegetNotificationFilter()
|
Copyright 2002, 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||