$wnd.showcase.runAsyncCallback7("function soc(){toc.call(this,false)}\nfunction Poc(a,b){Roc.call(this,a,false);this.b=b}\nfunction Qoc(a,b){Roc.call(this,a,false);Ooc(this,b)}\nfunction Soc(a){Roc.call(this,'GWT',true);Ooc(this,a)}\nfunction nTb(a){this.c=a;this.b=aHb(this.c.a)}\nfunction Xnc(a,b){return doc(a,b,a.a.b.length)}\nfunction Ooc(a,b){a.e=b;!!a.d&&roc(a.d,a);(Glc(),Ubc(),b.hb).tabIndex=-1;Ee();Pb(a.hb)}\nfunction Pb(a){Xb((sd(),nd),a,Hfb(Ffb(OAb,1),LOc,112,0,[(UCc(),UCc(),TCc)]))}\nfunction doc(a,b,c){if(c<0||c>a.a.b.length){throw new NCc}a.o&&wp((Ubc(),b.hb),AUc,2);Wnc(a,c,(Ubc(),b.hb));OIc(a.a,c,b);return b}\nfunction YGb(a){var b,c;b=Ofb(a.a.Wh(UUc),5);if(b==null){c=Hfb(Ffb(eBb,1),SQc,2,4,['New','Open','Close',VUc,'Exit']);a.a.Xh(UUc,c);return c}else{return b}}\nfunction XGb(a){var b,c;b=Ofb(a.a.Wh(TUc),5);if(b==null){c=Hfb(Ffb(eBb,1),SQc,2,4,['Undo','Redo','Cut','Copy','Paste']);a.a.Xh(TUc,c);return c}else{return b}}\nfunction _Gb(a){var b,c;b=Ofb(a.a.Wh(YUc),5);if(b==null){c=Hfb(Ffb(eBb,1),SQc,2,4,['Contents','Fortune Cookie','About GWT']);a.a.Xh(YUc,c);return c}else{return b}}\nfunction $Gb(a){var b,c;b=Ofb(a.a.Wh(XUc),5);if(b==null){c=Hfb(Ffb(eBb,1),SQc,2,4,['Download','Examples',LRc,\"GWT wit' the program\"]);a.a.Xh(XUc,c);return c}else{return b}}\nfunction ZGb(a){var b,c;b=Ofb(a.a.Wh(WUc),5);if(b==null){c=Hfb(Ffb(eBb,1),SQc,2,4,['Fishing in the desert.txt','How to tame a wild parrot','Idiots Guide to Emu Farms']);a.a.Xh(WUc,c);return c}else{return b}}\nfunction Uoc(){var a;lh(this,(Ubc(),$doc.createElement(wTc)));tp(this.hb,'gwt-MenuItemSeparator');a=$doc.createElement(gPc);$o(this.hb,_bc(a));tp(a,'menuSeparatorInner')}\nfunction aHb(a){var b,c;b=Ofb(a.a.Wh(ZUc),5);if(b==null){c=Hfb(Ffb(eBb,1),SQc,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.Xh(ZUc,c);return c}else{return b}}\nfunction kTb(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r;p=new nTb(a);o=new soc;o.b=true;(Ubc(),o.hb).style[aPc]='500px';o.e=true;r=new toc(true);q=ZGb(a.a);for(k=0;k<q.length;k++){Vnc(r,new Poc(q[k],p))}d=new toc(true);d.e=true;Vnc(o,new Qoc('File',d));e=YGb(a.a);for(l=0;l<e.length;l++){if(l==3){Xnc(d,new Uoc);Vnc(d,new Qoc(e[3],r));Xnc(d,new Uoc)}else{Vnc(d,new Poc(e[l],p))}}b=new toc(true);Vnc(o,new Qoc('Edit',b));c=XGb(a.a);for(m=0;m<c.length;m++){Vnc(b,new Poc(c[m],p))}f=new toc(true);Vnc(o,new Soc(f));g=$Gb(a.a);for(n=0;n<g.length;n++){Vnc(f,new Poc(g[n],p))}h=new toc(true);Xnc(o,new Uoc);Vnc(o,new Qoc('Help',h));i=_Gb(a.a);for(j=0;j<i.length;j++){Vnc(h,new Poc(i[j],p))}qwc(o.hb,'','cwMenuBar');qoc(o,'cwMenuBar');return o}\nvar TUc='cwMenuBarEditOptions',UUc='cwMenuBarFileOptions',WUc='cwMenuBarFileRecents',XUc='cwMenuBarGWTOptions',YUc='cwMenuBarHelpOptions',ZUc='cwMenuBarPrompts';ECb(422,1,{},nTb);_.zc=function oTb(){Tcc(this.b[this.a]);this.a=(this.a+1)%this.b.length};_.a=0;var Zrb=qDc(URc,'CwMenuBar/1',422);ECb(423,1,RRc);_.xc=function rTb(){TFb(this.b,kTb(this.a))};ECb(146,6,ePc,soc);ECb(85,7,$Uc,Poc,Qoc,Soc);ECb(194,7,{9:1,194:1,7:1},Uoc);var Lxb=qDc(dPc,'MenuItemSeparator',194);qOc(Jl)(7);\n//# sourceURL=showcase-7.js\n")
