示例#1
0
 /** Return the list of projects that are out-of-sync */
 public IResource[] getOutOfSyncProjects(
     IProject[] projects, CVSTag[] tags, IProgressMonitor monitor) throws TeamException {
   CompareParticipant participant = (CompareParticipant) input.getParticipant();
   CVSCompareSubscriber subscriber = (CVSCompareSubscriber) participant.getSubscriber();
   subscriber.resetRoots(projects, tags);
   try {
     subscriber.primeRemoteTree();
   } catch (CVSException e) {
     // Log and ignore
     RelEngPlugin.log(e);
   }
   participant.refreshNow(projects, "", monitor);
   IResource[] r = participant.getSyncInfoSet().members(ResourcesPlugin.getWorkspace().getRoot());
   syncInfoSet = participant.getSyncInfoSet();
   return r;
 }
示例#2
0
 /* (non-Javadoc)
  * @see org.eclipse.jface.dialogs.IDialogPage#dispose()
  */
 public void dispose() {
   super.dispose();
   input.getParticipant().dispose();
   input.dispose();
 }