private void setupSettingsPanel() { SplitLayoutPanel root = (SplitLayoutPanel) widget; root.setWidgetToggleDisplayAllowed(settingsPanel, true); testsMetricsPanel.showWidget(0); sessionPlotPanel = new SessionPlotPanel(plotPanel); sessionScopePlotList.add(sessionPlotPanel); }
private void onMetricsTabSelected() { testsMetricsPanel.showWidget(1); mainTabPanel.forceLayout(); for (String plotId : chosenPlots.keySet()) { if (plotPanel.getElementById(plotId) == null) { renderPlots(plotPanel, chosenPlots.get(plotId), plotId); scrollPanelMetrics.scrollToBottom(); } } }
private void onTrendsTabSelected() { testsMetricsPanel.showWidget(0); mainTabPanel.forceLayout(); if (!chosenMetrics.isEmpty() && hasChanged) { plotTrendsPanel.clear(); for (Map.Entry<String, MetricDto> entry : chosenMetrics.entrySet()) { renderPlots( plotTrendsPanel, Arrays.asList(entry.getValue().getPlotSeriesDto()), entry.getKey(), entry.getValue().getPlotSeriesDto().getYAxisMin(), true); } scrollPanelTrends.scrollToBottom(); hasChanged = false; } }
private void onSummaryTabSelected() { mainTabPanel.forceLayout(); testsMetricsPanel.showWidget(0); // to make columns fit 100% width if grid created not on Summary Tab summaryPanel.getSessionComparisonPanel().refresh(); }