Example #1
0
 @Override
 public void readData(Display display) {
   handleOperations(display);
   visitWidgets(display);
   DNDSupport.handleOperations();
   RemoteObjectLifeCycleAdapter.readData(ProtocolUtil.getClientMessage());
 }
Example #2
0
 private static void handleOperations(Display display) {
   ClientMessage clientMessage = ProtocolUtil.getClientMessage();
   List<Operation> operations = clientMessage.getAllOperationsFor(getId(display));
   if (!operations.isEmpty()) {
     OperationHandler handler = new DisplayOperationHandler(display);
     for (Operation operation : operations) {
       handleOperation(handler, operation);
     }
   }
 }