Class MessageHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.eclipse.emf.ecore.EObject cause  
      private org.eclipse.emf.ecore.EStructuralFeature feature  
      private MessageReceiver receiver  
    • Constructor Summary

      Constructors 
      Constructor Description
      MessageHandler​(MessageReceiver receiver, org.eclipse.emf.ecore.EObject cause, org.eclipse.emf.ecore.EStructuralFeature feature)
      Creates the message handler.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(java.lang.String message, boolean error, int code)
      Handle the given message.
      • Methods inherited from class java.lang.Object

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

      • cause

        private org.eclipse.emf.ecore.EObject cause
      • feature

        private org.eclipse.emf.ecore.EStructuralFeature feature
    • Constructor Detail

      • MessageHandler

        public MessageHandler​(MessageReceiver receiver,
                              org.eclipse.emf.ecore.EObject cause,
                              org.eclipse.emf.ecore.EStructuralFeature feature)
        Creates the message handler.
        Parameters:
        receiver - the message receiver
        cause - the causing grammar object
        feature - the causing grammar feature
    • Method Detail

      • handle

        public void handle​(java.lang.String message,
                           boolean error,
                           int code)
        Description copied from interface: IMessageHandler
        Handle the given message.
        Specified by:
        handle in interface IMessageHandler
        Parameters:
        message - the message
        error - error or warning
        code - the message code