Examples of LoginDialog


Examples of ch.fusun.baron.clientapp.login.LoginDialog

            new String[] { Messages.ApplicationWorkbenchWindowAdvisor_ConnectionFailedText },
            0).open();
        System.exit(0);
      }
    }
    new LoginDialog(null, getGameClient()).open();

    IWorkbenchWindowConfigurer configurer = getWindowConfigurer();
    configurer.setInitialSize(new Point(600, 600));
    configurer.setShowCoolBar(true);
    configurer.setShowMenuBar(true);
View Full Code Here

Examples of com.anzsoft.client.ui.LoginDialog

  {   
    XmppVCardFactory.instance().clear();
    ChatWindow.clear();
    cleanDialog();     
      if(loginDlg == null)
        loginDlg = new LoginDialog();
      loginDlg.show();
  }
View Full Code Here

Examples of com.extjs.gxt.samples.mail.client.widget.LoginDialog

  public AppView(Controller controller) {
    super(controller);
  }

  protected void initialize() {
    LoginDialog dialog = new LoginDialog();
    dialog.setClosable(false);
    dialog.addListener(Events.Hide, new Listener<WindowEvent>() {
      public void handleEvent(WindowEvent be) {
        Dispatcher.forwardEvent(AppEvents.Init);
      }
    });
    dialog.show();
  }
View Full Code Here

Examples of com.tensegrity.wpalo.client.ui.dialog.LoginDialog

    final String directLink = Window.Location.getParameter("options");
    String usr = null;
    if (directLink != null) {
      usr = getValue("user", directLink);
    }
    final LoginDialog dlg = new LoginDialog(usr);   
    dlg.addListener(Events.Hide, new Listener<BoxComponentEvent>() {
      public void handleEvent(BoxComponentEvent be) { 
        user = dlg.getUser();       
        if (directLink == null) {
          Dispatcher.forwardEvent(WPaloEvent.INIT, user);
        } else {
          final Dispatcher dispatcher = Dispatcher.get();
          final String locale = Window.Location.getParameter("locale");
          WPaloServiceProvider.getInstance().openViewAfterLogin(locale, user.getSessionId(), directLink,
              new AsyncCallback<XDirectLinkData>() {
                public void onSuccess(final XDirectLinkData data) {                 
                  if (!data.isAuthenticated()) {
                    dispatcher.dispatch(WPaloEvent.APP_START);
                    if (data.getErrors().length > 0) {
                      StringBuffer buf = new StringBuffer();
                      for (String s: data.getErrors()) {
                        buf.append(s + "\n");
                      }
                      MessageBox.alert(constants.errorsWhileProcessingOptions(),
                          buf.toString(), null);
                    }
                  } else {
//                    CubeViewEditor.fromDirectLink = true;
                    XView [] xViews = data.getViews();
                    if (xViews == null || xViews.length == 0) {
                      dispatcher.dispatch(WPaloEvent.INIT, DisplayFlags.createDisplayFlags(user, data.getGlobalDisplayFlags()));
                      directLogin(user);
                      if (data.getErrors().length > 0) {
                        StringBuffer buf = new StringBuffer();
                        for (String s: data.getErrors()) {
                          buf.append(s + "\n");
                        }
                        MessageBox.alert(constants.errorsWhileProcessingOptions(), buf.toString(), null);
                      }
                      return;
                    }
                    LargeQueryWarningDialog.hideWarnDialog = true;                   
                    for (int i = 1; i < xViews.length; i++) {
                      ((WorkbenchController) getController()).getViewBrowserController().
                        addViewToLoad(xViews[i]);
                    }
                    XView xView = xViews[0];
                    DisplayFlags.setDisplayFlagsFor(xView, user, xView.getDisplayFlags(), data.getGlobalDisplayFlags());
                    DisplayFlags displayFlags = DisplayFlags.getDisplayFlagsFor(xView);
                    dispatcher.dispatch(WPaloEvent.INIT, displayFlags);
                    directLogin(user);
//                    CubeViewEditor.hasBeenResized = true;
                    dispatcher.dispatch(WPaloEvent.EDIT_VIEWBROWSER_VIEW, xView);
                    if (data.getErrors().length > 0) {
                      StringBuffer buf = new StringBuffer();
                      for (String s: data.getErrors()) {
                        buf.append(s + "\n");
                      }
                      MessageBox.alert(constants.errorsWhileProcessingOptions(), buf.toString(), null);
                    }
                  }
                }
               
                public void onFailure(Throwable arg0) {
                  dispatcher.dispatch(WPaloEvent.APP_START);
                }
              });         
        }
      }
    });
    WPaloPropertyServiceProvider.getInstance().getBooleanProperty("isPaloSuite", false, new AsyncCallback<Boolean>() {
      public void onFailure(Throwable arg0) {
        ((WPalo) Registry.get(WPalo.ID)).show(dlg);
        dlg.show();       
      }

      public void onSuccess(Boolean result) {
        if (!result) {
          ((WPalo) Registry.get(WPalo.ID)).show(dlg);
          dlg.show();         
        }
      }
    });
   
  }
