23 lines
586 B
Java
23 lines
586 B
Java
|
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) {
|
||
|
box = MessageBox.info(title, msg, null);
|
||
|
}
|
||
|
|
||
|
public MessageBoxInfo(String title, String msg, Listener<MessageBoxEvent> listener){
|
||
|
box = MessageBox.info(title, msg, listener);
|
||
|
}
|
||
|
|
||
|
public MessageBox getMessageBoxConfirm(){
|
||
|
return box;
|
||
|
}
|
||
|
}
|