39 lines
911 B
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 AccountingReadersEvent extends
|
||
|
GwtEvent<AccountingReadersEventHandler> {
|
||
|
public static Type<AccountingReadersEventHandler> TYPE = new Type<AccountingReadersEventHandler>();
|
||
|
private String itemIdentifier;
|
||
|
|
||
|
public AccountingReadersEvent(String itemIdentifier) {
|
||
|
this.itemIdentifier = itemIdentifier;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public Type<AccountingReadersEventHandler> getAssociatedType() {
|
||
|
return TYPE;
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void dispatch(AccountingReadersEventHandler handler) {
|
||
|
handler.onAccountingReadersShow(this);
|
||
|
}
|
||
|
|
||
|
public String getItemIdentifier() {
|
||
|
return itemIdentifier;
|
||
|
}
|
||
|
|
||
|
public void setItemIdentifier(String itemIdentifier) {
|
||
|
this.itemIdentifier = itemIdentifier;
|
||
|
}
|
||
|
|
||
|
}
|