Package com.google.collide.dto.client.DtoClientImpls

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


    timeline = new MockTimeline(new MockFileHistory(context),
      new FileHistory.View(context.getResources()).timelineView, context);
    FileHistoryApi api = new FileHistoryApi(context, null, timeline, null);
    timeline.setApi(api);

    RevisionImpl revision = RevisionImpl.make();
    revision.setNodeId("12345");
    revision.setTimestamp(Long.toString(new Date().getTime()));
    revision.setRevisionType(RevisionType.AUTO_SAVE);
    revision.setHasUnresolvedConflicts(false);
    revision.setIsFinalResolution(false);
    revision.setPreviousNodesSkipped(0);

    // Add 4 fake timeline nodes
    TimelineNode node = new TimelineNode(
      new TimelineNode.View(context.getResources()), 0, revision, timeline);
    timeline.nodes.add(node);
View Full Code Here

TOP

Related Classes of com.google.collide.dto.client.DtoClientImpls.RevisionImpl

Copyright © 2018 www.massapicom. 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.