Changeset 23919 in osm


Ignore:
Timestamp:
2010-10-30T17:12:04+02:00 (14 years ago)
Author:
oliverw
Message:
  • Renamed AddressEditAction to FixedUnresolvedStreetsAction
  • Added/changed icons
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  
    2828               
    2929                // Create action for edit...
    30                 AddressEditAction action = new AddressEditAction();
     30                FixedUnresolvedStreetsAction action = new FixedUnresolvedStreetsAction();
    3131                // ... and add it to the tools menu in main
    3232        Main.main.menu.toolsMenu.add(action);
  • applications/editors/josm/plugins/AddressEdit/src/org/openstreetmap/josm/plugins/addressEdit/FixedUnresolvedStreetsAction.java

    r23916 r23919  
    1515import org.openstreetmap.josm.tools.Shortcut;
    1616
    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
     23public class FixedUnresolvedStreetsAction extends JosmAction implements SelectionChangedListener {
    1824
    1925        /**
     
    2430        private Collection<? extends OsmPrimitive> newSelection;
    2531
    26         public AddressEditAction() {
    27                 super(tr("Address Editor"), "addressedit_24",
    28                                 tr("Handy Address Editing Functions"), Shortcut
     32        public FixedUnresolvedStreetsAction() {
     33                super(tr("Fix street addresses"), "fixstreets_24",
     34                                tr("Find and fix addresses without (valid) streets."), Shortcut
    2935                                .registerShortcut("tools:AddressEdit", tr("Tool: {0}",
    3036                                                tr("Address Edit")), KeyEvent.VK_A,
  • applications/editors/josm/plugins/AddressEdit/src/org/openstreetmap/josm/plugins/addressEdit/gui/AddressEditDialog.java

    r23916 r23919  
    127127                        SideButton assign = new SideButton(resolveAction, "assignstreet_24");                                                                                                                     
    128128                        unresolvedButtons.add(assign);
    129                         SideButton guess = new SideButton(guessAddressAction);                                                                                                                     
     129                        SideButton guess = new SideButton(guessAddressAction, "guessstreets_24");                                                                                                                         
    130130                        unresolvedButtons.add(guess);
    131131                        unresolvedPanel.add(unresolvedButtons, BorderLayout.SOUTH);
Note: See TracChangeset for help on using the changeset viewer.