/**
* This method will create the configuration tab tree
*
* @param dataStore
* - the RLCDataStore that was used to collect all the data for
* the RLCs processed
* @param configurationDataStore
* - the ConfigurationDataStore that was used to collect all the
* data for the RLCs processed
* @return JScrollPane
*/
public JScrollPane createConfigurationResultsTree(final RLCDataStore dataStore,
final ConfigurationDataStore configurationDataStore) {
final DefaultMutableTreeNode top = new DefaultMutableTreeNode("root");
final ConfigurationAnalyser configurationAnalyser = new ConfigurationAnalyser(configurationDataStore);
// Populate with config tab results
final DefaultMutableTreeNode commPointAnalysis = new DefaultMutableTreeNode("Communication Points");
for (final String type : configurationAnalyser.getAllCommunicationPointTypes()) {
final List<ModifiedPropertyCountData> properties = configurationAnalyser
.getModifiedCommunicationPointPropertyCounts(type, -1);
addResultTreeNode(commPointAnalysis, "" + type + " configuration", properties);
}
top.add(commPointAnalysis);
return new JScrollPane(manipulateJTree(top));
}
RLCTreeBuilder.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:rlc-analyser
作者:
评论列表
文章目录