package org.gcube.portlets.widgets.githubconnector.client.util;
import com.google.gwt.core.client.Callback;
/**
*
* @author Giancarlo Panichi email: g.panichi@isti.cnr.it
*
*/
public class GWTMessages {
public static void alert(String title, String text) {
AlertDialog alertDialgo = new AlertDialog(title, text);
alertDialgo.show();
}
public static void alert(String title, String text,
Callback callback) {
AlertDialog alertDialgo = new AlertDialog(title, text, callback);
alertDialgo.show();
}
}