2013-02-06 15:40:17 +01:00
|
|
|
package org.gcube.portlets.user.workspace.client.view.windows;
|
|
|
|
|
|
|
|
import com.extjs.gxt.ui.client.event.Listener;
|
|
|
|
import com.extjs.gxt.ui.client.event.MessageBoxEvent;
|
|
|
|
import com.extjs.gxt.ui.client.widget.MessageBox;
|
|
|
|
|
|
|
|
public class MessageBoxInfo {
|
|
|
|
|
|
|
|
private MessageBox box = null;
|
|
|
|
|
|
|
|
public MessageBoxInfo(String title, String msg) {
|
2013-03-25 11:14:26 +01:00
|
|
|
InfoDisplay.display(title, msg);
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public MessageBoxInfo(String title, String msg, Listener<MessageBoxEvent> listener){
|
2013-03-25 11:14:26 +01:00
|
|
|
InfoDisplay.display(title, msg);
|
2013-02-06 15:40:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public MessageBox getMessageBoxConfirm(){
|
|
|
|
return box;
|
|
|
|
}
|
|
|
|
}
|