Package org.rssowl.ui.internal.dialogs

Examples of org.rssowl.ui.internal.dialogs.LoginDialog


    if (shell == null)
      shell = getActiveShell();

    if (shell != null) {
      URI googleLoginUri = URI.create(SyncUtils.GOOGLE_LOGIN_URL);
      LoginDialog dialog = new LoginDialog(shell, googleLoginUri, null, true);
      dialog.setHeader(Messages.OwlUI_SYNC_LOGIN);
      dialog.setSubline(Messages.OwlUI_SYNC_LOGIN_TEXT);
      dialog.setTitleImageDescriptor(OwlUI.getImageDescriptor("icons/wizban/reader_wiz.png")); //$NON-NLS-1$

      return dialog.open();
    }

    return IDialogConstants.CANCEL_ID;
  }
View Full Code Here


                  /* Show Login Dialog */
                  int status = -1;
                  if (isSynchronizedFeed)
                    status = OwlUI.openSyncLogin(shellAr[0]);
                  else
                    status = new LoginDialog(shellAr[0], feedLink, authEx.getRealm()).open();

                  /* Remember time when user hit cancel from a Google Reader login challenge */
                  if (status == Window.CANCEL && isSynchronizedFeed)
                    fLastGoogleLoginCancel.set(System.currentTimeMillis());

View Full Code Here

                    } catch (CredentialsException exe) {
                      Activator.getDefault().getLog().log(exe.getStatus());
                    }

                    /* Show Login Dialog */
                    LoginDialog login = new LoginDialog(shell, request.getLink(), authEx.getRealm());
                    if (login.open() == Window.OK && !monitor.isCanceled() && !Controller.getDefault().isShuttingDown()) {
                      fDownloadQueue.schedule(new AttachmentDownloadTask(request));
                      showError[0] = false;
                    }
                  }
                });
View Full Code Here

TOP

Related Classes of org.rssowl.ui.internal.dialogs.LoginDialog

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.