Changeset 3582 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2010-10-03T13:45:49+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/tagging/TaggingPreset.java
r3558 r3582 22 22 import java.util.Arrays; 23 23 import java.util.Collection; 24 import java.util.Collections;25 24 import java.util.EnumSet; 26 25 import java.util.HashMap; … … 44 43 45 44 import org.openstreetmap.josm.Main; 46 import org.openstreetmap.josm.command.AddCommand;47 45 import org.openstreetmap.josm.command.ChangePropertyCommand; 48 46 import org.openstreetmap.josm.command.Command; … … 118 116 } 119 117 120 public boolean focus = false;121 118 abstract boolean addToPanel(JPanel p, Collection<OsmPrimitive> sel); 122 119 abstract void addCommands(List<Tag> changedTags); … … 952 949 final Collection<RelationMember> members = new HashSet<RelationMember>(); 953 950 for(Tag t : getChangedTags()) { 954 r.put(t.getKey(), t.getValue());951 r.put(t.getKey(), t.getValue()); 955 952 } 956 953 for(OsmPrimitive osm : sel) { 957 RelationMember rm = new RelationMember("", osm);958 r.addMember(rm);959 members.add(rm);954 RelationMember rm = new RelationMember("", osm); 955 r.addMember(rm); 956 members.add(rm); 960 957 } 961 958 SwingUtilities.invokeLater(new Runnable() {
Note:
See TracChangeset
for help on using the changeset viewer.