Sha256: 199bfd30f9a627f4c7bc845169986678a79417b43d263f0137cccf06ceacb7e7

Contents?: true

Size: 973 Bytes

Versions: 1

Compression:

Stored size: 973 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;

import com.google.gwt.user.client.ui.HasWidgets;

/**
 * Presents the profile settings view to the user.
 */
public interface ProfilePresenter {

  /**
   * Gets a copy of the current profile. This copy may be updated with changes
   * to the profile settings.
   * 
   * @return a copy of the current profile
   */
  ProfileModel getProfile();

  /**
   * Creates a profile view and connects it to the user interface.
   * 
   * @param hasWidgets the user interface
   */
  void go(HasWidgets hasWidgets);

  /**
   * Notifies the presenter that the user has cancelled the profile update
   * operation.
   */
  void onCancel();

  /**
   * Notifies the presenter that the user has completed the profile update
   * operation.
   */
  void onOkay();

}

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/ProfilePresenter.java