Class TeamSubscriberProvider
java.lang.Object
org.eclipse.emf.compare.ide.ui.subscriber.TeamSubscriberProvider
- All Implemented Interfaces:
ISubscriberProvider
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.team.core.subscribers.SubscribergetSubscriber(org.eclipse.compare.ICompareContainer container, org.eclipse.compare.ITypedElement left, org.eclipse.compare.ITypedElement right, org.eclipse.compare.ITypedElement origin, org.eclipse.core.runtime.IProgressMonitor monitor) Returns the subscriber that provides the synchronization between local resources and remote resources based on the given comparison input.
-
Constructor Details
-
TeamSubscriberProvider
public TeamSubscriberProvider()
-
-
Method Details
-
getSubscriber
public org.eclipse.team.core.subscribers.Subscriber getSubscriber(org.eclipse.compare.ICompareContainer container, org.eclipse.compare.ITypedElement left, org.eclipse.compare.ITypedElement right, org.eclipse.compare.ITypedElement origin, org.eclipse.core.runtime.IProgressMonitor monitor) Description copied from interface:ISubscriberProviderReturns the subscriber that provides the synchronization between local resources and remote resources based on the given comparison input.- Specified by:
getSubscriberin interfaceISubscriberProvider- Parameters:
container- The compare container input.left- Left of the compared elements.right- Right of the compared elements.origin- Common ancestor of theleftandrightcompared elements.monitor- Monitor to report progress on.- Returns:
- The subscriber used for the comparison of the container or
nullif no subscriber could be determined.
-