protected void updateselection(Object firstSelection) {
if (firstSelection != null) {
nodeStatisticsContainer = null;
if (firstSelection instanceof HasNodeStatisticsContainer) {
HasNodeStatisticsContainer hasNodeStatisticsContainer = (HasNodeStatisticsContainer) firstSelection;
nodeStatisticsContainer = hasNodeStatisticsContainer.getNodeStatisticsContainer();
} else if (firstSelection instanceof NodeStatisticsContainer) {
nodeStatisticsContainer = (NodeStatisticsContainer) firstSelection;
}
} else {
this.selectedNode = null;