//getView().getSerpContainer().add(r.getLink());
HorizontalPanel panel = new HorizontalPanel();
Label authorLabel = new Label("Author: ");
Label paperLabel = new Label("Paper: ");
if (r instanceof Paper){
Paper p = (Paper)r;
panel.add(paperLabel);
panel.add(p.getAuthorLink());
getView().addResultElement(panel);
}else if (r instanceof Author){
Author a = (Author)r;
panel.add(authorLabel);
panel.add(a.getAuthorLink());