Method: Buby::MessageEditorTab#setMessage

Defined in:
lib/buby/message_editor_tab.rb

#setMessage(content, isRequest) ⇒ Object

Deprecated.

This will become a raw version/proxied version pair like ContextMenuFactory#createMenuItems in 2.0.

The hosting editor will invoke this method to display a new message or to clear the existing message. This method will only be called with a new message if the tab has already returned true to a call to #isEnabled with the same message details.

Parameters:

  • content (Array<byte>)

    The message that is to be displayed, or nil if the tab should clear its contents and disable any editable controls.

  • isRequest (Boolean)

    Indicates whether the message is a request or a response.

Raises:

  • (NotImplementedError)


80
# File 'lib/buby/message_editor_tab.rb', line 80

def setMessage(content, isRequest); raise NotImplementedError; end