Eclipse Platform v3.1

org.eclipse.team.internal.ccvs.core
Class CVSMergeSyncInfo

java.lang.Object
  extended by org.eclipse.team.core.synchronize.SyncInfo
      extended by org.eclipse.team.internal.ccvs.core.CVSSyncInfo
          extended by org.eclipse.team.internal.ccvs.core.CVSMergeSyncInfo
All Implemented Interfaces:
IAdaptable

public class CVSMergeSyncInfo
extends CVSSyncInfo


Field Summary
 
Fields inherited from class org.eclipse.team.core.synchronize.SyncInfo
ADDITION, AUTOMERGE_CONFLICT, CHANGE, CHANGE_MASK, CONFLICTING, DELETION, DIRECTION_MASK, IN_SYNC, INCOMING, MANUAL_CONFLICT, OUTGOING, PSEUDO_CONFLICT
 
Constructor Summary
CVSMergeSyncInfo(IResource local, IResourceVariant base, IResourceVariant remote, Subscriber subscriber)
           
 
Method Summary
protected  int calculateKind()
          Method that is invoked from the init() method to calculate the sync kind for this instance of SyncInfo.
protected  int handleDeletionConflicts(int kind)
           
 IStatus makeOutgoing(IProgressMonitor monitor)
           
 
Methods inherited from class org.eclipse.team.internal.ccvs.core.CVSSyncInfo
getLocalContentIdentifier, getSubscriber, makeInSync, toString
 
Methods inherited from class org.eclipse.team.core.synchronize.SyncInfo
equals, getAdapter, getBase, getChange, getComparator, getDirection, getKind, getLocal, getRemote, hashCode, init, isInSync, kindToString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CVSMergeSyncInfo

public CVSMergeSyncInfo(IResource local,
                        IResourceVariant base,
                        IResourceVariant remote,
                        Subscriber subscriber)
Method Detail

handleDeletionConflicts

protected int handleDeletionConflicts(int kind)
Overrides:
handleDeletionConflicts in class CVSSyncInfo

calculateKind

protected int calculateKind()
                     throws TeamException
Description copied from class: SyncInfo
Method that is invoked from the init() method to calculate the sync kind for this instance of SyncInfo. The result is assigned to an instance variable and is available using getKind(). Subclasses should not invoke this method but may override it in order to customize the sync kind calculation algorithm.

Overrides:
calculateKind in class CVSSyncInfo
Returns:
the sync kind of this SyncInfo
Throws:
TeamException - if there were problems calculating the sync state.

makeOutgoing

public IStatus makeOutgoing(IProgressMonitor monitor)
                     throws TeamException
Overrides:
makeOutgoing in class CVSSyncInfo
Throws:
TeamException

Eclipse Platform v3.1