Changeset 4310 in josm for trunk/src/org/openstreetmap/josm/gui/conflict
- Timestamp:
- 2011-08-11T00:26:21+02:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui/conflict
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMerger.java
r4191 r4310 284 284 gc.gridy = 0; 285 285 lblMergedVersion = new JLabel(tr("Merged version")); 286 lblMergedVersion.setToolTipText(tr("List of merged elements. They will replace the my elements when the merge decisions are applied."));286 lblMergedVersion.setToolTipText(tr("List of merged elements. They will replace the list of my elements when the merge decisions are applied.")); 287 287 add(lblMergedVersion, gc); 288 288 -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergeModel.java
r4116 r4310 23 23 /** 24 24 * This is the model for resolving conflicts in the properties of the 25 * {@see OsmPrimitive}s. In particular, it represents conflicts in the coordi ates of {@see Node}s and25 * {@see OsmPrimitive}s. In particular, it represents conflicts in the coordinates of {@see Node}s and 26 26 * the deleted or visible state of {@see OsmPrimitive}s. 27 27 * -
trunk/src/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMerger.java
r4162 r4310 394 394 public KeepMyCoordinatesAction() { 395 395 putValue(Action.SMALL_ICON, ImageProvider.get("dialogs/conflict", "tagkeepmine")); 396 putValue(Action.SHORT_DESCRIPTION, tr("Keep my coordi ates"));396 putValue(Action.SHORT_DESCRIPTION, tr("Keep my coordinates")); 397 397 } 398 398 … … 409 409 public KeepTheirCoordinatesAction() { 410 410 putValue(Action.SMALL_ICON, ImageProvider.get("dialogs/conflict", "tagkeeptheir")); 411 putValue(Action.SHORT_DESCRIPTION, tr("Keep their coordi ates"));411 putValue(Action.SHORT_DESCRIPTION, tr("Keep their coordinates")); 412 412 } 413 413 -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/CombinePrimitiveResolverDialog.java
r3719 r4310 66 66 * merged to, see {@see #setTargetPrimitive(OsmPrimitive)}. 67 67 * 68 * After the dialog is closed use {@see #isCancel led()} to check whether the user canceled68 * After the dialog is closed use {@see #isCanceled()} to check whether the user canceled 69 69 * the dialog. If it wasn't canceled you may build a collection of {@see Command} objects 70 70 * which reflect the conflict resolution decisions the user made in the dialog: … … 93 93 private TagConflictResolver pnlTagConflictResolver; 94 94 private RelationMemberConflictResolver pnlRelationMemberConflictResolver; 95 private boolean cancel led;95 private boolean canceled; 96 96 private JPanel pnlButtons; 97 97 private OsmPrimitive targetPrimitive; … … 318 318 } 319 319 320 protected void setCancel led(boolean cancelled) {321 this.cancel led = cancelled;322 } 323 324 public boolean isCancel led() {325 return cancel led;320 protected void setCanceled(boolean canceled) { 321 this.canceled = canceled; 322 } 323 324 public boolean isCanceled() { 325 return canceled; 326 326 } 327 327 … … 332 332 new WindowGeometry(getClass().getName() + ".geometry", WindowGeometry.centerInWindow(Main.parent, 333 333 new Dimension(600, 400))).applySafe(this); 334 setCancel led(false);334 setCanceled(false); 335 335 btnApply.requestFocusInWindow(); 336 336 } else { … … 350 350 351 351 public void actionPerformed(ActionEvent arg0) { 352 setCancel led(true);352 setCanceled(true); 353 353 setVisible(false); 354 354 }
Note:
See TracChangeset
for help on using the changeset viewer.