KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > team > core > diff > IDiffChangeListener


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
3  * All rights reserved. This program and the accompanying materials
4  * are made available under the terms of the Eclipse Public License v1.0
5  * which accompanies this distribution, and is available at
6  * http://www.eclipse.org/legal/epl-v10.html
7  *
8  * Contributors:
9  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.team.core.diff;
12
13 import org.eclipse.core.runtime.IPath;
14 import org.eclipse.core.runtime.IProgressMonitor;
15
16 /**
17  * Diff change listener that reports changes in an {@link IDiffTree}.
18  * Clients may implement this interface.
19  *
20  * @see IDiffTree
21  *
22  * @since 3.2
23  */

24 public interface IDiffChangeListener {
25
26     /**
27      * The diff contained in the originating tree has changed.
28      * @param event the change event
29      * @param monitor a progress monitor
30      */

31     void diffsChanged(IDiffChangeEvent event, IProgressMonitor monitor);
32     
33     /**
34      * The given property has changed for the given paths.
35      * @param tree the tree for which the property changed
36      * @param property the property
37      * @param paths the paths
38      */

39     void propertyChanged(IDiffTree tree, int property, IPath[] paths);
40
41 }
42
Popular Tags