Examples of LoginView


Examples of View.LoginView

         super();
        this.set_display(Display.getDisplay(this)) ;
        this.set_gridOthello(new GridOthello(8));

        this.set_choiceGameView(new ChoiceGameView(_display, this));
        this.set_loginView(new LoginView(_display, this));
        this.set_listWaitingPlayerView(new ListWaitingPlayerView(_display, this));
        this.set_gridView(new GridView(_display, this));
    }
View Full Code Here

Examples of com.casamind.adware.client.view.LoginView

  }

  public void showLoginView(UserAccountDTO loggedInUserDTO) {
    root = RootLayoutPanel.get();
    root.clear();
    LoginPresenter loginPresenter = new LoginPresenter(eventBus, new LoginView(), loggedInUserDTO);
    loginPresenter.go(root);
  }
View Full Code Here

Examples of com.chandu0101.passwordmemoryclient.presentation.login.LoginView

        }
    }

    @FXML
    void handleLogout(ActionEvent event) {
        LoginView view = new LoginView();
        App.getInstance().replaceStageContent(view.getView());
    }
View Full Code Here

Examples of com.chandu0101.passwordmemoryclient.presentation.login.LoginView


    @Override
    public void start(Stage stage) throws Exception {
        this.stage = stage;
        LoginView view = new LoginView();
        Scene scene = new Scene(view.getView());
        scene.getStylesheets().add(getClass().getResource("app.css").toExternalForm());
        stage.setTitle("PaswordMemory Client");
        stage.setScene(scene);
        stage.show();
    }
View Full Code Here

Examples of com.kolakcc.loljclient.view.LoginView

  protected RegionsComboBoxModel regionsModel;
  protected LoLNewsTableModel newsModel;

  public LoginController() {
    this.initalizeWorkers();
    this.view = new LoginView();
    this.setView(this.view);
    this.view.usernameField.addActionListener(this);
    this.view.passwordField.addActionListener(this);
    this.view.loginButton.addActionListener(this);
    this.view.newsList.addMouseListener(this);
View Full Code Here

Examples of com.metadot.book.connectr.client.view.LoginView

  }
 
  public void showLoginView() {
    root = RootLayoutPanel.get();
    root.clear();
    LoginPresenter loginPresenter = new LoginPresenter(eventBus, new LoginView());
    loginPresenter.go(root);
  }
View Full Code Here

Examples of honeycrm.client.mvp.views.LoginView

  public void onValueChange(ValueChangeEvent<String> event) {
    final String token = History.getToken();

    if (null != token) {
      if (token.equals("logout") || !initialized || token.equals("login")) {
        new LoginPresenter(authService, confService, eventBus, new LoginView(constants)).go(container);
      } else if ("misc".equals(token)) {
        handleMisc();
      } else if ("plugins".equals(token)) {
        handlePlugins();
      } else if ("report".equals(token)) {
View Full Code Here

Examples of it.unipd.netmus.client.ui.LoginView

                        @Override
                        public void onSuccess(LoginDTO result) {

                            // Reimposta la login
                            LoginView loginView = client_factory.getLoginView();
                            loginView.setLayout();

                            try {
                                sendLogin(result.getUser(),
                                        result.getPassword());
                            } catch (LoginException e) {
View Full Code Here

Examples of it.unipd.netmus.client.ui.LoginView

            @Override
            public void onFailure(Throwable caught) {
                if (caught instanceof LoginException) {
                    // user not logged yet - show loginView
                    LoginView loginView = client_factory.getLoginView();
                    loginView.setError(error);
                    loginView.setLoginType(login_type);
                    loginView.setPassword(password);
                    loginView.setUser(user);
                    loginView.setPresenter(LoginActivity.this);
                    container_widget.setWidget(loginView.asWidget());

                }
            }

            @Override
View Full Code Here

Examples of org.rhq.coregui.client.LoginView

        switch (statusCode) {
        case STATUS_CODE_OK:
            if (response != null && response.getText() != null && response.getText().isEmpty()
                && !LoginView.isLoginShowing()) { // this happens when the RHQ server was restarted
                Log.error("RHQ server was probably restarted. Showing the login page.");
                new LoginView().showLoginDialog(true);
                break;
            }
            RPCTracker.getInstance().succeedCall(this);
            callback.onResponseReceived(request, response);
            break;

        // these status codes are known to be returned from various browsers when the server is lost or not responding
        case STATUS_CODE_ERROR_INTERNET_NO_RESPONSE:
        case STATUS_CODE_ERROR_INTERNET_CANNOT_CONNECT:
        case STATUS_CODE_ERROR_INTERNET_CONNECTION_ABORTED:
            RPCTracker.getInstance().failCall(this);
            // If the server is unreachable or has terminated, and the user is still logged in,
            // let them know the server is now unreachable.
            if (UserSessionManager.isLoggedIn()) {
                CoreGUI.getErrorHandler().handleError(CoreGUI.getMessages().view_core_serverUnreachable());
            } else {
                new LoginView().showLoginDialog(true);
            }
            break;

        default:
            RPCTracker.getInstance().failCall(this);
            // process the failure only if the user still logged in
            if (UserSessionManager.isLoggedIn()) {
                callback.onResponseReceived(request, response);
            } else {
                new LoginView().showLoginDialog(true);
            }
        }
    }
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.