Interface IMessageReceiver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void collect​(IMessage message, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causeFeature, int code)
      Receives an EASy message.
      void error​(java.lang.String message, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causeFeature, int code)
      Receives an error message.
      void warning​(java.lang.String message, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature causeFeature, int code)
      Receives a warning message.
    • Method Detail

      • error

        void error​(java.lang.String message,
                   org.eclipse.emf.ecore.EObject cause,
                   org.eclipse.emf.ecore.EStructuralFeature causeFeature,
                   int code)
        Receives an error message.
        Parameters:
        message - the message
        cause - the cause (as instance of the EMF grammar model)
        causeFeature - the cause of the feature as an appropriate constant from IvmlPackage.Literals
        code - a numerical identification of the error
      • warning

        void warning​(java.lang.String message,
                     org.eclipse.emf.ecore.EObject cause,
                     org.eclipse.emf.ecore.EStructuralFeature causeFeature,
                     int code)
        Receives a warning message.
        Parameters:
        message - the message
        cause - the cause (as instance of the EMF grammar model)
        causeFeature - the cause of the feature as an appropriate constant from IvmlPackage.Literals
        code - a numerical identification of the warning
      • collect

        void collect​(IMessage message,
                     org.eclipse.emf.ecore.EObject cause,
                     org.eclipse.emf.ecore.EStructuralFeature causeFeature,
                     int code)
        Receives an EASy message. This allows re-directing the message while keeping the relation to the original one, e.g., for cleaning up messages.
        Parameters:
        message - the message
        cause - the cause (as instance of the EMF grammar model)
        causeFeature - the cause of the feature as an appropriate constant from IvmlPackage.Literals
        code - a numerical identification of the error