Community
Participate
Working Groups
new AdapterImpl()
{
@Override
public void notifyChanged(Notification msg)
public void notifyChanged(Notification notification)
if (!msg.isTouch())
if (!notification.isTouch() && eStructuralFeature == notification.getFeature())
// TODO
// This assumes we only get a SET notification, which isn't a good assumption.
//
final MapDiff diff = Diffs.createMapDiffSingleChange(msg.getNotifier(), msg.getOldValue(), msg.getNewValue());
final MapDiff diff = Diffs.createMapDiffSingleChange(notification.getNotifier(), notification.getOldValue(), notification.getNewValue());
getRealm().exec
(new Runnable()