Changeset 19050 in josm for trunk/src/org/openstreetmap/josm/io/session/SessionReader.java
- Timestamp:
- 2024-04-22T20:59:26+02:00 (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/session/SessionReader.java
r18975 r19050 574 574 tr("Unable to load layer"), 575 575 tr("Cannot load layer of type ''{0}'' because no suitable importer was found.", type), 576 JOptionPane.WARNING_MESSAGE, 577 progressMonitor 578 ); 576 JOptionPane.WARNING_MESSAGE 577 ); 579 578 if (dialog.isCancel()) { 580 579 progressMonitor.cancel(); … … 593 592 tr("Unable to load layer"), 594 593 tr("Cannot load layer {0} because it depends on layer {1} which has been skipped.", idx, d), 595 JOptionPane.WARNING_MESSAGE, 596 progressMonitor 597 ); 594 JOptionPane.WARNING_MESSAGE 595 ); 598 596 if (dialog.isCancel()) { 599 597 progressMonitor.cancel(); … … 625 623 Utils.escapeReservedCharactersHTML(name), 626 624 Utils.escapeReservedCharactersHTML(exception.getMessage())), 627 JOptionPane.ERROR_MESSAGE, 628 progressMonitor 629 ); 625 JOptionPane.ERROR_MESSAGE 626 ); 630 627 if (dialog.isCancel()) { 631 628 progressMonitor.cancel(); … … 735 732 * needed to block the current thread and wait for the result of the modal dialog from EDT. 736 733 */ 737 private static class CancelOrContinueDialog {734 private static final class CancelOrContinueDialog { 738 735 739 736 private boolean cancel; 740 737 741 public void show(final String title, final String message, final int icon, final ProgressMonitor progressMonitor) {738 void show(final String title, final String message, final int icon) { 742 739 try { 743 740 SwingUtilities.invokeAndWait(() -> {
Note:
See TracChangeset
for help on using the changeset viewer.