Interface IMessageVisitor

All Known Implementing Classes:
MessageVisitor, MessageVisitor, ReportingMessageVisitor

public interface IMessageVisitor
This interface is used during initialization to add messages to the meta model.
Since:
5.0
Author:
O. Kerpershoek
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This method can be used to add a message to the model.
  • Method Details

    • addMessage

      void addMessage(String key, IMultilingualText message)
      This method can be used to add a message to the model. The message object that is passed to this method must return a valid message id. The id's of the messages are unique, and thus only one message may be added for each id.
      Parameters:
      key - The unique key that identifies the message.
      message - The message that should be added to the meta-model.
      Throws:
      InitializationException - This exception is thrown when the message could not be initialized with the provided data.