Sha256: 4433382ff507360dfb8abf953784a5dd2139235be626c4de8c0cfbabaee8a47c

Contents?: true

Size: 915 Bytes

Versions: 1

Compression:

Stored size: 915 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.ProfilePresenter;
import com.dldinternet.aws.cfn.stacker.desktopapp.client.servicebus.ServiceProvider;

public class ProfileServiceProvider implements ServiceProvider<ProfileServiceRequest> {

  private ProfilePresenter profilePresenter;
  private HasWidgets hasWidgets;

  public ProfileServiceProvider(ProfilePresenter profilePresenter, HasWidgets hasWidgets) {
    this.profilePresenter = profilePresenter;
    this.hasWidgets = hasWidgets;
  }

  @Override
  public void onServiceRequest(ProfileServiceRequest profileServiceRequest) {
    profilePresenter.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/ProfileServiceProvider.java