Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 216676 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/emf/databinding/EObjectObservableMap.java (-3 / +3 lines)
Lines 38-51 Link Here
38
    new AdapterImpl()
38
    new AdapterImpl()
39
    {
39
    {
40
      @Override
40
      @Override
41
      public void notifyChanged(Notification msg)
41
      public void notifyChanged(Notification notification)
42
      {
42
      {
43
        if (!msg.isTouch())
43
        if (!notification.isTouch() && eStructuralFeature == notification.getFeature())
44
        {
44
        {
45
          // TODO
45
          // TODO
46
          // This assumes we only get a SET notification, which isn't a good assumption.
46
          // This assumes we only get a SET notification, which isn't a good assumption.
47
          //
47
          //
48
          final MapDiff diff = Diffs.createMapDiffSingleChange(msg.getNotifier(), msg.getOldValue(), msg.getNewValue());
48
          final MapDiff diff = Diffs.createMapDiffSingleChange(notification.getNotifier(), notification.getOldValue(), notification.getNewValue());
49
          getRealm().exec
49
          getRealm().exec
50
            (new Runnable()
50
            (new Runnable()
51
             {
51
             {

Return to bug 216676