Changeset 24106 in osm for applications/editors
- Timestamp:
- 2010-11-07T12:24:51+01:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/FixAddresses
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/AddressEditDialog.java
r24105 r24106 58 58 import org.openstreetmap.josm.plugins.fixAddresses.gui.actions.ApplyAllGuessesAction; 59 59 import org.openstreetmap.josm.plugins.fixAddresses.gui.actions.AssignAddressToStreetAction; 60 import org.openstreetmap.josm.plugins.fixAddresses.gui.actions.ConvertToRelationAction; 60 61 import org.openstreetmap.josm.plugins.fixAddresses.gui.actions.GuessAddressDataAction; 61 62 import org.openstreetmap.josm.plugins.fixAddresses.gui.actions.RemoveAddressTagsAction; … … 82 83 private SelectAddressesInMapAction selectAddressesInMapAction = new SelectAddressesInMapAction(); 83 84 private RemoveAddressTagsAction removeAddressTagsAction = new RemoveAddressTagsAction(); 85 private ConvertToRelationAction convertToRelationAction = new ConvertToRelationAction(); 84 86 85 87 private AbstractAddressEditAction[] actions = new AbstractAddressEditAction[] { … … 88 90 applyAllGuessesAction, 89 91 selectAddressesInMapAction, 90 removeAddressTagsAction 92 removeAddressTagsAction, 93 convertToRelationAction 91 94 }; 92 95 private JLabel streetLabel; … … 127 130 headerPanel.add(streetLabel); 128 131 132 JPanel streetButtonPanel = new JPanel(new GridLayout(1, 4)); 133 SideButton convertToRel = new SideButton(convertToRelationAction); 134 streetButtonPanel.add(convertToRel); 135 136 streetPanel.add(streetButtonPanel, BorderLayout.SOUTH); 129 137 streetPanel.add(headerPanel, BorderLayout.NORTH); 130 138 streetPanel.setMinimumSize(new Dimension(350, 200)); -
applications/editors/josm/plugins/FixAddresses/src/org/openstreetmap/josm/plugins/fixAddresses/gui/actions/AbstractAddressEditAction.java
r24105 r24106 45 45 private AddressEditSelectionEvent event; 46 46 protected AddressEditContainer container; 47 pr ivateList<Command> commands;47 protected List<Command> commands; 48 48 private String txName; 49 49
Note:
See TracChangeset
for help on using the changeset viewer.