workspace-tree-widget/src/main/java/org/gcube/portlets/user/workspace/client/event/AccountingHistoryEvent.java

39 lines
911 B
Java

package org.gcube.portlets.user.workspace.client.event;
import com.google.gwt.event.shared.GwtEvent;
/**
*
* @author Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
* @May 23, 2013
*
*/
public class AccountingHistoryEvent extends
GwtEvent<AccountingHistoryEventHandler> {
public static Type<AccountingHistoryEventHandler> TYPE = new Type<AccountingHistoryEventHandler>();
private String itemIdentifier;
public AccountingHistoryEvent(String itemIdentifier) {
this.itemIdentifier = itemIdentifier;
}
@Override
public Type<AccountingHistoryEventHandler> getAssociatedType() {
return TYPE;
}
@Override
protected void dispatch(AccountingHistoryEventHandler handler) {
handler.onAccountingHistoryShow(this);
}
public String getItemIdentifier() {
return itemIdentifier;
}
public void setItemIdentifier(String itemIdentifier) {
this.itemIdentifier = itemIdentifier;
}
}