// setup Session Properties
sessionExcludePanel = new SessionExcludeFromWebSocket(this);
getView().getSessionDialog().addParamPanel(new String[]{}, sessionExcludePanel, false);
// setup Breakpoints
ExtensionBreak extBreak = (ExtensionBreak) extLoader.getExtension(ExtensionBreak.NAME);
if (extBreak != null) {
// setup custom breakpoint handler
BreakpointMessageHandler wsBrkMessageHandler = new WebSocketBreakpointMessageHandler(extBreak.getBreakPanel(), config);
wsBrkMessageHandler.setEnabledBreakpoints(extBreak.getBreakpointsEnabledList());
// listen on new messages such that breakpoints can apply
addAllChannelObserver(new WebSocketProxyListenerBreak(this, wsBrkMessageHandler));
// pop up to add the breakpoint
hookMenu.addPopupMenuItem(new PopupMenuAddBreakWebSocket(extBreak));
extBreak.addBreakpointsUiManager(getBrkManager());
}
// setup replace payload filter
wsFilterListener = new WebSocketFilterListener();
addAllChannelObserver(wsFilterListener);