1 /******************************************************************************* 2 * Copyright (c) 2000, 2005 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.compare; 12 13 /** 14 * An <code>IContentChangeListener</code> is informed about content changes of a 15 * <code>IContentChangeNotifier</code>. 16 * <p> 17 * Clients may implement this interface. 18 * </p> 19 * 20 * @see IContentChangeNotifier 21 */ 22 public interface IContentChangeListener { 23 24 /** 25 * Called whenever the content of the given source has changed. 26 * 27 * @param source the source whose contents has changed 28 */ 29 void contentChanged(IContentChangeNotifier source); 30 } 31