$wnd.showcase.runAsyncCallback7("function GJb(){HJb.call(this,false)}\nfunction aKb(a,b){cKb.call(this,a,false);this.b=b}\nfunction bKb(a,b){cKb.call(this,a,false);_Jb(this,b)}\nfunction dKb(a){cKb.call(this,'GWT',true);_Jb(this,a)}\nfunction Fcb(a){this.c=a;this.b=s0(this.c.a)}\nfunction kJb(a,b){return rJb(a,b,a.a.b.length)}\nfunction _Jb(a,b){a.e=b;!!a.d&&FJb(a.d,a);tp(b.hb,-1);Ee();Pb(a.hb)}\nfunction Pb(a){Xb((sd(),nd),a,LC(JC(aW,1),U7b,85,0,[(bYb(),bYb(),aYb)]))}\nfunction rJb(a,b,c){if(c<0||c>a.a.b.length){throw new WXb}a.o&&qp(b.hb,Mcc,2);jJb(a,c,b.hb);X1b(a.a,c,b);return b}\nfunction fKb(){var a;hh(this,Sp($doc,Zbc));np(this.hb,'gwt-MenuItemSeparator');a=Sp($doc,q8b);To(this.hb,Ixb(a));np(a,'menuSeparatorInner')}\nfunction o0(a){var b,c;b=SC(a.a.ah(edc),5);if(b==null){c=LC(JC(sW,1),X9b,2,4,['New','Open','Close',fdc,'Exit']);a.a.bh(edc,c);return c}else{return b}}\nfunction n0(a){var b,c;b=SC(a.a.ah(ddc),5);if(b==null){c=LC(JC(sW,1),X9b,2,4,['Undo','Redo','Cut','Copy','Paste']);a.a.bh(ddc,c);return c}else{return b}}\nfunction r0(a){var b,c;b=SC(a.a.ah(idc),5);if(b==null){c=LC(JC(sW,1),X9b,2,4,['Contents','Fortune Cookie','About GWT']);a.a.bh(idc,c);return c}else{return b}}\nfunction q0(a){var b,c;b=SC(a.a.ah(hdc),5);if(b==null){c=LC(JC(sW,1),X9b,2,4,['Download','Examples',qac,\"GWT wit' the program\"]);a.a.bh(hdc,c);return c}else{return b}}\nfunction p0(a){var b,c;b=SC(a.a.ah(gdc),5);if(b==null){c=LC(JC(sW,1),X9b,2,4,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);a.a.bh(gdc,c);return c}else{return b}}\nfunction s0(a){var b,c;b=SC(a.a.ah(jdc),5);if(b==null){c=LC(JC(sW,1),X9b,2,4,['Thank you for selecting a menu item','A fine selection indeed',\"Don't you have anything better to do than select menu items?\",'Try something else','this is just a menu!','Another wasted click']);a.a.bh(jdc,c);return c}else{return b}}\nfunction Ccb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new Fcb(a);o=new GJb;o.b=true;Jq(o.hb.style,i8b,'500px');o.e=true;r=new HJb(true);q=p0(a.a);for(k=0;k<q.length;k++){iJb(r,new aKb(q[k],p))}d=new HJb(true);d.e=true;iJb(o,new bKb('File',d));e=o0(a.a);for(l=0;l<e.length;l++){if(l==3){kJb(d,new fKb);iJb(d,new bKb(e[3],r));kJb(d,new fKb)}else{iJb(d,new aKb(e[l],p))}}b=new HJb(true);iJb(o,new bKb('Edit',b));c=n0(a.a);for(m=0;m<c.length;m++){iJb(b,new aKb(c[m],p))}f=new HJb(true);iJb(o,new dKb(f));g=q0(a.a);for(n=0;n<g.length;n++){iJb(f,new aKb(g[n],p))}h=new HJb(true);kJb(o,new fKb);iJb(o,new bKb('Help',h));i=r0(a.a);for(j=0;j<i.length;j++){iJb(h,new aKb(i[j],p))}ERb(o.hb,'','cwMenuBar');EJb(o,'cwMenuBar');return o}\nvar ddc='cwMenuBarEditOptions',edc='cwMenuBarFileOptions',gdc='cwMenuBarFileRecents',hdc='cwMenuBarGWTOptions',idc='cwMenuBarHelpOptions',jdc='cwMenuBarPrompts';SX(393,1,{},Fcb);_.zc=function Gcb(){xyb(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var kN=zYb(zac,'CwMenuBar/1',393);SX(394,1,wac);_.xc=function Jcb(){j_(this.b,Ccb(this.a))};SX(119,6,o8b,GJb);SX(58,7,kdc,aKb,bKb,dKb);SX(167,7,{9:1,167:1,7:1},fKb);var _S=zYb(m8b,'MenuItemSeparator',167);z7b(Cl)(7);\n//# sourceURL=showcase-7.js\n")
