Changeset 35474 in osm for applications/editors
- Timestamp:
- 2020-05-27T11:48:18+02:00 (4 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/alignways/src/org/openstreetmap/josm/plugins/alignways/AlignWaysAction.java
r35450 r35474 33 33 Shortcut.registerShortcut("tools:alignways", tr("Tool: {0}", tr("Align Ways")), 34 34 KeyEvent.VK_SPACE, Shortcut.SHIFT), 35 true );35 true, false); 36 36 setEnabled(false); 37 37 } -
applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools/BuildingRectangleAction.java
r34572 r35474 17 17 tr("Data: {0}", tr("Set buildings shape to rectangle")), 18 18 KeyEvent.VK_R, Shortcut.ALT), 19 true );19 true, false); 20 20 } 21 21 -
applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools/BuildingSizeAction.java
r35364 r35474 16 16 Shortcut.registerShortcut("edit:buildingsdialog", tr("Edit: {0}", tr("Set buildings size")), 17 17 KeyEvent.VK_B, Shortcut.ALT_CTRL), 18 true, "edit:buildingsdialog", true);18 true, "edit:buildingsdialog", false); 19 19 } 20 20 -
applications/editors/josm/plugins/buildings_tools/src/org/openstreetmap/josm/plugins/buildings_tools/MergeAddrPointsAction.java
r34982 r35474 114 114 int oldMulti = multi; 115 115 for (Node n : addrNodes) { 116 if (Geometry.nodeInsidePolygon(n, w.getNodes())) 116 if (Geometry.nodeInsidePolygon(n, w.getNodes())) { 117 117 if (mergeNode != null) { 118 118 multi++; … … 120 120 // skipping 121 121 break; 122 } else 122 } else { 123 123 mergeNode = n; 124 } 125 } 124 126 } 125 127 if (oldMulti != multi) … … 180 182 181 183 @Override 184 protected boolean listenToSelectionChange() { 185 return false; 186 } 187 188 @Override 182 189 protected void updateEnabledState() { 183 190 setEnabled(getLayerManager().getEditDataSet() != null); -
applications/editors/josm/plugins/reverter/src/reverter/RevertChangesetAction.java
r34028 r35474 19 19 super(tr("Revert changeset"), "revert-changeset", tr("Revert changeset"), 20 20 Shortcut.registerShortcut("tool:revert", tr("Tool: {0}", tr("Revert changeset")), KeyEvent.VK_T, Shortcut.CTRL_SHIFT), 21 true );21 true, false); 22 22 } 23 23 -
applications/editors/josm/plugins/undelete/src/org/openstreetmap/josm/plugins/undelete/UndeleteAction.java
r35465 r35474 236 236 */ 237 237 public UndeleteAction() { 238 super(tr("Undelete object..."), "undelete", tr("Undelete object by id"), 239 Shortcut.registerShortcut("tools:undelete", tr("File: {0}", tr("Undelete object...")), KeyEvent.VK_U, Shortcut.ALT_SHIFT), true); 238 super(tr("Undelete object..."), "undelete", tr("Undelete object by id"), 239 Shortcut.registerShortcut("tools:undelete", tr("File: {0}", tr("Undelete object...")), KeyEvent.VK_U, 240 Shortcut.ALT_SHIFT), 241 true, false); 240 242 } 241 243
Note:
See TracChangeset
for help on using the changeset viewer.