169170171172173174175176177178179
Popup pop = new Popup("The Official Store !!"); // do not forget a store is a Content and a content is an // extension of Widget. pop.setContent(new StoreForm()); pop.center(); } }); mainPanel.add(this.openInPopupBt);
8687888990919293949596
public void onClick(ClickEvent event) { Popup pop = new Popup(); ArticleEditor articleEditor = new ArticleEditor(currentArticle.getId(), pop); pop.setContent(articleEditor); pop.center(); } }); removeBT.addClickHandler(new ClickHandler() {
177178179180181182183184185186187
Popup pop = new Popup("The Official Store !!"); // do not forget a store is a Content and a content is an // extension of Widget. pop.setContent(new StoreForm2()); pop.center(); } }); mainPanel.add(this.openInPopupBt);