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