Changeset 2996 in josm for trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverModel.java
- Timestamp:
- 16.02.2010 09:30:28 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverModel.java
r2990 r2996 182 182 } 183 183 184 //TODO Should this method work with all decisions or only with displayed decisions? For MergeNodes it should be 185 //all decisions, but this method is also used on other places, so I've made new method just for MergeNodes 184 186 public TagCollection getResolution() { 185 187 TagCollection tc = new TagCollection(); 186 188 for (String key: displayedKeys) { 187 189 tc.add(decisions.get(key).getResolution()); 190 } 191 return tc; 192 } 193 194 public TagCollection getAllResolutions() { 195 TagCollection tc = new TagCollection(); 196 for (MultiValueResolutionDecision value: decisions.values()) { 197 tc.add(value.getResolution()); 188 198 } 189 199 return tc;
Note: See TracChangeset
for help on using the changeset viewer.
