Examples of SyncInfoSet


Examples of org.eclipse.team.core.synchronize.SyncInfoSet

      return new IResource[0];
    }
    Subscriber subscriber = provider.getSubscriber();
    subscriber.refresh(new IResource[] {project}, IResource.DEPTH_INFINITE, monitor);

    SyncInfoSet sis = new SyncInfoSet();
    subscriber.collectOutOfSync(new IResource[] {project}, IResource.DEPTH_INFINITE, sis, monitor);
    List<IResource> res = new ArrayList<IResource>();
    for (IResource resource : sis.getResources()) {
      if (resource instanceof IFile) {
        IFile file = (IFile) resource;
        if (file.getName().endsWith(".bnd") || file.getName().equals("packageinfo")) {
          continue;
        }
View Full Code Here

Examples of org.eclipse.team.core.synchronize.SyncInfoSet

    }
    return new MultiRule((ISchedulingRule[]) rules.toArray(new ISchedulingRule[rules.size()]));
  }

  public void run(IProgressMonitor monitor) throws InvocationTargetException {
    SyncInfoSet syncInfoSet = getSyncInfoSet();
    SyncInfo[] syncInfos = syncInfoSet.getSyncInfos();

    Set projects = new HashSet();
    for (int i = 0; i < syncInfos.length; i++) {
      projects.add(syncInfos[i].getLocal().getProject());
    }
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.