plot = topHitsPlot;
String tabName = model.getRangeType() + " vs "
+ model.getDomainType();
namedComponents.add(new NamedComponent(tabName, plot));
plotPanes.add(plot);
}
// Add data table view.
dataTablePane = new PeriodAnalysisDataTablePane(dataTableModel,
algorithm);
namedComponents.add(new NamedComponent(LocaleProps.get("DATA_TAB"),
dataTablePane));
// Add top-hits table view.
topHitsTablePane = new PeriodAnalysisTopHitsTablePane(
topHitsTableModel, dataTableModel, algorithm);
namedComponents.add(new NamedComponent(LocaleProps.get("TOP_HITS_TAB"),
topHitsTablePane));
return PluginComponentFactory.createTabs(namedComponents);
}