Eclipse Platform
Release 3.2

org.eclipse.team.core.diff
Interface IDiffChangeEvent


public interface IDiffChangeEvent

A change event that describes changes that have occurred in an IDiffTree.

This interface is not intended to be implemented by clients.

EXPERIMENTAL. This class or interface has been added as part of a work in progress. There is a guarantee neither that this API will work nor that it will remain the same. Please do not use this API without consulting with the Platform/Team team.

Since:
3.2

Method Summary
 IDiff[] getAdditions()
          Returns the delta nodes that have been added to the delta tree.
 IDiff[] getChanges()
          Return the delta nodes contained in the delta tree that have changed in some way.
 IPath[] getRemovals()
          Return the paths of the delta nodes that have been removed from the delta tree.
 IDiffTree getTree()
          Returns the tree that has been changed.
 

Method Detail

getTree

public IDiffTree getTree()
Returns the tree that has been changed.

Returns:
the tree that has been changed.

getAdditions

public IDiff[] getAdditions()
Returns the delta nodes that have been added to the delta tree.

Returns:
the delta nodes that have been added to the delta tree

getRemovals

public IPath[] getRemovals()
Return the paths of the delta nodes that have been removed from the delta tree.

Returns:
the paths of the delta nodes that have been removed from the delta tree

getChanges

public IDiff[] getChanges()
Return the delta nodes contained in the delta tree that have changed in some way.

Returns:
the delta nodes contained in the delta tree that have changed

Eclipse Platform
Release 3.2

Guidelines for using Eclipse APIs.

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