class FullyAutomaticAuthorizationUI.FullyAutomaticAuthorisationTask extends PleaseWaitRunnable
Modifier and Type | Field and Description |
---|---|
private OsmOAuthAuthorizationClient |
authClient |
private boolean |
canceled |
progressMonitor
Constructor and Description |
---|
FullyAutomaticAuthorizationUI.FullyAutomaticAuthorisationTask(Component parent) |
Modifier and Type | Method and Description |
---|---|
protected void |
alertAuthorisationFailed(OsmOAuthAuthorizationException e) |
protected void |
alertInvalidLoginUrl() |
protected void |
alertLoginFailed(OsmLoginFailedException e) |
protected void |
cancel()
User pressed cancel button.
|
protected void |
finish()
Finish up the data work.
|
protected void |
handleException(OsmOAuthAuthorizationException e) |
protected void |
realRun()
Called in the worker thread to do the actual work.
|
afterFinish, canRunInBackground, getProgressMonitor, operationCanceled, run
private boolean canceled
private OsmOAuthAuthorizationClient authClient
public FullyAutomaticAuthorizationUI.FullyAutomaticAuthorisationTask(Component parent)
protected void cancel()
PleaseWaitRunnable
cancel
in class PleaseWaitRunnable
protected void finish()
PleaseWaitRunnable
finish
in class PleaseWaitRunnable
protected void alertAuthorisationFailed(OsmOAuthAuthorizationException e)
protected void alertInvalidLoginUrl()
protected void alertLoginFailed(OsmLoginFailedException e)
protected void handleException(OsmOAuthAuthorizationException e)
protected void realRun() throws SAXException, IOException, OsmTransferException
PleaseWaitRunnable
realRun
in class PleaseWaitRunnable
SAXException
IOException
OsmTransferException