Examples of ITwoWayDiff


Examples of org.eclipse.team.core.diff.ITwoWayDiff

   */
  private class GitSyncInfoToDiffConverter extends SyncInfoToDiffConverter {
    @Override
    public IDiff getDeltaFor(SyncInfo info) {
      if (info.getComparator().isThreeWay()) {
        ITwoWayDiff local = getLocalDelta(info);
        ITwoWayDiff remote = getRemoteDelta(info);
        return new ThreeWayDiff(local, remote);
      } else {
        if (info.getKind() != SyncInfo.IN_SYNC) {
          IResourceVariant remote = info.getRemote();
          IResource local = info.getLocal();
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.