if (currentDefinition != null && currentDefinition.getParameters().size() > 0) {
value = currentDefinition.getParameters().get(0).getValue();
}
try {
int actorId = Integer.parseInt(value);
Actor actor = getActorByCode(actorId);
if (actor != null) {
value = actor.name;
selectionText.setForeground(actor.getForeground());
}
} catch (Exception e) {
// ignore for presentation
}
selectionText.setText(value);