Changeset 2032 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2009-09-03T09:29:22+02:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/ConditionalOptionPaneUtil.java
r2017 r2032 27 27 * 28 28 */ 29 public class ConditionalOptionPaneUtil { 29 @Deprecated public class ConditionalOptionPaneUtil { 30 30 static public final int DIALOG_DISABLED_OPTION = Integer.MIN_VALUE; 31 31 -
trunk/src/org/openstreetmap/josm/gui/dialogs/PropertiesDialog.java
r2027 r2032 636 636 } 637 637 638 LinkedList<TaggingPreset> p = new LinkedList<TaggingPreset>();639 638 presets.removeAll(); 640 639 int total = nodes+ways+relations+closedways; … … 831 830 protected void deleteFromRelation(int row) { 832 831 Relation cur = (Relation)membershipData.getValueAt(row, 0); 833 int result = new ExtendedDialog(Main.parent, 832 833 ExtendedDialog ed = new ExtendedDialog(Main.parent, 834 834 tr("Change relation"), 835 tr("Really delete selection from relation {0}?", cur.getDisplayName(DefaultNameFormatter.getInstance())), 836 new String[] {tr("Delete from relation"), tr("Cancel")}, 837 new String[] {"dialogs/delete.png", "cancel.png"}).getValue(); 838 839 if(result != 1) 835 new String[] {tr("Delete from relation"), tr("Cancel")}); 836 ed.setButtonIcons(new String[] {"dialogs/delete.png", "cancel.png"}); 837 ed.setContent(tr("Really delete selection from relation {0}?", cur.getDisplayName(DefaultNameFormatter.getInstance()))); 838 ed.showDialog(); 839 840 if(ed.getValue() != 1) 840 841 return; 841 842
Note:
See TracChangeset
for help on using the changeset viewer.