Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.text/src/org/eclipse/jface/text/IDocumentPartitioningListener.java')
-rw-r--r--org.eclipse.text/src/org/eclipse/jface/text/IDocumentPartitioningListener.java27
1 files changed, 27 insertions, 0 deletions
diff --git a/org.eclipse.text/src/org/eclipse/jface/text/IDocumentPartitioningListener.java b/org.eclipse.text/src/org/eclipse/jface/text/IDocumentPartitioningListener.java
new file mode 100644
index 00000000000..59e2cbabc7a
--- /dev/null
+++ b/org.eclipse.text/src/org/eclipse/jface/text/IDocumentPartitioningListener.java
@@ -0,0 +1,27 @@
+package org.eclipse.jface.text;
+
+/*
+ * (c) Copyright IBM Corp. 2000, 2001.
+ * All Rights Reserved.
+ */
+
+
+/**
+ * Interface of objects which are interested in getting informed
+ * about changes of a document's partitioning. Clients may
+ * implement this interface.
+ *
+ * @see IDocument
+ * @see IDocumentPartitioner
+ */
+public interface IDocumentPartitioningListener {
+
+ /**
+ * The partitioning of the given document changed.
+ *
+ * @param document the document whose partitioning changed
+ *
+ * @see IDocument#addDocumentPartitioningListener
+ */
+ void documentPartitioningChanged(IDocument document);
+}

Back to the top