class ValidatorDialog.FixTask extends PleaseWaitRunnable
TestError
s. Can be run asynchronously.Modifier and Type | Field and Description |
---|---|
private boolean |
canceled |
private java.util.Collection<TestError> |
testErrors |
progressMonitor
Constructor and Description |
---|
ValidatorDialog.FixTask(java.util.Collection<TestError> testErrors) |
Modifier and Type | Method and Description |
---|---|
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected void |
fixError(TestError error) |
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
private java.util.Collection<TestError> testErrors
private boolean canceled
public ValidatorDialog.FixTask(java.util.Collection<TestError> testErrors)
protected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable
protected void fixError(TestError error) throws java.lang.InterruptedException, java.lang.reflect.InvocationTargetException
java.lang.InterruptedException
java.lang.reflect.InvocationTargetException
protected void realRun() throws org.xml.sax.SAXException, java.io.IOException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
org.xml.sax.SAXException
java.io.IOException
OsmTransferException