case 5:
if (st instanceof SmdiTarget)
if (((SmdiTarget) st).isCoupled())
try {
String prefix;
ZExternalDevice d = Zoeos.getInstance().getDeviceManager().getDeviceMatchingIdentityMessageString(((SmdiTarget) st).getCouplingString());
if (d != null)
prefix = d.getName() + " ";
else
prefix = DeviceNames.getNameForDevice(((SmdiTarget) st).getCouplingString(), "") + " "; // getCouplingString() should be toString() of identity message, so this alternative procedure may work
return prefix + "[" + ((SmdiTarget) st).getCouplingString() + " ]";
} catch (SmdiTargetNotCoupledException e) {