Name

MessageView

Synopsis

class MessageView : public UiItemSernaApi::UiItem {
public:
  

  // Specifies message facilitity (module of origin). 
  enum MessageFacility { ALL_MSGS =  -1, GROVE_MSGS =  1, FORMATTER_MSGS =  3, VALIDATOR_MSGS =  6, 
                         SERNA_MSGS =  10 };
  // construct/copy/destruct
  MessageView(SernaApiBase *, DocumentPlugin *);
  MessageView(const MessageView &);
  MessageView& operator=(const MessageView &);
  ~MessageView();

  // public member functions

  void emitMessage(const SString &, const GroveNode * = 0) ;
  void clearMessages(int = SERNA_MSGS) ;
  void setRep(SernaApiBase *) ;
};

Description

Interface to the Serna message window

MessageView construct/copy/destruct

  1. MessageView(SernaApiBase * , DocumentPlugin * );


  2. MessageView(const MessageView & );


  3. MessageView& operator=(const MessageView & );


  4. ~MessageView();


MessageView public member functions

  1. void emitMessage(const SString & msg, const GroveNode * context = 0) ;

    Emit message to the Serna message window (at the bottom).


  2. void clearMessages(int facility = SERNA_MSGS) ;


  3. void setRep(SernaApiBase * ) ;