Class ValidationProvider.ContextSensitive

    • Constructor Summary

      Constructors 
      Constructor Description
      ContextSensitive()
      Initializes me.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.eclipse.emf.common.util.Diagnostic> validate​(org.eclipse.emf.ecore.EObject eObject)
      Un-implements the inherited method.
      abstract java.lang.Iterable<? extends org.eclipse.emf.common.util.Diagnostic> validate​(ViewModelContext context, org.eclipse.emf.ecore.EObject object)
      Validate an object in a view model context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContextSensitive

        public ContextSensitive()
        Initializes me.
    • Method Detail

      • validate

        public final java.util.List<org.eclipse.emf.common.util.Diagnostic> validate​(org.eclipse.emf.ecore.EObject eObject)
        Un-implements the inherited method.
        Specified by:
        validate in interface Validator
        Parameters:
        eObject - the EObject to validate
        Returns:
        the List of additional Diagnostics for the EObject
        Throws:
        java.lang.UnsupportedOperationException - always
      • validate

        public abstract java.lang.Iterable<? extends org.eclipse.emf.common.util.Diagnostic> validate​(ViewModelContext context,
                                                                                                      org.eclipse.emf.ecore.EObject object)
        Description copied from interface: ValidationProvider
        Validate an object in a view model context.
        Specified by:
        validate in interface ValidationProvider
        Parameters:
        context - the view model context in which validation is occurring
        object - the object to validate
        Returns:
        the results of validation of the object, or null if none