示例#1
0
 @Override
 public void handleUiEvent(JsonEvent event) {
   if (EVENT_DO_ACTION.equals(event.getType())) {
     handleUiDoAction(event);
   } else if (IAction.PROP_SELECTED.equals(event.getType())) {
     handleUiSelected(event);
   }
 }
示例#2
0
 protected void handleUiSelected(JsonEvent event) {
   boolean selected = event.getData().getBoolean(IAction.PROP_SELECTED);
   addPropertyEventFilterCondition(IAction.PROP_SELECTED, selected);
   getModel().getUIFacade().setSelectedFromUI(selected);
 }