Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon McDuff2008-06-13 22:35:38 +0000
committerSimon McDuff2008-06-13 22:35:38 +0000
commitfa7f59ae7714679c37931ac4346d04d644cb9872 (patch)
tree92d86eb173639eea88a3fd8cc1ae8f0ce1d858be
parent91c641788008e7f7a9134af22abab5abafea26ba (diff)
downloadcdo-fa7f59ae7714679c37931ac4346d04d644cb9872.tar.gz
cdo-fa7f59ae7714679c37931ac4346d04d644cb9872.tar.xz
cdo-fa7f59ae7714679c37931ac4346d04d644cb9872.zip
233490: Change Subscription
https://bugs.eclipse.org/bugs/show_bug.cgi?id=233490
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDONotification.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDONotification.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDONotification.java
index d88f6cd894..acde182f77 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDONotification.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/CDONotification.java
@@ -19,8 +19,19 @@ import org.eclipse.emf.common.notify.Notification;
*/
public interface CDONotification extends Notification
{
+ /**
+ * Notification often have a list of notification (NotificationChain).
+ * It informs the adapter if another another notification will be sent.
+ * <p>
+ * You don`t want to refresh the UI for every Notifications.
+ * The same object could receives many notifications at the same time. To know when to perform your
+ * update you could use that value. It will be the last notification when it will return false.
+ */
boolean hasNext();
+ /**
+ * Return the {@link CDORevisionDelta} associate to this Notification.
+ */
public CDORevisionDelta getRevisionDelta();
}

Back to the top