*/
Node node = nodeAttachedTo.getModel();
Probe probe;
try {
if (nodeAttachedTo.getParentViewer() instanceof EnsembleViewer) {
EnsembleViewer ensembleViewer = (EnsembleViewer) nodeAttachedTo.getParentViewer();
UIEnsemble ensemble = ensembleViewer.getViewerParent();
Network network = ensemble.getNetworkParent().getModel();
probe = network.getSimulator().addProbe(ensemble.getName(),
(Probeable) node,
state,