logger.warn(e.getMessage(), e);
}
if (getView() != null) {
ExtensionLoader extLoader = Control.getSingleton().getExtensionLoader();
ExtensionHookView hookView = extensionHook.getHookView();
ExtensionHookMenu hookMenu = extensionHook.getHookMenu();
// setup WebSocket tab
WebSocketPanel wsPanel = getWebSocketPanel();
wsPanel.setDisplayPanel(getView().getRequestPanel(), getView().getResponsePanel());
extensionHook.addSessionListener(wsPanel.getSessionListener());
addAllChannelObserver(wsPanel);
ExtensionHelp.enableHelpKey(wsPanel, "websocket.tab");
hookView.addStatusPanel(getWebSocketPanel());
// setup Options Panel
hookView.addOptionPanel(getOptionsPanel());
// add 'Exclude from WebSockets' menu item to WebSocket tab context menu
hookMenu.addPopupMenuItem(new ExcludeFromWebSocketsMenuItem(this, storage.getTable()));
// setup Session Properties