if(!selectionJs.isEmpty())
{
selectionHandlerRegistration = addSelectionHandler(new SelectionHandler<Suggestion>() {
@Override
public void onSelection(SelectionEvent<Suggestion> event) {
Suggestion suggestion = event.getSelectedItem();
Map<String, String> map = new HashMap<String, String>();
map.put("displayString", suggestion.getDisplayString());
map.put("replacementString", suggestion.getReplacementString());
VkStateHelper.getInstance().getEventHelper().executeEvent(selectionJs, map);
}
});
}
}