view.setMode(PrimitiveDataEditorView.Mode.SINGLE_LINE);
view.setSuggestOracle(entitySuggestOracle);
view.addSelectionHandler(new SelectionHandler<EntitySuggestion>() {
@Override
public void onSelection(SelectionEvent<EntitySuggestion> event) {
EntitySuggestion suggestion = event.getSelectedItem();
selectedSuggestion = Optional.of(suggestion);
setCurrentData(Optional.<OWLPrimitiveData>of(suggestion.getEntity()), EventStrategy.FIRE_EVENTS);
}
});
view.addValueChangeHandler(new ValueChangeHandler<String>() {
@Override
public void onValueChange(ValueChangeEvent<String> event) {