org.eclipse.xtext.validation
Interface INamesAreUniqueValidationHelper

All Known Implementing Classes:
NamesAreUniqueValidationHelper

public interface INamesAreUniqueValidationHelper

Author:
Sebastian Zarnekow - Initial contribution and API

Method Summary
 void checkUniqueNames(java.lang.Iterable<IEObjectDescription> descriptions, CancelIndicator cancelIndicator, ValidationMessageAcceptor acceptor)
          Create errors for objects that have the same name.
 void checkUniqueNames(java.lang.Iterable<IEObjectDescription> descriptions, ValidationMessageAcceptor acceptor)
          Create errors for objects that have the same name.
 

Method Detail

checkUniqueNames

void checkUniqueNames(java.lang.Iterable<IEObjectDescription> descriptions,
                      ValidationMessageAcceptor acceptor)
Create errors for objects that have the same name. Objects, that do not belong to the same cluster will not get any errors.

See Also:
checkUniqueNames(Iterable, CancelIndicator, ValidationMessageAcceptor)

checkUniqueNames

void checkUniqueNames(java.lang.Iterable<IEObjectDescription> descriptions,
                      CancelIndicator cancelIndicator,
                      ValidationMessageAcceptor acceptor)
Create errors for objects that have the same name. Objects, that do not belong to the same cluster will not get any errors. The cancel indicator may be used to interrupt the validation.