/**
  * Defines that the field shall notify value changes
  *
  * @param eventBus the event bus that will be used to fire the value change events
  */
 public void notifyChanges(final EventBus eventBus) {
   if (eventBus != null) {
     singleRelationBox.addValueChangeHandler(
         new ValueChangeHandler<String>() {
           @Override
           public void onValueChange(ValueChangeEvent<String> arg0) {
             eventBus.fireEvent(new FieldValueChangeEvent(ImogSingleRelationBox.this));
           }
         });
   }
 }
 /**
  * Get the value selected
  *
  * @return the value selected
  */
 public T getValue() {
   return singleRelationBox.getValue();
 }
 public void setAddClickHandler(ClickHandler handler) {
   singleRelationBox.setAddClickHandler(handler);
 }
 public void setLocked(boolean locked) {
   singleRelationBox.setLocked(locked);
 }
 @Override
 public boolean isEdited() {
   return singleRelationBox.isEdited();
 }
 public void setButtonPanelWidth(String width) {
   singleRelationBox.setButtonPanelWidth(width);
 }
 /** Sets the widget's width */
 public void setBoxWidth(int width) {
   singleRelationBox.setBoxWidth(width);
 }
 public void hideCreateButton() {
   singleRelationBox.hideCreateButton();
 }
 public void hideButtonPanel(boolean hide) {
   singleRelationBox.hideButtonPanel(hide);
 }
 public void hideButtons(boolean hideButtons) {
   singleRelationBox.hideButtons(hideButtons);
 }
 public void setHideCreateButton(boolean hideCreateButton) {
   singleRelationBox.setHideCreateButton(hideCreateButton);
 }
 /** Clear the content of the MedanyListBox TextBox */
 public void clear() {
   singleRelationBox.clear();
 }
 public void setEdited(boolean enabled) {
   singleRelationBox.setEnabled(enabled);
 }
 public void setValue(T value, boolean notifyChange) {
   singleRelationBox.setValue(value, notifyChange);
 }
 /**
  * Sets the listbox selected value
  *
  * @param value the selected value
  */
 public void setValue(T value) {
   singleRelationBox.setValue(value);
 }
 /**
  * Get the display text of the selected value
  *
  * @return the display text of the selected value
  */
 public String getText() {
   return singleRelationBox.getText();
 }