AbstractMenuBuilder probesMenu = menu.addSubMenu("Add probe");
boolean somethingFound = false;
if (getModel() instanceof Probeable) {
Probeable probeable = (Probeable) getModel();
Properties states = probeable.listStates();
// Enumeration e = states.elements();
Iterator<?> it = states.entrySet().iterator();
while (it.hasNext()) {