View Full Code Here

Examples of com.tll.client.ui.LoginDialog

    }
  }

  private void buildLoginDialog() {
    if(loginDialog == null) {
      loginDialog = new LoginDialog();
      loginDialog.addUserSessionListener(acc);
    }
  }
View Full Code Here

Examples of com.urswolfer.intellij.plugin.gerrit.ui.LoginDialog

    /**
     * Shows Gerrit login settings if credentials are wrong or empty and return the list of all projects
     */
    public List<ProjectInfo> getAvailableProjects(final Project project) {
        while (!checkCredentials(project)) {
            final LoginDialog dialog = new LoginDialog(project, gerritSettings, this, log);
            dialog.show();
            if (!dialog.isOK()) {
                return null;
            }
        }
        // Otherwise our credentials are valid and they are successfully stored in settings
        return accessToGerritWithModalProgress(project, new ThrowableComputable<List<ProjectInfo>, Exception>() {
View Full Code Here

Examples of edu.bellevue.its.migration.gui.dialogs.LoginDialog

    }
   
    public boolean login()
    {
       
        LoginDialog dialog = new LoginDialog(new javax.swing.JFrame(), true);
        dialog.addWindowListener(new java.awt.event.WindowAdapter() {
            @Override
            public void windowClosing(java.awt.event.WindowEvent e) {
                System.exit(0);
            }
        });
        dialog.setVisible(true);
       
        while (dialog.isVisible())
        {
            try {
                Thread.sleep(100);
            } catch (InterruptedException ex) {
                Logger.getLogger(AppGlobals.class.getName()).log(Level.SEVERE, null, ex);
View Full Code Here

Examples of games.stendhal.client.gui.login.LoginDialog

    creditButton.setEnabled(b);
  }

  private void login() {
    checkVersion();
    new LoginDialog(StendhalFirstScreen.this, client).setVisible(true);
  }
View Full Code Here

Examples of games.stendhal.client.gui.login.LoginDialog

   
    final Profile profile = Profile.createFromCommandline(args);
    SwingUtilities.invokeLater(new Runnable() {
      public void run() {
        if (profile.isValid()) {
          new LoginDialog(null, client).connect(profile);
        } else {
          new StendhalFirstScreen(client);
        }
      }
    });
View Full Code Here

Examples of net.datacrow.console.windows.security.LoginDialog

                boolean success = false;
                int retry = 0;
                while (!success && retry < 3) {
                    showSplashScreen(false);
                   
                    LoginDialog dlg = new LoginDialog();
                    DcSwingUtilities.openDialogNativeModal(dlg);
                    if (dlg.isCanceled()) break;
                   
                    try {
                        success = SecurityCentre.getInstance().login(dlg.getLoginName(), dlg.getPassword(), false) != null;
                    } catch (SecurityException se) {
                        DcSwingUtilities.displayMessage(se.getMessage());
                        retry ++;
                    }
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.