Changeset 23919 in osm for applications/editors/josm/plugins
- Timestamp:
- 2010-10-30T17:12:04+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/AddressEdit
- Files:
-
- 2 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/AddressEdit/src/org/openstreetmap/josm/plugins/addressEdit/AddressEditPlugin.java
r23806 r23919 28 28 29 29 // Create action for edit... 30 AddressEditAction action = new AddressEditAction();30 FixedUnresolvedStreetsAction action = new FixedUnresolvedStreetsAction(); 31 31 // ... and add it to the tools menu in main 32 32 Main.main.menu.toolsMenu.add(action); -
applications/editors/josm/plugins/AddressEdit/src/org/openstreetmap/josm/plugins/addressEdit/FixedUnresolvedStreetsAction.java
r23916 r23919 15 15 import org.openstreetmap.josm.tools.Shortcut; 16 16 17 public class AddressEditAction extends JosmAction implements SelectionChangedListener { 17 /** 18 * Action to find and fix addresses without (valid) streets. 19 * @author Oliver Wieland <oliver.wieland@online.de> 20 * 21 */ 22 23 public class FixedUnresolvedStreetsAction extends JosmAction implements SelectionChangedListener { 18 24 19 25 /** … … 24 30 private Collection<? extends OsmPrimitive> newSelection; 25 31 26 public AddressEditAction() {27 super(tr(" Address Editor"), "addressedit_24",28 tr(" Handy Address Editing Functions"), Shortcut32 public FixedUnresolvedStreetsAction() { 33 super(tr("Fix street addresses"), "fixstreets_24", 34 tr("Find and fix addresses without (valid) streets."), Shortcut 29 35 .registerShortcut("tools:AddressEdit", tr("Tool: {0}", 30 36 tr("Address Edit")), KeyEvent.VK_A, -
applications/editors/josm/plugins/AddressEdit/src/org/openstreetmap/josm/plugins/addressEdit/gui/AddressEditDialog.java
r23916 r23919 127 127 SideButton assign = new SideButton(resolveAction, "assignstreet_24"); 128 128 unresolvedButtons.add(assign); 129 SideButton guess = new SideButton(guessAddressAction );129 SideButton guess = new SideButton(guessAddressAction, "guessstreets_24"); 130 130 unresolvedButtons.add(guess); 131 131 unresolvedPanel.add(unresolvedButtons, BorderLayout.SOUTH);
Note:
See TracChangeset
for help on using the changeset viewer.