UIEnsemble ensembleUI = new UIEnsemble(ensemble);
addUINode(ensembleUI,false,false);
} else if (node instanceof Network) {
Network network = (Network)node;
UINetwork networkUI = new UINetwork(network);
addUINode(networkUI, false, false);
} else {
UserMessages.showError("Unsupported node type " + node.getClass().getSimpleName()
+ " in EnsembleViewer");
}