Interface WebSocketContextMenuEvent

All Superinterfaces:
ComponentEvent, ToolSource

public interface WebSocketContextMenuEvent extends ComponentEvent, ToolSource
  • Method Details

    • messageEditorWebSocket

      Optional<WebSocketEditorEvent> messageEditorWebSocket()
      This method can be used to retrieve details of the currently selected WebSocket message when the context menu was invoked from an editor.
      Returns:
      an Optional describing the currently selected WebSocket message with selection metadata.
    • selectedWebSocketMessages

      List<WebSocketMessage> selectedWebSocketMessages()
      This method can be used to retrieve details of the currently selected WebSocket messages that are selected by the user when the context menu was invoked. This will return an empty list if the user has not made a selection.
      Returns:
      A list of WebSocket messages that have been selected by the user.