1 11 package org.eclipse.team.internal.core.subscribers; 12 13 import org.eclipse.core.runtime.IProgressMonitor; 14 import org.eclipse.team.core.ITeamStatus; 15 import org.eclipse.team.core.TeamException; 16 import org.eclipse.team.core.subscribers.Subscriber; 17 18 22 public class SyncSetInputFromSubscriber extends SyncSetInput { 23 24 private Subscriber subscriber; 25 26 public SyncSetInputFromSubscriber(Subscriber subscriber, SubscriberEventHandler handler) { 27 super(handler); 28 this.subscriber = subscriber; 29 } 30 31 public void disconnect() { 32 } 33 34 public Subscriber getSubscriber() { 35 return subscriber; 36 } 37 38 41 protected void fetchInput(IProgressMonitor monitor) throws TeamException { 42 } 46 47 54 public void handleError(ITeamStatus status) { 55 getSyncSet().addError(status); 56 } 57 } 58 | Popular Tags |