Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Redor2016-09-26 13:19:37 +0000
committerLaurent Redor2016-09-26 13:19:37 +0000
commitd8dc18acae0a1bdc8f3585841afe8a801303243a (patch)
tree37894c54f3865009710586a25a548b7177bdb159
parent37f0430764ac61320de73d5e5e8d5860beb4f21b (diff)
downloadorg.eclipse.sirius-d8dc18acae0a1bdc8f3585841afe8a801303243a.tar.gz
org.eclipse.sirius-d8dc18acae0a1bdc8f3585841afe8a801303243a.tar.xz
org.eclipse.sirius-d8dc18acae0a1bdc8f3585841afe8a801303243a.zip
[502075] Fix previous commit
Problem about the negation of isTransientNotification Bug: 502075 Change-Id: I52dea8a7a4c6ab46cf55abaf3bf43470e900ce15 Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
-rw-r--r--plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/dialect/DiagramDialectServices.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/dialect/DiagramDialectServices.java b/plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/dialect/DiagramDialectServices.java
index 53dbc000ea..d376d30253 100644
--- a/plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/dialect/DiagramDialectServices.java
+++ b/plugins/org.eclipse.sirius.diagram/src-core/org/eclipse/sirius/diagram/business/internal/dialect/DiagramDialectServices.java
@@ -597,7 +597,7 @@ public class DiagramDialectServices extends AbstractRepresentationDialectService
public boolean apply(Notification notification) {
boolean isRemoveNotif = notification.getEventType() == Notification.REMOVE || notification.getEventType() == Notification.REMOVE_MANY;
// Ignore transient feature
- return isRemoveNotif && new NotificationQuery(notification).isTransientNotification();
+ return isRemoveNotif && !(new NotificationQuery(notification).isTransientNotification());
}
});
// Get the list of notifiers that have been changed

Back to the top