Пример #1
0
 /**
  * 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));
           }
         });
   }
 }