package org.gcube.portlets.user.workspace.client.gridevent; import com.google.gwt.event.shared.GwtEvent; /** * * @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it * */ public class StoreGridChangedEvent extends GwtEvent { public static Type TYPE = new Type(); private int size = -1; /** * @param size */ public StoreGridChangedEvent(int size) { this.size = size; } @Override public Type getAssociatedType() { return TYPE; } @Override protected void dispatch(StoreGridChangedEventHandler handler) { handler.onStoreChanged(this); } public int getSize() { return size; } }