Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Eclipse Platform
Release 3.5


Application programming interfaces for generating and refreshing synchronization state.


Interface Summary
ISubscriberChangeEvent A change event that describes a change in a resource that is or was supervised by a subscriber.
ISubscriberChangeListener A subscriber change listener is notified of changes to resources regarding their subscriber synchronization state.

Class Summary
Subscriber A Subscriber provides synchronization between local resources and a remote location that is used to share those resources.
SubscriberChangeEvent A concrete implementation of ISubscriberChangeEvent that can be used by clients.
SubscriberMergeContext A merge context that uses a subscriber to populate the diff tree used by the context.
SubscriberResourceMappingContext A resource mapping context that provides the client access to the remote state of local resources using a subscriber.
SubscriberScopeManager A ISynchronizationScopeManager that uses a Subscriber to provide a RemoteResourceMappingContext and to notify participants when the remote state of resources change.

Package Description

Application programming interfaces for generating and refreshing synchronization state.

Package Specification

This package specifies the API for Team subscribers. A Subscriber provides access to the synchronization state between the local workspace resources and a set of variants of those resources, whether it be a code repository or some other type of server (e.g. FTP). A subscriber is typically associated with only a subset of the resources in the local workspace, referred to as the set of resources the subscriber supervises. The supervised local resources have a corresponding variant state which describes the state of the remote resources that correspond to the local resources.

A Subscriber provides:

  • a set of root resources that define the subset of resources in the workspace that the subscriber supervises (some children of the roots may not be supervised, as indicated by the isSupervised method).
  • access to the synchronization state (using SyncInfo) between the resources it supervises and their corresponding variant resources.
  • the ability to refresh the the remote state
  • change notification to registered listeners (of type ISubscriberChangeListener) when the variant state changes or when roots are added or removed.

Implementing a Subscriber

An implementation of a subscriber must provide:

  • a subclass of Subcriber which maintains the synchronization state between its local resources and their corresponding variants.
  • an implemenation of which provides access to the contents and other state of a variant resource that corresponds to a local resource
  • an implementation of which is used by to determine the synchronization state of a resource.
Optionally, a subscriber may provide a subclass of in order to customize the algorithm used to determine the synchronization state of a resource.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire