Changeset 2017 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialog.java
- Timestamp:
- 30.08.2009 19:07:24 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialog.java
r1990 r2017 26 26 import org.openstreetmap.josm.data.osm.OsmPrimitive; 27 27 import org.openstreetmap.josm.gui.DefaultNameFormatter; 28 import org.openstreetmap.josm.gui.OptionPaneUtil;29 28 import org.openstreetmap.josm.gui.conflict.pair.ConflictResolver; 30 29 import org.openstreetmap.josm.gui.conflict.pair.properties.OperationCancelledException; … … 194 193 tr("Close anyway"), 195 194 tr("Continue resolving")}; 196 int ret = OptionPaneUtil.showOptionDialog(Main.parent,195 int ret = JOptionPane.showOptionDialog(Main.parent, 197 196 tr("<html>You didn''t finish to merge the differences in this conflict.<br>" 198 197 + "Conflict resolutions won't be applied unless all differences<br>" … … 206 205 JOptionPane.YES_NO_OPTION, 207 206 JOptionPane.WARNING_MESSAGE, 207 null, 208 208 options, 209 209 options[1] 210 210 ); 211 211 switch(ret) { 212 case JOptionPane.YES_OPTION:213 setVisible(false);214 break;215 default:216 return;212 case JOptionPane.YES_OPTION: 213 setVisible(false); 214 break; 215 default: 216 return; 217 217 } 218 218 }
Note: See TracChangeset
for help on using the changeset viewer.
