Class SessionReader.CancelOrContinueDialog
- java.lang.Object
-
- org.openstreetmap.josm.io.session.SessionReader.CancelOrContinueDialog
-
- Enclosing class:
- SessionReader
private static class SessionReader.CancelOrContinueDialog extends Object
Show Dialog when there is an error for one layer. Ask the user whether to cancel the complete session loading or just to skip this layer. This is expected to run in a worker thread (PleaseWaitRunnable), so invokeAndWait is needed to block the current thread and wait for the result of the modal dialog from EDT.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
cancel
-
Constructor Summary
Constructors Modifier Constructor Description private
CancelOrContinueDialog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCancel()
void
show(String title, String message, int icon, ProgressMonitor progressMonitor)
-
-
-
Field Detail
-
cancel
private boolean cancel
-
-
Constructor Detail
-
CancelOrContinueDialog
private CancelOrContinueDialog()
-
-
Method Detail
-
show
public void show(String title, String message, int icon, ProgressMonitor progressMonitor)
-
isCancel
public boolean isCancel()
-
-