Changeset 3431 in josm for trunk/src/org
- Timestamp:
- 2010-08-13T22:00:38+02:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/DeleteCommand.java
r3392 r3431 488 488 tr("You are about to delete incomplete objects." 489 489 + "<br>" 490 + "This will cause problems because you don' t see the real object."490 + "This will cause problems because you don''t see the real object." 491 491 + "<br>" + "Do you really want to delete?") + "</html>")); 492 492 boolean answer = ConditionalOptionPaneUtil.showConfirmationDialog( -
trunk/src/org/openstreetmap/josm/data/osm/DataSet.java
r3426 r3431 399 399 } 400 400 401 /** 402 * @return whether the selection is empty or not 403 */ 404 public boolean selectionEmpty() { 405 return selectedPrimitives.isEmpty(); 406 } 407 401 408 public boolean isSelected(OsmPrimitive osm) { 402 409 return selectedPrimitives.contains(osm); -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r3417 r3431 256 256 dialog.setContent(tr("JOSM found {0} unsaved osm data layers. It looks like JOSM crashed last time. Do you want to restore data?", 257 257 unsavedLayers.size())); 258 dialog.setIcon(JOptionPane.INFORMATION_MESSAGE); 258 259 dialog.setButtonIcons(new String[] {"ok.png", "cancel.png"}); 259 260 dialog.showDialog(); … … 299 300 String version = System.getProperty("java.version"); 300 301 if (version != null) { 301 if (version.startsWith("1.6") || version.startsWith("6")) 302 if (version.startsWith("1.6") || version.startsWith("6") || 303 version.startsWith("1.7") || version.startsWith("7")) 302 304 return; 303 305 if (version.startsWith("1.5") || version.startsWith("5")) { -
trunk/src/org/openstreetmap/josm/gui/MainMenu.java
r3388 r3431 55 55 import org.openstreetmap.josm.actions.PasteTagsAction; 56 56 import org.openstreetmap.josm.actions.PreferencesAction; 57 import org.openstreetmap.josm.actions.PurgeAction; 57 58 import org.openstreetmap.josm.actions.RedoAction; 58 59 import org.openstreetmap.josm.actions.ReverseWayAction; … … 123 124 public final JosmAction duplicate = new DuplicateAction(); 124 125 public final JosmAction delete = new DeleteAction(); 126 public final JosmAction purge = new PurgeAction(); 125 127 public final JosmAction merge = new MergeLayerAction(); 126 128 public final JosmAction mergeSelected = new MergeSelectionAction(); … … 247 249 add(editMenu, duplicate); 248 250 add(editMenu, delete); 251 add(editMenu, purge); 249 252 editMenu.addSeparator(); 250 253 add(editMenu,merge); -
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
r3338 r3431 1101 1101 putValue(NAME, tr("Select relation")); 1102 1102 putValue(SHORT_DESCRIPTION, tr("Select relation in main selection.")); 1103 putValue(SMALL_ICON, ImageProvider.get("dialogs", "select")); 1103 1104 } else { 1104 1105 putValue(NAME, tr("Select in relation list")); 1105 1106 putValue(SHORT_DESCRIPTION, tr("Select relation in relation list.")); 1107 putValue(SMALL_ICON, ImageProvider.get("dialogs", "relationlist")); 1106 1108 } 1107 1109 }
Note:
See TracChangeset
for help on using the changeset viewer.