public abstract class ThreeWayRemoteTree extends ResourceVariantTree
ThreeWaySubscriber| Constructor and Description |
|---|
ThreeWayRemoteTree(ThreeWaySubscriber subscriber)
Create a remote resource variant tree that stores and obtains
it's bytes from the remote slot of the synchronizer of the
given subscriber
|
| Modifier and Type | Method and Description |
|---|---|
protected IResource[] |
collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor)
Collect the changes in the remote tree to the specified depth.
|
IResourceVariant |
getResourceVariant(IResource resource)
Return the resource variant corresponding to the local resource.
|
protected ThreeWaySubscriber |
getSubscriber()
Return the subscriber associated with this resource variant tree.
|
IResource[] |
roots()
Returns the list of root resources for which this tree may have resource
variants.
|
flushVariants, getBytes, getByteStore, hasResourceVariant, members, setVariantcollectedMembers, fetchMembers, fetchVariant, refresh, refreshpublic ThreeWayRemoteTree(ThreeWaySubscriber subscriber)
subscriber - a three-way subscriberpublic IResource[] roots()
IResourceVariantTreepublic IResourceVariant getResourceVariant(IResource resource) throws TeamException
IResourceVariantTreenull if there is no variant for the resource.resource - the local resourceTeamExceptionprotected ThreeWaySubscriber getSubscriber()
protected IResource[] collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) throws TeamException
AbstractResourceVariantTreecollectChanges in class ResourceVariantTreelocal - the local resource being refreshedremote - the corresponding resource variantdepth - the depth of the refresh (one of IResource.DEPTH_ZERO,
IResource.DEPTH_ONE, or IResource.DEPTH_INFINITE)monitor - a progress monitorTeamExceptionGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.