Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.compare/compare/org/eclipse/compare/IContentChangeListener.java')
-rw-r--r--bundles/org.eclipse.compare/compare/org/eclipse/compare/IContentChangeListener.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/bundles/org.eclipse.compare/compare/org/eclipse/compare/IContentChangeListener.java b/bundles/org.eclipse.compare/compare/org/eclipse/compare/IContentChangeListener.java
new file mode 100644
index 000000000..656eab5bc
--- /dev/null
+++ b/bundles/org.eclipse.compare/compare/org/eclipse/compare/IContentChangeListener.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.compare;
+
+/**
+ * An <code>IContentChangeListener</code> is informed about content changes of a
+ * <code>IContentChangeNotifier</code>.
+ * <p>
+ * Clients may implement this interface.
+ * </p>
+ *
+ * @see IContentChangeNotifier
+ */
+public interface IContentChangeListener {
+
+ /**
+ * Called whenever the content of the given source has changed.
+ *
+ * @param source the source whose contents has changed
+ */
+ void contentChanged(IContentChangeNotifier source);
+}

Back to the top