Package org.eclipse.team.internal.ecf.core.variants

Examples of org.eclipse.team.internal.ecf.core.variants.RemoteResourceVariantTreeSubscriber


      MessageDialog.openInformation(HandlerUtil.getActiveShell(event), null, Messages.CompareWithHandler_FileNotSelectedError);
      return null;
    }

    RemoteShare share = TeamSynchronization.getShare(container.getID());
    final RemoteResourceVariantTreeSubscriber subscriber = new RemoteResourceVariantTreeSubscriber(share, localId, remoteId);

    Job job = new Job(Messages.CompareWithHandler_ResourceComparisonJobTitle) {
      protected IStatus run(IProgressMonitor monitor) {
        try {
          openCompareEditor(subscriber.getSyncInfo(resource, monitor), remoteUser);
          return Status.OK_STATUS;
        } catch (TeamException e) {
          return e.getStatus();
        }
      }
View Full Code Here


import org.eclipse.team.ui.synchronize.*;

public class RemoteSubscriberParticipant extends SubscriberParticipant {

  public RemoteSubscriberParticipant(RemoteShare share, ID ownId, ID remoteId) {
    setSubscriber(new RemoteResourceVariantTreeSubscriber(share, ownId, remoteId));
  }
View Full Code Here

  public RemoteSubscriberParticipant(RemoteShare share, ID ownId, ID remoteId) {
    setSubscriber(new RemoteResourceVariantTreeSubscriber(share, ownId, remoteId));
  }

  public void setResources(IResource[] resources) {
    RemoteResourceVariantTreeSubscriber subscriber = (RemoteResourceVariantTreeSubscriber) getSubscriber();
    subscriber.setResources(resources);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.team.internal.ecf.core.variants.RemoteResourceVariantTreeSubscriber

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.