Sha256: 83e5f75bb5176d61c3486a9a8c6ab479dd6e7e8141d84fc2dd4e05c88f39f35f
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 KB
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.event; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.GwtEvent; import com.dldinternet.aws.cfn.stacker.desktopapp.client.ProfileModel; import com.dldinternet.aws.cfn.stacker.desktopapp.client.event.UpdateProfileEvent.UpdateProfileHandler; public class UpdateProfileEvent extends GwtEvent<UpdateProfileHandler> { public interface UpdateProfileHandler extends EventHandler { void onUpdateProfile(UpdateProfileEvent event); } public static Type<UpdateProfileHandler> TYPE = new Type<UpdateProfileHandler>(); private ProfileModel profileModel; private boolean isUpdate; public UpdateProfileEvent(ProfileModel profileModel, boolean isUpdate) { this.profileModel = profileModel; this.isUpdate = isUpdate; } @Override public Type<UpdateProfileHandler> getAssociatedType() { return TYPE; } /** * Returns the updated profile, or null if the profile update was cancelled. * * @return the updated profile, or null if cancelled */ public ProfileModel getProfile() { return profileModel; } public boolean isUpdate() { return isUpdate; } @Override protected void dispatch(UpdateProfileHandler handler) { handler.onUpdateProfile(this); } }
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/event/UpdateProfileEvent.java |