Eclipse Platform
Release 3.1

Package org.eclipse.team.core.variants

Application programming interfaces for accessing and managing resource variants.

See:
          Description

Interface Summary
IResourceVariant This interface is used by SyncInfo instances to provide access to the base and remote resources that correspond to a local resource.
IResourceVariantComparator An IResourceVariantComparator is provided by a Subscriber and used by a SyncInfo to calculate the sync state of the workspace resources.
IResourceVariantTree A handle that provides access to locally cached resource variants that represent a resource line-up such as a project version or branch.
ISynchronizerChangeListener Listener that can receive notification from a ThreeWaySynchronizer when the synchronization state of one or more resources has changed.
 

Class Summary
AbstractResourceVariantTree An implementation of IResourceVariantTree that provides the logic for refreshing the tree and collecting the results so they can be cached locally.
CachedResourceVariant A resource variant is a partial implementation of a remote resource whose contents and handle are cached locally.
PersistantResourceVariantByteStore A ResourceVariantByteStore that caches the variant bytes using the org.eclipse.core.resources.ISynchronizer so that the tree is cached across workbench invocations.
ResourceVariantByteStore The purpose of a ResourceVariantByteStore is to support the caching of the synchronization bytes for the resource variants that represent a resource line-up of interest such as a version, baseline or branch.
ResourceVariantTree Provides caching for a AbstractResourceVariantTree using a ResourceVariantByteStore.
ResourceVariantTreeSubscriber A specialization of Subscriber that uses IResourceVariantTree objects to manage the base (for three-way) and remote trees.
SessionResourceVariantByteStore A ResourceVariantByteStore that caches the variant bytes in memory and does not persist them over workbench invocations.
ThreeWayRemoteTree A resource variant tree that caches and obtains its bytes from the remote slot in a three-way synchronizer.
ThreeWayResourceComparator A resource comparator that uses the ThreeWaySynchronizer to compare local resources to their resource variants.
ThreeWaySubscriber A resource variant tree subscriber whose trees use an underlying ThreeWaySycnrhonizer to store and manage the synchronization state for the local workspace.
ThreeWaySynchronizer This class manages the synchronization between local resources and their corresponding resource variants.
 

Package org.eclipse.team.core.variants Description

Application programming interfaces for accessing and managing resource variants.

Package Specification

This package specifies the API for accessing and managing variants for local workspace resources. The classes in this package can be used by Subscribers (see the org.eclipse.team.core.subscribers package) or others. The classes are roughly divided into three categories:

Access to Resource Variants

The following interfaces define the API required for subscribers to access and manage variants of local resources.

Implementing Resource Variants

Several classes are available that provide partial, extandable implementations of the above mentioned interfaces.

Implementing Subscribers

This package also contains two partial subscriber implementations.

 


Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.