@SuppressWarnings("null")
Entry(Msg msg, final IWidgetRef ref, Integer classifier) {
this.classifier = classifier;
this.sourced = (ref != null && (ref.getWidget() instanceof Focusable));
if(sourced) {
final SimpleHyperLink liw = new SimpleHyperLink(html(msg, ref), true, new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
((Focusable) ref.getWidget()).setFocus(true);
}
});
liw.setTitle(ref.descriptor());
initWidget(liw);
}
else {
// no ref simple error msg
final P p = new P(msg.getMsg());