Changeset 33530 in osm for applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/CreateMultipolygonAction.java
- Timestamp:
- 2017-08-26T02:16:05+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/reltoolbox/src/relcontext/actions/CreateMultipolygonAction.java
r32398 r33530 41 41 import org.openstreetmap.josm.data.osm.RelationMember; 42 42 import org.openstreetmap.josm.data.osm.Way; 43 import org.openstreetmap.josm.gui.MainApplication; 43 44 import org.openstreetmap.josm.tools.GBC; 44 45 import org.openstreetmap.josm.tools.Shortcut; … … 104 105 rels = TheRing.makeManySimpleMultipolygons(ds.getSelectedWays(), commands); 105 106 if (!commands.isEmpty()) { 106 Main .main.undoRedo.add(new SequenceCommand(tr("Create multipolygons from rings"), commands));107 MainApplication.undoRedo.add(new SequenceCommand(tr("Create multipolygons from rings"), commands)); 107 108 } 108 109 } … … 147 148 List<Command> list = removeTagsFromInnerWays(rel); 148 149 if (!list.isEmpty() && isBoundary) { 149 Main .main.undoRedo.add(new SequenceCommand(tr("Move tags from ways to relation"), list));150 MainApplication.undoRedo.add(new SequenceCommand(tr("Move tags from ways to relation"), list)); 150 151 list = new ArrayList<>(); 151 152 } … … 159 160 } 160 161 list.add(new AddCommand(rel)); 161 Main .main.undoRedo.add(new SequenceCommand(tr("Create multipolygon"), list));162 MainApplication.undoRedo.add(new SequenceCommand(tr("Create multipolygon"), list)); 162 163 163 164 if (chRel != null) {
Note:
See TracChangeset
for help on using the changeset viewer.