Name

MessageView

Synopsis

class MessageView (UiItemSernaApi::UiItem) :
  

  # 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
  __init__(SernaApiBase *, DocumentPlugin *)
  __init__(const MessageView &)
  MessageView& operator=(const MessageView &)
  __del__()

  # public member functions

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

Description

Interface to the Serna message window

MessageView construct/copy/destruct

  1. __init__(SernaApiBase * , DocumentPlugin * )


  2. __init__(const MessageView & )


  3. MessageView& operator=(const MessageView & )


  4. __del__()


MessageView public member functions

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

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


  2. None clearMessages(int facility = SERNA_MSGS)


  3. None setRep(SernaApiBase * )