org.openstreetmap.josm.io.session
Class SessionReader.CancelOrContinueDialog

java.lang.Object
  extended by 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
           
 
Constructor Summary
private SessionReader.CancelOrContinueDialog()
           
 
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
 

Field Detail

cancel

private boolean cancel
Constructor Detail

SessionReader.CancelOrContinueDialog

private SessionReader.CancelOrContinueDialog()
Method Detail

show

public void show(java.lang.String title,
                 java.lang.String message,
                 int icon,
                 ProgressMonitor progressMonitor)

isCancel

public boolean isCancel()


JOSM