Sha256: d8a934e860c5ddd32535a34131ce2bf899bae10b0b1f6346ea03f9cbe86da3bf

Contents?: true

Size: 890 Bytes

Versions: 1

Compression:

Stored size: 890 Bytes

Contents

/**
 * Sencha GXT 3.1.1 - Sencha for GWT
 * Copyright(c) 2007-2014, Sencha, Inc.
 * licensing@sencha.com
 *
 * http://www.sencha.com/products/gxt/license/
 */
package com.dldinternet.aws.cfn.stacker.desktopapp.client.service;

import com.google.gwt.user.client.ui.HasWidgets;
import com.dldinternet.aws.cfn.stacker.desktopapp.client.LoginPresenter;
import com.dldinternet.aws.cfn.stacker.desktopapp.client.servicebus.ServiceProvider;

public class LoginServiceProvider implements ServiceProvider<LoginServiceRequest> {

  private LoginPresenter loginPresenter;
  private HasWidgets hasWidgets;

  public LoginServiceProvider(LoginPresenter loginPresenter, HasWidgets hasWidgets) {
    this.loginPresenter = loginPresenter;
    this.hasWidgets = hasWidgets;
  }

  @Override
  public void onServiceRequest(LoginServiceRequest loginServiceRequest) {
    loginPresenter.go(hasWidgets);
  }

}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aws-cfn-stacker-0.0.6 ui/src/com/dldinternet/aws/cfn/stacker/desktopapp/client/service/LoginServiceProvider.java