Commit 18e66cb4 authored by Florian's avatar Florian

added tree item count to tab title

parent a16742f9
......@@ -117,8 +117,19 @@ public class AnalysisTreeView extends AbstractJFaceView {
viewerList.get(OPCALLTAB).setInput(DataProvider.getOperationCalls());
viewerList.get(AGGROPCALLTAB).setInput(DataProvider.getAggreagtedOperationCalls());
viewerList.get(MONITORINGSTATSTAB).setInput(DataProvider.getMonitoringStats());
setTabTitles();
packCols();
}
private void setTabTitles(){
TabItem tab = tabList.get(0);
tab.setText(Messages.AnalysisTreeView_Traces + " (" +DataProvider.getTraces().size() +")");
tab = tabList.get(1);
tab.setText(Messages.AnalysisTreeView_Traces + " (" +DataProvider.getAggregatedTraces().size() +")");
tab = tabList.get(2);
tab.setText(Messages.AnalysisTreeView_Traces + " (" +DataProvider.getOperationCalls().size() +")");
tab = tabList.get(3);
tab.setText(Messages.AnalysisTreeView_Traces + " (" +DataProvider.getAggreagtedOperationCalls().size() +")");
}
private void packCols() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment