Subversion Repositories SmartDukaan

Rev

Rev 1962 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1961 ankur.sing 1
package in.shop2020.catalog.dashboard.client;
2
 
3
import com.google.gwt.event.dom.client.ClickEvent;
4
import com.google.gwt.event.dom.client.ClickHandler;
5
import com.google.gwt.user.client.ui.Button;
6
import com.google.gwt.user.client.ui.DialogBox;
7
 
2427 ankur.sing 8
/**
9
 * this dialog box is popped on click of About link in TopPanel.
10
 *
11
 */
1961 ankur.sing 12
public class StatusDialog extends DialogBox{
13
 
14
    public StatusDialog(){
15
        Button ok = new Button("Close");
16
        ok.addClickHandler(new ClickHandler() {
17
 
18
            @Override
19
            public void onClick(ClickEvent event) {
20
                StatusDialog.this.hide();               
21
            }
22
        });
23
        setAutoHideEnabled(true);
24
        setGlassEnabled(true);
25
        //setPixelSize(300, 300);
26
        setPopupPosition(500, 250);
27
        setWidget(ok);
28
    }
29
}