Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4c16fa397ac5c6305b410b4dafd5ebdb9951ab56 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*******************************************************************************
 * Copyright (c) 2000, 2006 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.team.core.diff;

import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;

/**
 * Diff change listener that reports changes in an {@link IDiffTree}.
 * Clients may implement this interface.
 *
 * @see IDiffTree
 *
 * @since 3.2
 */
public interface IDiffChangeListener {

	/**
	 * The diff contained in the originating tree has changed.
	 * @param event the change event
	 * @param monitor a progress monitor
	 */
	void diffsChanged(IDiffChangeEvent event, IProgressMonitor monitor);

	/**
	 * The given property has changed for the given paths.
	 * @param tree the tree for which the property changed
	 * @param property the property
	 * @param paths the paths
	 */
	void propertyChanged(IDiffTree tree, int property, IPath[] paths);

}

Back to the top