protected JComponent createStatisticsPanel() { // Statistics tab final StatisticsPanel statisticsPane = new StatisticsPanel(myProject, this); // handler to select in results viewer by statistics pane events statisticsPane.addPropagateSelectionListener(createSelectMeListener()); // handler to select test statistics pane by result viewer events setShowStatisticForProxyHandler(statisticsPane.createSelectMeListener()); myStatisticsPane = statisticsPane; return myStatisticsPane.getContentPane(); }
public void dispose() { super.dispose(); myShowStatisticForProxyHandler = null; myEventListeners.clear(); myStatisticsPane.doDispose(); }