comp.setAttribute("controller", this);
notificator = Notificator.create(notificationMessage);
}
public void selectSnippet(SelectEvent event) {
SnippetCode snippetCode = snippetCodeModel.getSnippetCode();
List<Listitem> items = new ArrayList(event.getSelectedItems());
if (!items.isEmpty()) {
Listitem item = items.get(0);
snippetCode.setSnippet((Snippet) item.getValue());
}
}