PEPeer peer = (PEPeer)cell.getDataSource();
int value = (peer == null) ? -1 : peer.getMessagingMode();
if (!cell.setSortValue(value) && cell.isValid())
return;
String text;
switch (value) {
case PEPeer.MESSAGING_BT_ONLY:
text = "";
break;
case PEPeer.MESSAGING_LTEP:
text = "LT";
break;
case PEPeer.MESSAGING_AZMP:
text = "AZ";
break;
case PEPeer.MESSAGING_EXTERN:
text = "Plugin";
break;
default:
text = "";
break;
}
cell.setText(text);