Class SubscriberStorageAccessor

java.lang.Object
org.eclipse.emf.compare.ide.ui.internal.logical.SubscriberStorageAccessor
All Implemented Interfaces:
IStorageProviderAccessor

public final class SubscriberStorageAccessor
extends java.lang.Object
implements IStorageProviderAccessor
This is used by our synchronization model to access the innards of Team's Subscribers.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.emf.compare.ide.ui.logical.IStorageProviderAccessor

    IStorageProviderAccessor.DiffSide
  • Constructor Summary

    Constructors 
    Constructor Description
    SubscriberStorageAccessor​(org.eclipse.team.core.subscribers.Subscriber subscriber)
    Wraps the given subscriber within this accessor.
  • Method Summary

    Modifier and Type Method Description
    org.eclipse.core.resources.IFile getFileAfterRename​(org.eclipse.core.resources.IFile originFile, IStorageProviderAccessor.DiffSide side)
    Given an origin file, this method optionally returns the corresponding IFile after it has been renamed on the respective side, if it has been renamed at all.
    org.eclipse.core.resources.IFile getFileBeforeRename​(org.eclipse.core.resources.IFile sourceOrRemoteFile, IStorageProviderAccessor.DiffSide side)
    Given a source or remote file, this method optionally returns the corresponding IFile before it has been renamed on the respective side, if it has been renamed at all.
    IStorageProvider getStorageProvider​(org.eclipse.core.resources.IResource resource, IStorageProviderAccessor.DiffSide side)
    This will be called by the URI Converter to get the content associated with the given local resource (which might not exist locally).
    boolean isInSync​(org.eclipse.core.resources.IResource resource)
    Checks whether the given resource is considered "in sync".

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait