Changeset 25870 in osm for applications/editors/josm/plugins
- Timestamp:
- 2011-04-19T23:17:01+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 6 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/dumbutils/src/dumbutils/DumbUtilsPlugin.java
r25854 r25870 12 12 JMenuItem replaceGeometry; 13 13 JMenuItem tagBuffer; 14 JMenuItem sourceTag; 15 JMenuItem pasteRelations; 16 JMenuItem alignWayNodes; 14 17 15 18 public DumbUtilsPlugin(PluginInformation info) { … … 18 21 replaceGeometry = MainMenu.add(Main.main.menu.toolsMenu, new ReplaceGeometryAction()); 19 22 tagBuffer = MainMenu.add(Main.main.menu.toolsMenu, new TagBufferAction()); 23 sourceTag = MainMenu.add(Main.main.menu.toolsMenu, new TagSourceAction()); 24 pasteRelations = MainMenu.add(Main.main.menu.toolsMenu, new PasteRelationsAction()); 25 // alignWayNodes = MainMenu.add(Main.main.menu.toolsMenu, new AlignWayNodesAction()); 20 26 } 21 27 … … 25 31 replaceGeometry.setEnabled(enabled); 26 32 tagBuffer.setEnabled(enabled); 33 sourceTag.setEnabled(enabled); 34 pasteRelations.setEnabled(enabled); 35 // alignWayNodes.setEnabled(enabled); 27 36 } 28 37 } -
applications/editors/josm/plugins/dumbutils/src/dumbutils/ReplaceGeometryAction.java
r25862 r25870 102 102 commands.add(new ChangePropertyCommand(way, key, geometry.get(key))); 103 103 104 // And delete odl geometry way 104 // Remove geometry way from selection 105 getCurrentDataSet().clearSelection(geometry); 106 107 // And delete old geometry way 105 108 commands.add(new DeleteCommand(geometry)); 106 109 -
applications/editors/josm/plugins/relcontext/TODO
r25869 r25870 5 5 - "Reverse multipolygon": create a closed area out of outer members, move tags, delete relation and empty ways 6 6 - Fix tags for public_transport relations 7 8 == DumbUtils todo ==9 10 - Paste relations to another object (Main.pasteBuffer.getDirectlyAdded() -> relations)11 - Align way nodes: 1 node - between neighboring, 2 nodes - all between them, 3 or more - all selected12 - Paste remembered source tag value (store it indefinetly, even in preferences)13 - Replace geometry: choose nearest node for replacing, not just any14 7 15 8 == NEW ALGORITHM ==
Note:
See TracChangeset
for help on using the changeset viewer.