Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


org.eclipse.emf.validation.service
Interface ILiveValidator

All Superinterfaces:
IValidator< Notification>

public interface ILiveValidator
extends IValidator< Notification>

An IValidator that supports live-mode validation of Notifications.

Not intended to be implemented by clients.

See Also:
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

validate


IStatus validate(
Notification notification)
Validates the specified EMF event. This method is a synonym for the inherited IValidator.validate(Object).

Specified by:
validate in interface IValidator< Notification>
Parameters:
notification - the EMF event to validate
Returns:
the validation status
See Also:
IValidator.validate(Object)

getNotificationFilter


FilteredCollection.Filter<
Notification> getNotificationFilter()
Obtains a filter that is used to determine which notifications will be validated (passed on to constraints to check). The default filter, if one is not set by the client of the validator, excludes any notification from an object that is not attached to a resource at the time of validation.

Returns:
my notification filter
Since:
1.1
See Also:
setNotificationFilter(org.eclipse.emf.validation.util.FilteredCollection.Filter)

setNotificationFilter

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).

Parameters:
filter - the notification filter to use
Since:
1.1
See Also:
getNotificationFilter()

Copyright 2002, 2007 IBM Corporation and others.
All Rights Reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire