Changeset 6944 in josm
- Timestamp:
- 2014-03-29T15:35:44+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/corrector/TagCorrector.java
r6340 r6944 39 39 * corrections and a dialog is pesented to the user to 40 40 * confirm these changes. 41 * @param <P> The type of OSM primitive to correct 41 42 */ 42 43 43 public abstract class TagCorrector<P extends OsmPrimitive> { 44 44 45 public abstract Collection<Command> execute(P primitive, P oldprimitive) 46 throws UserCancelException; 45 public abstract Collection<Command> execute(P oldprimitive, P primitive) throws UserCancelException; 47 46 48 47 private String[] applicationOptions = new String[] { … … 68 67 final JMultilineLabel label1 = new JMultilineLabel(description); 69 68 label1.setMaxWidth(600); 70 p.add(label1, GBC.eop().anchor(GBC.CENTER) );69 p.add(label1, GBC.eop().anchor(GBC.CENTER).fill(GBC.HORIZONTAL)); 71 70 72 71 final JMultilineLabel label2 = new JMultilineLabel( 73 72 tr("Please select which changes you want to apply.")); 74 73 label2.setMaxWidth(600); 75 p.add(label2, GBC.eop().anchor(GBC.CENTER) );74 p.add(label2, GBC.eop().anchor(GBC.CENTER).fill(GBC.HORIZONTAL)); 76 75 77 76 for (Entry<OsmPrimitive, List<TagCorrection>> entry : tagCorrectionsMap.entrySet()) {
Note:
See TracChangeset
for help on using the changeset viewer.