org.openstreetmap.josm.io.session
Class SessionReader.CancelOrContinueDialog
java.lang.Object
org.openstreetmap.josm.io.session.SessionReader.CancelOrContinueDialog
- Enclosing class:
- SessionReader
private static class SessionReader.CancelOrContinueDialog
- extends java.lang.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 |
private boolean |
cancel
|
Method Summary |
boolean |
isCancel()
|
void |
show(java.lang.String title,
java.lang.String message,
int icon,
ProgressMonitor progressMonitor)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cancel
private boolean cancel
SessionReader.CancelOrContinueDialog
private SessionReader.CancelOrContinueDialog()
show
public void show(java.lang.String title,
java.lang.String message,
int icon,
ProgressMonitor progressMonitor)
isCancel
public boolean isCancel()
JOSM