37 lines
698 B
Java
37 lines
698 B
Java
package org.gcube.portlets.user.workspace.client.view.windows;
|
|
|
|
import com.extjs.gxt.ui.client.widget.Info;
|
|
import com.extjs.gxt.ui.client.widget.InfoConfig;
|
|
|
|
/**
|
|
* @author Francesco Mangiacrapa francesco.mangiacrapa{@literal @}isti.cnr.it
|
|
*
|
|
*/
|
|
public class InfoDisplay extends Info {
|
|
|
|
/**
|
|
*
|
|
* @param title
|
|
* title
|
|
* @param text
|
|
* text
|
|
* @param milliseconds
|
|
* milliseconds
|
|
*/
|
|
public InfoDisplay(String title, String text, int milliseconds) {
|
|
|
|
InfoConfig config = new InfoConfig(title, text);
|
|
|
|
config.display = milliseconds;
|
|
|
|
Info.display(config);
|
|
|
|
}
|
|
|
|
public InfoDisplay(String title, String text) {
|
|
|
|
Info.display(title, text);
|
|
|
|
}
|
|
}
|