Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 87949 Details for
Bug 216676
[EMF-Databinding] EObjectObservableMap improperly handles changes when more than one EStructuralFeature is Mapped
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Compare against the actual feature instance
216676.patch (text/plain), 1.37 KB, created by
Ed Merks
on 2008-01-26 15:53:20 EST
(
hide
)
Description:
Compare against the actual feature instance
Filename:
MIME Type:
Creator:
Ed Merks
Created:
2008-01-26 15:53:20 EST
Size:
1.37 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.emf.databinding >Index: src/org/eclipse/emf/databinding/EObjectObservableMap.java >=================================================================== >RCS file: /cvsroot/modeling/org.eclipse.emf/org.eclipse.emf/plugins/org.eclipse.emf.databinding/src/org/eclipse/emf/databinding/EObjectObservableMap.java,v >retrieving revision 1.2 >diff -u -r1.2 EObjectObservableMap.java >--- src/org/eclipse/emf/databinding/EObjectObservableMap.java 25 Jan 2008 18:02:22 -0000 1.2 >+++ src/org/eclipse/emf/databinding/EObjectObservableMap.java 26 Jan 2008 20:48:56 -0000 >@@ -38,14 +38,14 @@ > 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() > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 216676
:
87947
| 87949