Examples of TreeNodeInfoImpl


Examples of com.google.collide.dto.client.DtoClientImpls.TreeNodeInfoImpl

  static Mutation makeMutation(Mutation.Type mutatonType, PathUtil oldPath, PathUtil newPath,
      boolean isDirectory, String resourceId) {

    // We make a placeholder for the new node solely to install information
    // about whether or not this is a directory.
    TreeNodeInfoImpl placeHolderNode = TreeNodeInfoImpl.make().setNodeType(
        isDirectory ? TreeNodeInfo.DIR_TYPE
            : TreeNodeInfo.FILE_TYPE).setFileEditSessionKey(resourceId);

    return MutationImpl.make()
        .setMutationType(mutatonType)
View Full Code Here

Examples of com.google.collide.dto.client.DtoClientImpls.TreeNodeInfoImpl

  static Mutation makeMutation(Mutation.Type mutatonType, PathUtil oldPath, PathUtil newPath,
      boolean isDirectory, String resourceId) {

    // We make a placeholder for the new node solely to install information
    // about whether or not this is a directory.
    TreeNodeInfoImpl placeHolderNode = TreeNodeInfoImpl.make().setNodeType(
        isDirectory ? TreeNodeInfo.DIR_TYPE
            : TreeNodeInfo.FILE_TYPE).setFileEditSessionKey(resourceId);

    return MutationImpl.make()
        .setMutationType(mutatonType)
View Full Code Here

Examples of com.google.collide.dto.server.DtoServerImpls.TreeNodeInfoImpl

            removes.add(move.oldNode);
          } else {
            // Completed the move.
            completedMoves.add(move);
            // Update the edit session key to retain identity.
            TreeNodeInfoImpl newNode = (TreeNodeInfoImpl) move.newNode;
            newNode.setFileEditSessionKey(move.oldNode.getFileEditSessionKey());
            resourceIdToNode.put(newNode.getFileEditSessionKey(), move.newNode);
          }
        }
      }
     
      this.drainPendingTreeMutationAcks();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.