Using an Timer instance to show waitHint (as in RAP 2.1)

Using Timer.once has the side effect of showing the waitHint not just if
a single request takes to long, but also when another (new) request is
running after the timeout.
diff --git a/bundles/org.eclipse.rap.rwt/js/org/eclipse/swt/Request.js b/bundles/org.eclipse.rap.rwt/js/org/eclipse/swt/Request.js
index ecd6f94..339619f 100644
--- a/bundles/org.eclipse.rap.rwt/js/org/eclipse/swt/Request.js
+++ b/bundles/org.eclipse.rap.rwt/js/org/eclipse/swt/Request.js
@@ -40,10 +40,14 @@
     // References the currently running request or null if no request is active
     this._currentRequest = null;
     this._waitHintTime = 700;
+    this._waitHintTimer = new qx.client.Timer( this._waitHintTime );
+    this._waitHintTimer.addEventListener( "interval", this._showWaitHint, this );
   },
 
   destruct : function() {
     this._currentRequest = null;
+    this._waitHintTimer.dispose();
+    this._waitHintTimer = null;
   },
 
   events : {
@@ -154,7 +158,7 @@
         this._runningRequestCount++;
         // notify user when request takes longer than 500 ms
         if( this._runningRequestCount === 1 ) {
-          qx.client.Timer.once( this._showWaitHint, this, this._waitHintTime );
+          this._waitHintTimer.startWith( this._waitHintTime );
         }
         // clear the parameter list
         this._parameters = {};
@@ -357,6 +361,7 @@
     // Wait hint - UI feedback while request is running
 
     _showWaitHint : function() {
+      this._waitHintTimer.stop();
       if( this._runningRequestCount > 0 ) {
         var doc = qx.ui.core.ClientDocument.getInstance();
         doc.setGlobalCursor( qx.constant.Style.CURSOR_PROGRESS );
@@ -365,6 +370,7 @@
     },
 
     _hideWaitHint : function() {
+      this._waitHintTimer.stop();
       if( this._runningRequestCount === 0 ) {
         var doc = qx.ui.core.ClientDocument.getInstance();
         doc.setGlobalCursor( null );
diff --git a/bundles/org.eclipse.rap.rwt/resources/client.js b/bundles/org.eclipse.rap.rwt/resources/client.js
index 05c3c2b..628c242 100644
--- a/bundles/org.eclipse.rap.rwt/resources/client.js
+++ b/bundles/org.eclipse.rap.rwt/resources/client.js
@@ -18,7 +18,7 @@
 qx.Class.define($[3],{extend:qx.core.Object,construct:function(a){arguments.callee.base.call(this);this.setType(a)},properties:{type:{_fast:true,setOnlyOnce:true},originalTarget:{_fast:true,setOnlyOnce:true},target:{_fast:true,setOnlyOnce:true},relatedTarget:{_fast:true,setOnlyOnce:true},currentTarget:{_fast:true},bubbles:{_fast:true,defaultValue:false,noCompute:true},propagationStopped:{_fast:true,defaultValue:true,noCompute:true},defaultPrevented:{_fast:true,defaultValue:false,noCompute:true}},members:{_autoDispose:false,preventDefault:function(){this.setDefaultPrevented(true)},stopPropagation:function(){this.setPropagationStopped(true)}},destruct:function(){this._disposeFields("_valueOriginalTarget","_valueTarget","_valueRelatedTarget","_valueCurrentTarget")}});
 qx.Class.define($[48],{extend:qx.event.type.Event,construct:function(a,b){arguments.callee.base.call(this,a);this.setData(b)},properties:{propagationStopped:{_fast:true,defaultValue:false},data:{_fast:true}},destruct:function(){this._disposeFields("_valueData")}});
 qx.Class.define($[441],{extend:qx.event.type.Event,construct:function(b,c,a){arguments.callee.base.call(this,b);this.setValue(c);this.setOldValue(a)},properties:{value:{_fast:true},oldValue:{_fast:true}},members:{getData:function(){return this.getValue()}},destruct:function(){this._disposeFields("_valueValue","_valueOldValue")}});
-qx.Class.define("qx.client.Timer",{extend:qx.core.Target,construct:function(a){arguments.callee.base.call(this);this.setEnabled(false);if(a!=null){this.setInterval(a)}this.__oninterval=qx.lang.Function.bind(this._oninterval,this);this.__event=new qx.event.type.Event($[28])},events:{interval:$[3]},statics:{once:function(a,c,b){var d=new qx.client.Timer(b);d.addEventListener($[28],function(f){d.dispose();a.call(c,f);c=null},c);d.start()}},properties:{enabled:{init:true,check:$[2],apply:$[334]},interval:{check:$[14],init:1000,apply:"_applyInterval"}},members:{__intervalHandler:null,_applyInterval:function(b,a){if(this.getEnabled()){this.restart()}},_applyEnabled:function(b,a){if(a){window.clearInterval(this.__intervalHandler);this.__intervalHandler=null}else{if(b){this.__intervalHandler=window.setInterval(this.__oninterval,this.getInterval())}}},start:function(){this.setEnabled(true)},startWith:function(a){this.setInterval(a);this.start()},stop:function(){this.setEnabled(false)},restart:function(){this.stop();this.start()},restartWith:function(a){this.stop();this.startWith(a)},_oninterval:function(){try{if(this.getEnabled()&&this.hasEventListeners($[28])){this.dispatchEvent(this.__event,false)}}catch(a){org.eclipse.rwt.ErrorHandler.processJavaScriptError(a)}}},destruct:function(){if(this.__intervalHandler){window.clearInterval(this.__intervalHandler)}this._disposeFields("__intervalHandler","__oninterval","__event")}});
+qx.Class.define("qx.client.Timer",{extend:qx.core.Target,construct:function(a){arguments.callee.base.call(this);this.setEnabled(false);if(a!=null){this.setInterval(a)}this.__oninterval=qx.lang.Function.bind(this._oninterval,this);this.__event=new qx.event.type.Event($[26])},events:{interval:$[3]},statics:{once:function(a,c,b){var d=new qx.client.Timer(b);d.addEventListener($[26],function(f){d.dispose();a.call(c,f);c=null},c);d.start()}},properties:{enabled:{init:true,check:$[2],apply:$[334]},interval:{check:$[14],init:1000,apply:"_applyInterval"}},members:{__intervalHandler:null,_applyInterval:function(b,a){if(this.getEnabled()){this.restart()}},_applyEnabled:function(b,a){if(a){window.clearInterval(this.__intervalHandler);this.__intervalHandler=null}else{if(b){this.__intervalHandler=window.setInterval(this.__oninterval,this.getInterval())}}},start:function(){this.setEnabled(true)},startWith:function(a){this.setInterval(a);this.start()},stop:function(){this.setEnabled(false)},restart:function(){this.stop();this.start()},restartWith:function(a){this.stop();this.startWith(a)},_oninterval:function(){try{if(this.getEnabled()&&this.hasEventListeners($[26])){this.dispatchEvent(this.__event,false)}}catch(a){org.eclipse.rwt.ErrorHandler.processJavaScriptError(a)}}},destruct:function(){if(this.__intervalHandler){window.clearInterval(this.__intervalHandler)}this._disposeFields("__intervalHandler","__oninterval","__event")}});
 qx.Class.define("qx.html.String",{statics:{escape:function(a){return qx.dom.String.escapeEntities(a,qx.html.Entity.FROM_CHARCODE)},unescape:function(a){return qx.dom.String.unescapeEntities(a,qx.html.Entity.TO_CHARCODE)},fromText:function(a){return qx.html.String.escape(a).replace(/(  |\n)/g,function(b){var c={"  ":" &nbsp;","\n":"<br>"};return c[b]||b})},toText:function(a){return qx.html.String.unescape(a.replace(/\s+|<([^>])+>/gi,function(b){if(/\s+/.test(b)){return" "}else{if(/^<BR|^<br/gi.test(b)){return"\n"}else{return""}}}))}}});
 qx.Class.define("qx.dom.String",{statics:{escapeEntities:qx.core.Variant.select($[0],{mshtml:function(h,d){var c,a=[];for(var e=0,b=h.length;e<b;e++){var f=h.charAt(e);var g=f.charCodeAt(0);if(d[g]){c="&"+d[g]+";"}else{if(g>127){c="&#"+g+";"}else{c=f}}a[a.length]=c}return a.join("")},"default":function(h,d){var c,a="";for(var e=0,b=h.length;e<b;e++){var f=h.charAt(e);var g=f.charCodeAt(0);if(d[g]){c="&"+d[g]+";"}else{if(g>127){c="&#"+g+";"}else{c=f}}a+=c}return a}}),unescapeEntities:function(b,a){return b.replace(/&[#\w]+;/gi,function(c){var d=c;var c=c.substring(1,c.length-1);var e=a[c];if(e){d=String.fromCharCode(e)}else{if(c.charAt(0)=="#"){if(c.charAt(1).toUpperCase()=="X"){e=c.substring(2);if(e.match(/^[0-9A-Fa-f]+$/gi)){d=String.fromCharCode(parseInt("0x"+e))}}else{e=c.substring(1);if(e.match(/^\d+$/gi)){d=String.fromCharCode(parseInt(e))}}}}return d})},stripTags:function(a){return a.replace(/<\/?[^>]+>/gi,"")}}});
 qx.Class.define("qx.html.Entity",{statics:{TO_CHARCODE:{quot:34,amp:38,lt:60,gt:62,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,copy:169,ordf:170,laquo:171,not:172,shy:173,reg:174,macr:175,deg:176,plusmn:177,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,sup1:185,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,Agrave:192,Aacute:193,Acirc:194,Atilde:195,Auml:196,Aring:197,AElig:198,Ccedil:199,Egrave:200,Eacute:201,Ecirc:202,Euml:203,Igrave:204,Iacute:205,Icirc:206,Iuml:207,ETH:208,Ntilde:209,Ograve:210,Oacute:211,Ocirc:212,Otilde:213,Ouml:214,times:215,Oslash:216,Ugrave:217,Uacute:218,Ucirc:219,Uuml:220,Yacute:221,THORN:222,szlig:223,agrave:224,aacute:225,acirc:226,atilde:227,auml:228,aring:229,aelig:230,ccedil:231,egrave:232,eacute:233,ecirc:234,euml:235,igrave:236,iacute:237,icirc:238,iuml:239,eth:240,ntilde:241,ograve:242,oacute:243,ocirc:244,otilde:245,ouml:246,divide:247,oslash:248,ugrave:249,uacute:250,ucirc:251,uuml:252,yacute:253,thorn:254,yuml:255,fnof:402,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,bull:8226,hellip:8230,prime:8242,Prime:8243,oline:8254,frasl:8260,weierp:8472,image:8465,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,"int":8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,circ:710,tilde:732,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,permil:8240,lsaquo:8249,rsaquo:8250,euro:8364}},defer:function(c,a,b){c.FROM_CHARCODE=qx.lang.Object.invert(c.TO_CHARCODE)}});
@@ -32,7 +32,7 @@
 namespace($[187]);org.eclipse.rwt.protocol.EncodingUtil={_escapeRegExp:/(&|<|>|\")/g,_escapeRegExpMnemonics:/(&&|&|<|>|")/g,_newlineRegExp:/(\r\n|\n|\r)/g,_outerWhitespaceRegExp:/(^ {1,1}| +$)/g,_outerWhitespaceRegExp2:/(^ {1,}| +$)/g,_whitespaceRegExp:/ {2,}/g,_escapeResolver:null,_escapeResolverMnemonics:null,_mnemonicFound:false,_escapeMap:{"<":"&lt;",">":"&gt;",'"':"&quot;","&&":"&amp;","&":"&amp;"},escapeText:function(c,b){if(c===null){throw new Error("escapeText with parameter null not allowed")}var a;this._mnemonicFound=false;if(b){a=c.replace(this._escapeRegExpMnemonics,this._getEscapeResolverMnemonics())}else{a=c.replace(this._escapeRegExp,this._getEscapeResolver())}return this.truncateAtZero(a)},truncateAtZero:function(c){var a=c;var b=a.indexOf(String.fromCharCode(0));if(b!==-1){a=a.substring(0,b)}return a},replaceNewLines:function(c,a){var b=arguments.length>1?a:"\\n";return c.replace(this._newlineRegExp,b)},replaceWhiteSpaces:function(b){var a=b.replace(this._outerWhitespaceRegExp,this._outerWhitespaceResolver);a=a.replace(this._whitespaceRegExp,this._whitespaceResolver);return a},escapeLeadingTrailingSpaces:function(a){return a.replace(this._outerWhitespaceRegExp2,this._outerWhitespaceResolver)},_getEscapeResolverMnemonics:function(){if(this._escapeResolverMnemonics===null){this._getEscapeResolver();var a=this;this._escapeResolverMnemonics=function(c){var b;if(c==="&"&&!a._mnemonicFound){b="";a._mnemonicFound=true}else{b=a._escapeResolver(c)}return b}}return this._escapeResolverMnemonics},_getEscapeResolver:function(){if(this._escapeResolver===null){var a=this;this._escapeResolver=function(b){return a._escapeMap[b]}}return this._escapeResolver},_outerWhitespaceResolver:function(a){return a.replace(/ /g,"&nbsp;")},_whitespaceResolver:function(a){return a.slice(1).replace(/ /g,"&nbsp;")+" "}};
 namespace($[217]);org.eclipse.rwt.Display=function(){this._document=qx.ui.core.ClientDocument.getInstance();this._request=org.eclipse.swt.Request.getInstance();this._exitConfirmation=null;if(org.eclipse.rwt.Display._current!==undefined){throw new Error("Display can not be created twice")}else{org.eclipse.rwt.Display._current=this}};org.eclipse.rwt.Display.getCurrent=function(){return org.eclipse.rwt.Display._current};org.eclipse.rwt.Display.prototype={init:function(a){this._request.setUrl(a.url);this._request.setUIRootId(a.rootId);this._request.addParameter("rwt_initialize","true");this._appendWindowSize();this._appendSystemDPI();this._appendColorDepth();this._appendInitialHistoryEvent();this._attachListener();this._request._sendImmediate(true)},probe:function(a){org.eclipse.swt.FontSizeCalculation.probe(a.fonts)},measureStrings:function(a){org.eclipse.swt.FontSizeCalculation.measureStringItems(a.strings)},allowEvent:function(){org.eclipse.rwt.KeyEventSupport.getInstance().allowEvent()},cancelEvent:function(){org.eclipse.rwt.KeyEventSupport.getInstance().cancelEvent()},beep:function(){},setExitConfirmation:function(a){this._exitConfirmation=a},setFocusControl:function(a){org.eclipse.swt.WidgetManager.getInstance().focus(a)},setCurrentTheme:function(a){org.eclipse.swt.theme.ThemeStore.getInstance().setCurrentTheme(a)},setEnableUiTests:function(a){qx.ui.core.Widget._renderHtmlIds=a},_attachListener:function(){this._document.addEventListener($[244],this._onResize,this);this._document.addEventListener($[4],this._onKeyPress,this);this._request.addEventListener("send",this._onSend,this);org.eclipse.rwt.KeyEventSupport.getInstance();org.eclipse.rwt.System.getInstance().addEventListener($[245],this._onBeforeUnload,this);org.eclipse.rwt.System.getInstance().addEventListener("unload",this._onUnload,this)},_onResize:function(a){this._appendWindowSize();if(this._request.getRequestCounter()!=null){this._request.send()}},_onKeyPress:function(a){if(a.getKeyIdentifier()==$[103]){a.preventDefault()}},_onSend:function(a){var c=qx.event.type.MouseEvent.getPageX();var b=qx.event.type.MouseEvent.getPageY();var d=this._request.getUIRootId();this._request.addParameter(d+".cursorLocation.x",String(c));this._request.addParameter(d+".cursorLocation.y",String(b))},_onBeforeUnload:function(a){if(this._exitConfirmation!==null&&this._exitConfirmation!==""){a.getDomEvent().returnValue=this._exitConfirmation;a.setUserData($[385],this._exitConfirmation)}},_onUnload:function(){this._document.removeEventListener($[244],this._onResize,this);this._document.removeEventListener($[4],this._onKeyPress,this);this._request.removeEventListener("send",this._onSend,this)},_appendWindowSize:function(){var b=qx.html.Window.getInnerWidth(window);var a=qx.html.Window.getInnerHeight(window);var c=this._request.getUIRootId();this._request.addParameter(c+$[267],String(b));this._request.addParameter(c+$[278],String(a))},_appendSystemDPI:function(){var a=[0,0];if(typeof screen.systemXDPI==$[62]){a[0]=parseInt(screen.systemXDPI,10);a[1]=parseInt(screen.systemYDPI,10)}else{var b=document.createElement("div");b.style.width="1in";b.style.height="1in";b.style.padding=0;document.body.appendChild(b);a[0]=parseInt(b.offsetWidth,10);a[1]=parseInt(b.offsetHeight,10);document.body.removeChild(b)}this._request.addParameter("w1.dpi.x",String(a[0]));this._request.addParameter("w1.dpi.y",String(a[1]))},_appendColorDepth:function(){var a=16;if(typeof screen.colorDepth==$[62]){a=parseInt(screen.colorDepth,10)}if(org.eclipse.rwt.Client.isGecko()){a=a==24?32:a}this._request.addParameter("w1.colorDepth",String(a))},_appendInitialHistoryEvent:function(){var b=org.eclipse.swt.Request.getInstance();var a=window.location.hash;if(a!==""){b.addParameter($[426],"true");b.addParameter($[472],a.substr(1))}}};
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.Display",{factory:function(a){return new org.eclipse.rwt.Display()},destructor:null,properties:["exitConfirmation","focusControl","currentTheme","enableUiTests",$[234],$[276]],listeners:[],methods:["init","probe","measureStrings","allowEvent","cancelEvent","beep"],propertyHandler:{activeKeys:function(a,b){var c=qx.lang.Object.fromArray(b);org.eclipse.rwt.KeyEventSupport.getInstance().setKeyBindings(c)},cancelKeys:function(a,b){var c=qx.lang.Object.fromArray(b);org.eclipse.rwt.KeyEventSupport.getInstance().setCancelKeys(c)}}});
-qx.Class.define($[124],{extend:qx.core.Target,include:qx.util.manager.MConnectedObject,type:$[101],construct:function(){arguments.callee.base.call(this);this._layoutChanges={};this.initHideFocus();this._usesComplexBorder=false},events:{beforeAppear:$[3],appear:$[3],beforeDisappear:$[3],disappear:$[3],insertDom:$[3],create:$[3],execute:$[3],flush:$[48],mouseover:$[81],mousemove:$[81],mouseout:$[81],mousedown:$[81],mouseup:$[81],mousewheel:$[81],click:$[81],dblclick:$[81],contextmenu:$[81],elementOver:$[81],elementOut:$[81],keydown:$[270],keypress:$[270],keyup:$[270],focusout:$[215],focusin:$[215],blur:$[215],focus:$[215],dragdrop:$[149],dragout:$[149],dragover:$[149],dragmove:$[149],dragstart:$[149],dragend:$[149]},statics:{_globalWidgetQueue:[],_globalElementQueue:[],_globalStateQueue:[],_globalJobQueue:[],_globalLayoutQueue:[],_fastGlobalDisplayQueue:[],_lazyGlobalDisplayQueues:{},_globalDisposeQueue:[],_autoFlushTimeout:null,_flushGlobalQueuesPhase:0,_renderHtmlIds:false,_FLUSH_PHASE_IDLE:0,_FLUSH_PHASE_WIDGET:1,_FLUSH_PHASE_STATE:2,_FLUSH_PHASE_ELEMENT:3,_FLUSH_PHASE_JOB:4,_FLUSH_PHASE_LAYOUT:5,_FLUSH_PHASE_DISPLAY:6,_FLUSH_PHASE_DISPOSE:7,_initAutoFlush:function(a){if(qx.ui.core.Widget._autoFlushTimeout==null){if(!qx.ui.core.Widget._inFlushGlobalQueues||a<qx.ui.core.Widget._flushGlobalQueuesPhase){qx.ui.core.Widget._autoFlushTimeout=window.setTimeout(qx.ui.core.Widget._autoFlushHelper,0)}}},_removeAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){window.clearTimeout(qx.ui.core.Widget._autoFlushTimeout);qx.ui.core.Widget._autoFlushTimeout=null}},_autoFlushHelper:function(){try{qx.ui.core.Widget._autoFlushTimeout=null;if(!qx.core.Object.inGlobalDispose()){qx.ui.core.Widget.flushGlobalQueues()}}catch(a){org.eclipse.rwt.ErrorHandler.processJavaScriptError(a)}},flushGlobalQueues:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush()}if(qx.ui.core.Widget._inFlushGlobalQueues){return}if(!org.eclipse.rwt.System.getInstance().getUiReady()){return}qx.ui.core.Widget._inFlushGlobalQueues=true;qx.ui.core.Widget.flushGlobalWidgetQueue();qx.ui.core.Widget.flushGlobalStateQueue();qx.ui.core.Widget.flushGlobalElementQueue();qx.ui.core.Widget.flushGlobalJobQueue();qx.ui.core.Widget.flushGlobalLayoutQueue();qx.ui.core.Widget.flushGlobalDisplayQueue();qx.ui.core.Widget.flushGlobalDisposeQueue();qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_IDLE;delete qx.ui.core.Widget._inFlushGlobalQueues},addToGlobalWidgetQueue:function(a){if(!a._isInGlobalWidgetQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_WIDGET)}qx.ui.core.Widget._globalWidgetQueue.push(a);a._isInGlobalWidgetQueue=true}},removeFromGlobalWidgetQueue:function(a){if(a._isInGlobalWidgetQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalWidgetQueue,a);delete a._isInGlobalWidgetQueue}},flushGlobalWidgetQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_WIDGET;var a=qx.ui.core.Widget._globalWidgetQueue,c,d;while((c=a.length)>0){for(var b=0;b<c;b++){d=a[b];d.flushWidgetQueue();delete d._isInGlobalWidgetQueue}a.splice(0,c)}qx.ui.core.Widget._globalWidgetQueue=[]},addToGlobalElementQueue:function(a){if(!a._isInGlobalElementQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_ELEMENT)}qx.ui.core.Widget._globalElementQueue.push(a);a._isInGlobalElementQueue=true}},removeFromGlobalElementQueue:function(a){if(a._isInGlobalElementQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalElementQueue,a);delete a._isInGlobalElementQueue}},flushGlobalElementQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_ELEMENT;var a=qx.ui.core.Widget._globalElementQueue,c,d;while((c=a.length)>0){for(var b=0;b<c;b++){d=a[b];d._createElementImpl();delete d._isInGlobalElementQueue}a.splice(0,c)}qx.ui.core.Widget._globalElementQueue=[]},addToGlobalStateQueue:function(a){if(!a._isInGlobalStateQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_STATE)}qx.ui.core.Widget._globalStateQueue.push(a);a._isInGlobalStateQueue=true}},removeFromGlobalStateQueue:function(a){if(a._isInGlobalStateQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalStateQueue,a);delete a._isInGlobalStateQueue}},flushGlobalStateQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_STATE;var d=qx.ui.core.Widget;while(d._globalStateQueue.length>0){var a=qx.lang.Array.copy(d._globalStateQueue);d._globalStateQueue=[];for(var c=0,b=a.length;c<b;c++){var e=a[c];if(e._isInGlobalStateQueue){e._renderAppearance();delete e._isInGlobalStateQueue}}}},addToGlobalJobQueue:function(a){if(!a._isInGlobalJobQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_JOB)}qx.ui.core.Widget._globalJobQueue.push(a);a._isInGlobalJobQueue=true}},removeFromGlobalJobQueue:function(a){if(a._isInGlobalJobQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalJobQueue,a);delete a._isInGlobalJobQueue}},flushGlobalJobQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_JOB;var a=qx.ui.core.Widget._globalJobQueue,c,d;while((c=a.length)>0){for(var b=0;b<c;b++){d=a[b];d._flushJobQueue(d._jobQueue);delete d._isInGlobalJobQueue}a.splice(0,c)}qx.ui.core.Widget._globalJobQueue=[]},addToGlobalLayoutQueue:function(a){if(!a._isInGlobalLayoutQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_LAYOUT)}qx.ui.core.Widget._globalLayoutQueue.push(a);a._isInGlobalLayoutQueue=true}},removeFromGlobalLayoutQueue:function(a){if(a._isInGlobalLayoutQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalLayoutQueue,a);delete a._isInGlobalLayoutQueue}},flushGlobalLayoutQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_LAYOUT;var a=qx.ui.core.Widget._globalLayoutQueue,d,c;while((d=a.length)>0){for(var b=0;b<d;b++){c=a[b];c._flushChildrenQueue();delete c._isInGlobalLayoutQueue}a.splice(0,d)}qx.ui.core.Widget._globalLayoutQueue=[]},addToGlobalDisplayQueue:function(b){if(!b._isInGlobalDisplayQueue&&b._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_DISPLAY)}var a=b.getParent();if(a.isSeeable()){var c=a.toHashCode();if(qx.ui.core.Widget._lazyGlobalDisplayQueues[c]){qx.ui.core.Widget._lazyGlobalDisplayQueues[c].push(b)}else{qx.ui.core.Widget._lazyGlobalDisplayQueues[c]=[b]}}else{qx.ui.core.Widget._fastGlobalDisplayQueue.push(b)}b._isInGlobalDisplayQueue=true}},removeFromGlobalDisplayQueue:function(a){},flushGlobalDisplayQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_DISPLAY;var e,h,d,g;var f=qx.ui.core.Widget._fastGlobalDisplayQueue;var c=qx.ui.core.Widget._lazyGlobalDisplayQueues;for(var b=0,a=f.length;b<a;b++){d=f[b];d.getParent()._getTargetNode().appendChild(d.getElement())}for(e in c){h=c[e];if(document.createDocumentFragment&&h.length>=3){g=document.createDocumentFragment();for(var b=0,a=h.length;b<a;b++){d=h[b];g.appendChild(d.getElement())}h[0].getParent()._getTargetNode().appendChild(g);for(var b=0,a=h.length;b<a;b++){d=h[b];d._afterInsertDom()}}else{for(var b=0,a=h.length;b<a;b++){d=h[b];d.getParent()._getTargetNode().appendChild(d.getElement());d._afterInsertDom()}}}for(e in c){h=c[e];for(var b=0,a=h.length;b<a;b++){d=h[b];if(d.getVisibility()){d._afterAppear()}delete d._isInGlobalDisplayQueue}delete c[e]}if(qx.lang.Object.isEmpty(c)){qx.ui.core.Widget._lazyGlobalDisplayQueues={}}for(var b=0,a=f.length;b<a;b++){delete f[b]._isInGlobalDisplayQueue}qx.ui.core.Widget._fastGlobalDisplayQueue=[]},addToGlobalDisposeQueue:function(a){if(!a._isInGlobalDisposeQueue&&!a.isDisposed()){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_DISPOSE)}qx.ui.core.Widget._globalDisposeQueue.push(a);a._markInDispose()}},flushGlobalDisposeQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_DISPOSE;var a=qx.ui.core.Widget._globalDisposeQueue,c,d;while((c=a.length)>0){for(var b=0;b<c;b++){d=a[b];d.dispose();delete d._isInGlobalDisposeQueue}a.splice(0,c)}qx.ui.core.Widget._globalDisposeQueue=[]},getActiveSiblingHelperIgnore:function(b,c){for(var a=0;a<b.length;a++){if(c instanceof b[a]){return true}}return false},getActiveSiblingHelper:function(c,d,b,a,h){if(!a){a=[]}var f=d.getChildren();var g=h==null?f.indexOf(c)+b:h==="first"?0:f.length-1;var e=f[g];while(e&&(!e.getEnabled()||qx.ui.core.Widget.getActiveSiblingHelperIgnore(a,e))){g+=b;e=f[g];if(!e){return null}}return e},TYPE_NULL:0,TYPE_PIXEL:1,TYPE_PERCENT:2,TYPE_AUTO:3,TYPE_FLEX:4,__initApplyMethods:function(d){var g="_renderRuntime";var k="_resetRuntime";var b="this._style.";var f="=((v==null)?0:v)+'px'";var m="v";var h=["left",$[15],"top",$[31],$[27],$[23],$[91],$[90],$[99],$[94]];var p=["Left",$[39],"Top","Bottom","Width","Height","MinWidth","MaxWidth","MinHeight","MaxHeight"];var n=g+"Margin";var j=k+"Margin";var l=b+"margin";for(var e=0;e<4;e++){d[n+p[e]]=new Function(m,l+p[e]+f);d[j+p[e]]=new Function(l+p[e]+"=''")}var o=g+"Padding";var a=k+"Padding";var c=b+$[176];for(var e=0;e<4;e++){d[o+p[e]]=new Function(m,"this.setStyleProperty('padding"+p[e]+"', ((v==null)?0:v)+'px')");d[a+p[e]]=new Function("this.removeStyleProperty('padding"+p[e]+"')")}for(var e=0;e<h.length;e++){d[g+p[e]]=new Function(m,b+h[e]+f);d[k+p[e]]=new Function(b+h[e]+"=''")}},layoutPropertyTypes:{},__initLayoutProperties:function(j){var e=[$[27],$[23],$[91],$[90],$[99],$[94],"left",$[15],"top",$[31]];for(var g=0,d=e.length,h,c,f;g<d;g++){h=e[g];c="_computed"+qx.lang.String.toFirstUp(h);f=c+"Type";j.layoutPropertyTypes[h]={dataType:f,dataParsed:c+"Parsed",dataValue:c+"Value",typePixel:f+"Pixel",typePercent:f+"Percent",typeAuto:f+"Auto",typeFlex:f+"Flex",typeNull:f+"Null"}}},disableScrolling:function(b){var a=b._getTargetNode();if(a){qx.html.Scroll.disableScrolling(a)}else{b.addEventListener($[44],this._blockScrollingOnAppear,b)}},enableScrolling:function(b){var a=b._getTargetNode();if(a){qx.html.Scroll.enableScrolling(a)}else{b.removeEventListener($[44],this._blockScrollingOnAppear,b)}},_blockScrollingOnAppear:function(){var a=qx.ui.core.Widget._blockScrollingOnAppear;this.removeEventListener($[44],a,this);qx.ui.core.Widget.disableScrolling(this)}},properties:{enabled:{init:$[182],check:$[2],inheritable:true,apply:$[334],event:$[180]},parent:{check:$[423],nullable:true,event:$[171],apply:"_applyParent"},element:{check:"Element",nullable:true,apply:"_applyElement",event:$[344]},visibility:{check:$[2],init:true,apply:$[507],event:$[174]},display:{check:$[2],init:true,apply:"_applyDisplay",event:"changeDisplay"},anonymous:{check:$[2],init:false,event:"changeAnonymous"},horizontalAlign:{check:["left",$[30],$[15]],themeable:true,nullable:true},verticalAlign:{check:["top",$[46],$[31]],themeable:true,nullable:true},allowStretchX:{check:$[2],init:true},allowStretchY:{check:$[2],init:true},zIndex:{check:$[59],apply:"_applyZIndex",event:"changeZIndex",themeable:true,nullable:true,init:null},backgroundColor:{nullable:true,init:null,check:"Color",apply:$[480],event:$[172],themeable:true},backgroundGradient:{check:"Array",nullable:true,init:null,apply:$[319],event:$[326],themeable:true},shadow:{check:"Array",nullable:true,init:null,apply:"_applyShadow",event:"changeShadow",themeable:true},textShadow:{check:"Array",nullable:true,init:null,apply:"_applyTextShadow",event:"changeTextShadow",themeable:true},textColor:{nullable:true,init:$[182],check:"Color",apply:"_applyTextColor",event:$[310],themeable:true,inheritable:true},border:{nullable:true,init:null,apply:"_applyBorder",event:"changeBorder",check:"Border",themeable:true},font:{nullable:true,init:$[182],apply:"_applyFont",check:"Font",event:$[102],themeable:true,inheritable:true},opacity:{check:$[59],apply:$[333],themeable:true,nullable:true,init:null},cursor:{check:$[21],apply:"_applyCursor",themeable:true,nullable:true,init:null},backgroundImage:{check:$[21],nullable:true,apply:"_applyBackgroundImage",themeable:true},backgroundRepeat:{check:$[21],nullable:true,apply:"_applyBackgroundRepeat",themeable:true},overflow:{check:[$[13],"auto",$[12],$[86],$[85]],nullable:true,apply:"_applyOverflow",event:"changeOverflow",themeable:true,init:null},containerOverflow:{check:$[2],nullable:false,apply:"_applyContainerOverflow",themeable:true,init:true},clipLeft:{check:$[14],apply:$[265],themeable:true,nullable:true},clipTop:{check:$[14],apply:$[265],themeable:true,nullable:true},clipWidth:{check:$[14],apply:$[265],themeable:true,nullable:true},clipHeight:{check:$[14],apply:$[265],themeable:true,nullable:true},tabIndex:{check:$[14],nullable:true,init:null,apply:"_applyTabIndex",event:"changeTabIndex"},hideFocus:{check:$[2],init:true,apply:"_applyHideFocus",themeable:true},enableElementFocus:{check:$[2],init:true},focused:{check:$[2],init:false,apply:"_applyFocused",event:$[262]},selectable:{check:$[2],init:null,nullable:true,apply:"_applySelectable"},toolTip:{check:$[240],nullable:true,event:"changeToolTip"},contextMenu:{nullable:true,event:"changeContextMenu"},capture:{check:$[2],init:false,apply:"_applyCapture",event:"changeCapture"},dropDataTypes:{nullable:true,dispose:true},command:{check:"qx.client.Command",nullable:true,apply:"_applyCommand"},appearance:{check:$[21],init:"widget",apply:"_applyAppearance",event:"changeAppearance"},supportsDropMethod:{check:"Function",nullable:true,init:null},marginTop:{check:$[59],apply:"_applyMarginTop",nullable:true,themeable:true},marginRight:{check:$[59],apply:"_applyMarginRight",nullable:true,themeable:true},marginBottom:{check:$[59],apply:"_applyMarginBottom",nullable:true,themeable:true},marginLeft:{check:$[59],apply:"_applyMarginLeft",nullable:true,themeable:true},paddingTop:{check:$[59],apply:"_applyPaddingTop",nullable:true,themeable:true},paddingRight:{check:$[59],apply:"_applyPaddingRight",nullable:true,themeable:true},paddingBottom:{check:$[59],apply:"_applyPaddingBottom",nullable:true,themeable:true},paddingLeft:{check:$[59],apply:"_applyPaddingLeft",nullable:true,themeable:true},left:{apply:"_applyLeft",event:$[150],nullable:true,themeable:true,init:null},right:{apply:"_applyRight",event:"changeRight",nullable:true,themeable:true,init:null},width:{apply:"_applyWidth",event:$[63],nullable:true,themeable:true,init:null},minWidth:{apply:"_applyMinWidth",event:"changeMinWidth",nullable:true,themeable:true,init:null},maxWidth:{apply:"_applyMaxWidth",event:"changeMaxWidth",nullable:true,themeable:true,init:null},top:{apply:"_applyTop",event:$[336],nullable:true,themeable:true,init:null},bottom:{apply:"_applyBottom",event:"changeBottom",nullable:true,themeable:true,init:null},height:{apply:$[394],event:$[71],nullable:true,themeable:true,init:null},minHeight:{apply:"_applyMinHeight",event:"changeMinHeight",nullable:true,themeable:true,init:null},maxHeight:{apply:"_applyMaxHeight",event:"changeMaxHeight",nullable:true,themeable:true,init:null},location:{group:["left","top"],themeable:true},dimension:{group:[$[27],$[23]],themeable:true},space:{group:["left",$[27],"top",$[23]],themeable:true},edge:{group:["top",$[15],$[31],"left"],themeable:true,mode:$[227]},padding:{group:[$[181],$[191],$[208],$[213]],mode:$[227],themeable:true},margin:{group:[$[178],$[236],$[275],$[179]],mode:$[227],themeable:true},heights:{group:[$[99],$[23],$[94]],themeable:true},widths:{group:[$[91],$[27],$[90]],themeable:true},align:{group:["horizontalAlign","verticalAlign"],themeable:true},clipLocation:{group:["clipLeft","clipTop"]},clipDimension:{group:["clipWidth","clipHeight"]},clip:{group:["clipLeft","clipTop","clipWidth","clipHeight"]},innerWidth:{_cached:true,defaultValue:null},innerHeight:{_cached:true,defaultValue:null},boxWidth:{_cached:true,defaultValue:null},boxHeight:{_cached:true,defaultValue:null},outerWidth:{_cached:true,defaultValue:null},outerHeight:{_cached:true,defaultValue:null},frameWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},frameHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredBoxWidth:{_cached:true,defaultValue:null},preferredBoxHeight:{_cached:true,defaultValue:null},hasPercentX:{_cached:true,defaultValue:false},hasPercentY:{_cached:true,defaultValue:false},hasAutoX:{_cached:true,defaultValue:false},hasAutoY:{_cached:true,defaultValue:false},hasFlexX:{_cached:true,defaultValue:false},hasFlexY:{_cached:true,defaultValue:false}},members:{_computedLeftValue:null,_computedLeftParsed:null,_computedLeftType:null,_computedLeftTypeNull:true,_computedLeftTypePixel:false,_computedLeftTypePercent:false,_computedLeftTypeAuto:false,_computedLeftTypeFlex:false,_computedRightValue:null,_computedRightParsed:null,_computedRightType:null,_computedRightTypeNull:true,_computedRightTypePixel:false,_computedRightTypePercent:false,_computedRightTypeAuto:false,_computedRightTypeFlex:false,_computedTopValue:null,_computedTopParsed:null,_computedTopType:null,_computedTopTypeNull:true,_computedTopTypePixel:false,_computedTopTypePercent:false,_computedTopTypeAuto:false,_computedTopTypeFlex:false,_computedBottomValue:null,_computedBottomParsed:null,_computedBottomType:null,_computedBottomTypeNull:true,_computedBottomTypePixel:false,_computedBottomTypePercent:false,_computedBottomTypeAuto:false,_computedBottomTypeFlex:false,_computedWidthValue:null,_computedWidthParsed:null,_computedWidthType:null,_computedWidthTypeNull:true,_computedWidthTypePixel:false,_computedWidthTypePercent:false,_computedWidthTypeAuto:false,_computedWidthTypeFlex:false,_computedMinWidthValue:null,_computedMinWidthParsed:null,_computedMinWidthType:null,_computedMinWidthTypeNull:true,_computedMinWidthTypePixel:false,_computedMinWidthTypePercent:false,_computedMinWidthTypeAuto:false,_computedMinWidthTypeFlex:false,_computedMaxWidthValue:null,_computedMaxWidthParsed:null,_computedMaxWidthType:null,_computedMaxWidthTypeNull:true,_computedMaxWidthTypePixel:false,_computedMaxWidthTypePercent:false,_computedMaxWidthTypeAuto:false,_computedMaxWidthTypeFlex:false,_computedHeightValue:null,_computedHeightParsed:null,_computedHeightType:null,_computedHeightTypeNull:true,_computedHeightTypePixel:false,_computedHeightTypePercent:false,_computedHeightTypeAuto:false,_computedHeightTypeFlex:false,_computedMinHeightValue:null,_computedMinHeightParsed:null,_computedMinHeightType:null,_computedMinHeightTypeNull:true,_computedMinHeightTypePixel:false,_computedMinHeightTypePercent:false,_computedMinHeightTypeAuto:false,_computedMinHeightTypeFlex:false,_computedMaxHeightValue:null,_computedMaxHeightParsed:null,_computedMaxHeightType:null,_computedMaxHeightTypeNull:true,_computedMaxHeightTypePixel:false,_computedMaxHeightTypePercent:false,_computedMaxHeightTypeAuto:false,_computedMaxHeightTypeFlex:false,_customVariant:null,_applyLeft:function(b,a){this._unitDetectionPixelPercent("left",b);this.addToQueue("left")},_applyRight:function(b,a){this._unitDetectionPixelPercent($[15],b);this.addToQueue($[15])},_applyTop:function(b,a){this._unitDetectionPixelPercent("top",b);this.addToQueue("top")},_applyBottom:function(b,a){this._unitDetectionPixelPercent($[31],b);this.addToQueue($[31])},_applyWidth:function(b,a){this._unitDetectionPixelPercentAutoFlex($[27],b);this.addToQueue($[27])},_applyMinWidth:function(b,a){this._unitDetectionPixelPercentAuto($[91],b);this.addToQueue($[91])},_applyMaxWidth:function(b,a){this._unitDetectionPixelPercentAuto($[90],b);this.addToQueue($[90])},_applyHeight:function(b,a){this._unitDetectionPixelPercentAutoFlex($[23],b);this.addToQueue($[23])},_applyMinHeight:function(b,a){this._unitDetectionPixelPercentAuto($[99],b);this.addToQueue($[99])},_applyMaxHeight:function(b,a){this._unitDetectionPixelPercentAuto($[94],b);this.addToQueue($[94])},getChildren:qx.lang.Function.returnNull,getChildrenLength:qx.lang.Function.returnZero,hasChildren:qx.lang.Function.returnFalse,isEmpty:qx.lang.Function.returnTrue,indexOf:qx.lang.Function.returnNegativeIndex,contains:qx.lang.Function.returnFalse,getVisibleChildren:qx.lang.Function.returnNull,getVisibleChildrenLength:qx.lang.Function.returnZero,hasVisibleChildren:qx.lang.Function.returnFalse,isVisibleEmpty:qx.lang.Function.returnTrue,_hasParent:false,_isDisplayable:false,isDisplayable:function(){return this._isDisplayable},_checkParent:function(b,a){if(this.contains(b)){throw new Error("Could not insert myself into a child "+b+"!")}return b},_applyParent:function(c,a){if(a){var b=a.getChildren().indexOf(this);this._computedWidthValue=null;this._computedMinWidthValue=null;this._computedMaxWidthValue=null;this._computedLeftValue=null;this._computedRightValue=null;this._computedHeightValue=null;this._computedMinHeightValue=null;this._computedMaxHeightValue=null;this._computedTopValue=null;this._computedBottomValue=null;this._cachedBoxWidth=null;this._cachedInnerWidth=null;this._cachedOuterWidth=null;this._cachedBoxHeight=null;this._cachedInnerHeight=null;this._cachedOuterHeight=null;qx.lang.Array.removeAt(a.getChildren(),b);a._invalidateVisibleChildren();a._removeChildFromChildrenQueue(this);a.getLayoutImpl().updateChildrenOnRemoveChild(this,b);a.addToJobQueue($[403]);a._invalidatePreferredInnerDimensions();this._oldParent=a}if(c){this._hasParent=true;if(typeof this._insertIndex==$[62]){qx.lang.Array.insertAt(c.getChildren(),this,this._insertIndex);delete this._insertIndex}else{c.getChildren().push(this)}}else{this._hasParent=false}qx.core.Property.refresh(this);return this._handleDisplayable("parent")},_applyDisplay:function(b,a){return this._handleDisplayable($[160])},_handleDisplayable:function(g){var f=this._computeDisplayable();if(this._isDisplayable==f&&!(f&&g=="parent")){return true}this._isDisplayable=f;var e=this.getParent();if(e){e._invalidateVisibleChildren();e._invalidatePreferredInnerDimensions()}if(g&&this._oldParent&&this._oldParent._initialLayoutDone){var d=this.getElement();if(d){if(this.getVisibility()){this._beforeDisappear()}try{this._oldParent._getTargetNode().removeChild(d)}catch(c){}this._afterRemoveDom();if(this.getVisibility()){this._afterDisappear()}}delete this._oldParent}if(f){if(e._initialLayoutDone){var b=e.getChildren().indexOf(this);e.getLayoutImpl().updateChildrenOnAddChild(this,b);e.addToJobQueue("addChild")}this.addToLayoutChanges("initial");this.addToCustomQueues(g);if(this.getVisibility()){this._beforeAppear()}if(!this._isCreated){qx.ui.core.Widget.addToGlobalElementQueue(this)}qx.ui.core.Widget.addToGlobalStateQueue(this);if(!qx.lang.Object.isEmpty(this._jobQueue)){qx.ui.core.Widget.addToGlobalJobQueue(this)}if(!qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.addToGlobalLayoutQueue(this)}}else{qx.ui.core.Widget.removeFromGlobalElementQueue(this);qx.ui.core.Widget.removeFromGlobalStateQueue(this);qx.ui.core.Widget.removeFromGlobalJobQueue(this);qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);this.removeFromCustomQueues(g);if(e&&g){if(this.getVisibility()){this._beforeDisappear()}if(e._initialLayoutDone&&this._initialLayoutDone){var b=e.getChildren().indexOf(this);e.getLayoutImpl().updateChildrenOnRemoveChild(this,b);e.addToJobQueue($[403]);var a=org.eclipse.rwt.Client.isMshtml()?this.getElement().parentElement:this.getElement().parentNode;if(a){a.removeChild(this.getElement());this._afterRemoveDom()}}e._removeChildFromChildrenQueue(this);if(this.getVisibility()){this._afterDisappear()}}}this._handleDisplayableCustom(f,e,g);return true},addToCustomQueues:qx.lang.Function.returnTrue,removeFromCustomQueues:qx.lang.Function.returnTrue,_handleDisplayableCustom:qx.lang.Function.returnTrue,_computeDisplayable:function(){return this.getDisplay()&&this.getParent()&&this.getParent()._isDisplayable?true:false},_beforeAppear:function(){this.dispatchSimpleEvent("beforeAppear")},_afterAppear:function(){this._isSeeable=true;this.dispatchSimpleEvent($[44])},_ieFixLayoutOnAppear:qx.core.Variant.select($[0],{mshtml:function(){var b=this._style.width;var a=this._style.height;this._style.width="0px";this._style.height="0px";this._style.width=b;this._style.height=a;if(this._innerStyle){b=this._innerStyle.width;a=this._innerStyle.height;this._innerStyle.width="0px";this._innerStyle.height="0px";this._innerStyle.width=b;this._innerStyle.height=a}},"default":qx.lang.Function.returnTrue}),_beforeDisappear:function(){this.removeState("over");if(qx.Class.isDefined($[346])){this.removeState($[11]);this.removeState($[33])}this.dispatchSimpleEvent("beforeDisappear")},_afterDisappear:function(){this._isSeeable=false;this.dispatchSimpleEvent($[355])},_isSeeable:false,_isInDom:false,isSeeable:function(){return this._isSeeable},isInDom:function(){return this._isInDom},isAppearRelevant:function(){return this.getVisibility()&&this._isDisplayable},_afterInsertDom:function(){this._isInDom=true;this.dispatchSimpleEvent($[143])},_afterRemoveDom:function(){this._isInDom=false},_applyVisibility:function(b,a){if(b){if(this._isDisplayable&&(this._isCreated||this._isInGlobalElementQueue)){this._beforeAppear()}this.removeStyleProperty($[160]);if(this._isDisplayable&&this._isCreated){this._afterAppear();this._ieFixLayoutOnAppear()}}else{if(this._isDisplayable&&this._isCreated){this._beforeDisappear()}this.setStyleProperty($[160],"none");if(this._isDisplayable&&this._isCreated){this._afterDisappear()}}},show:function(){this.setVisibility(true);this.setDisplay(true)},hide:function(){this.setVisibility(false)},destroy:function(){if(this.getParent()===null||!this.getParent()._isInGlobalDisposeQueue){if(this.dispatchSimpleEvent($[228])){this.setParent(null);qx.ui.core.Widget.addToGlobalDisposeQueue(this)}}},_markInDispose:function(){this._isInGlobalDisposeQueue=true},_isCreated:false,_element:null,_targetNode:null,_style:null,_innerStyle:null,_getTargetNode:function(){return this._targetNode||this._element},addToDocument:function(){qx.ui.core.ClientDocument.getInstance().add(this)},isCreated:function(){return this._isCreated},_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement("div"))},_applyElement:function(b,a){this._isCreated=b!=null;if(a){a.qx_Widget=null}if(b){b.qx_Widget=this;b.style.position=$[17];this._element=b;this._style=b.style;if(this._targetNodeEnabled){this.prepareEnhancedBorder(true)}this.initBackgroundColor();this._applyStyleProperties(b);this._applyHtmlProperties(b);this._applyHtmlAttributes(b);this._applyElementData(b);this.dispatchSimpleEvent($[84]);this.addToStateQueue()}else{this._element=this._style=null}},addToJobQueue:function(a){if(this._hasParent){qx.ui.core.Widget.addToGlobalJobQueue(this)}if(!this._jobQueue){this._jobQueue={}}this._jobQueue[a]=true;return true},_flushJobQueue:function(e){var k=this._jobQueue;var p=this.getParent();if(!p||qx.lang.Object.isEmpty(k)){return}var n=this instanceof qx.ui.core.Parent?this.getLayoutImpl():null;if(n){n.updateSelfOnJobQueueFlush(k)}var b=false;var g=k.marginLeft||k.marginRight;var h=k.marginTop||k.marginBottom;var c=k.frameWidth;var l=k.frameHeight;var f=(k.frameWidth||k.preferredInnerWidth)&&this._recomputePreferredBoxWidth();var o=(k.frameHeight||k.preferredInnerHeight)&&this._recomputePreferredBoxHeight();if(f){var d=this.getPreferredBoxWidth();if(this._computedWidthTypeAuto){this._computedWidthValue=d;k.width=true}if(this._computedMinWidthTypeAuto){this._computedMinWidthValue=d;k.minWidth=true}if(this._computedMaxWidthTypeAuto){this._computedMaxWidthValue=d;k.maxWidth=true}}if(o){var d=this.getPreferredBoxHeight();if(this._computedHeightTypeAuto){this._computedHeightValue=d;k.height=true}if(this._computedMinHeightTypeAuto){this._computedMinHeightValue=d;k.minHeight=true}if(this._computedMaxHeightTypeAuto){this._computedMaxHeightValue=d;k.maxHeight=true}}if((k.width||k.minWidth||k.maxWidth||k.left||k.right)&&this._recomputeBoxWidth()){g=c=true}if((k.height||k.minHeight||k.maxHeight||k.top||k.bottom)&&this._recomputeBoxHeight()){h=l=true}if((g&&this._recomputeOuterWidth())||f){p._invalidatePreferredInnerWidth();p.getLayoutImpl().updateSelfOnChildOuterWidthChange(this);b=true}if((h&&this._recomputeOuterHeight())||o){p._invalidatePreferredInnerHeight();p.getLayoutImpl().updateSelfOnChildOuterHeightChange(this);b=true}if(b){p._flushJobQueue()}p._addChildToChildrenQueue(this);for(var j in k){this._layoutChanges[j]=true}if(this instanceof qx.ui.core.Parent&&(k.paddingLeft||k.paddingRight||k.paddingTop||k.paddingBottom)){var a=this.getChildren(),m=a.length;if(k.paddingLeft){for(var j=0;j<m;j++){a[j].addToLayoutChanges("parentPaddingLeft")}}if(k.paddingRight){for(var j=0;j<m;j++){a[j].addToLayoutChanges("parentPaddingRight")}}if(k.paddingTop){for(var j=0;j<m;j++){a[j].addToLayoutChanges("parentPaddingTop")}}if(k.paddingBottom){for(var j=0;j<m;j++){a[j].addToLayoutChanges("parentPaddingBottom")}}}if(c){this._recomputeInnerWidth()}if(l){this._recomputeInnerHeight()}if(this._initialLayoutDone){if(n){n.updateChildrenOnJobQueueFlush(k)}}delete this._jobQueue},_isWidthEssential:qx.lang.Function.returnTrue,_isHeightEssential:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return 0},_computeBoxHeightFallback:function(){return 0},_computeBoxWidth:function(){var a=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit(a.computeChildBoxWidth(this),this.getMinWidthValue(),this.getMaxWidthValue()))},_computeBoxHeight:function(){var a=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit(a.computeChildBoxHeight(this),this.getMinHeightValue(),this.getMaxHeightValue()))},_computeOuterWidth:function(){return Math.max(0,(this.getMarginLeft()+this.getBoxWidth()+this.getMarginRight()))},_computeOuterHeight:function(){return Math.max(0,(this.getMarginTop()+this.getBoxHeight()+this.getMarginBottom()))},_computeInnerWidth:function(){return Math.max(0,this.getBoxWidth()-this.getFrameWidth())},_computeInnerHeight:function(){return Math.max(0,this.getBoxHeight()-this.getFrameHeight())},getNeededWidth:function(){var a=this.getParent().getLayoutImpl();return Math.max(0,a.computeChildNeededWidth(this))},getNeededHeight:function(){var a=this.getParent().getLayoutImpl();return Math.max(0,a.computeChildNeededHeight(this))},_recomputeFlexX:function(){if(!this.getHasFlexX()){return false}if(this._computedWidthTypeFlex){this._computedWidthValue=null;this.addToLayoutChanges($[27])}return true},_recomputeFlexY:function(){if(!this.getHasFlexY()){return false}if(this._computedHeightTypeFlex){this._computedHeightValue=null;this.addToLayoutChanges($[23])}return true},_recomputePercentX:function(){if(!this.getHasPercentX()){return false}if(this._computedWidthTypePercent){this._computedWidthValue=null;this.addToLayoutChanges($[27])}if(this._computedMinWidthTypePercent){this._computedMinWidthValue=null;this.addToLayoutChanges($[91])}if(this._computedMaxWidthTypePercent){this._computedMaxWidthValue=null;this.addToLayoutChanges($[90])}if(this._computedLeftTypePercent){this._computedLeftValue=null;this.addToLayoutChanges("left")}if(this._computedRightTypePercent){this._computedRightValue=null;this.addToLayoutChanges($[15])}return true},_recomputePercentY:function(){if(!this.getHasPercentY()){return false}if(this._computedHeightTypePercent){this._computedHeightValue=null;this.addToLayoutChanges($[23])}if(this._computedMinHeightTypePercent){this._computedMinHeightValue=null;this.addToLayoutChanges($[99])}if(this._computedMaxHeightTypePercent){this._computedMaxHeightValue=null;this.addToLayoutChanges($[94])}if(this._computedTopTypePercent){this._computedTopValue=null;this.addToLayoutChanges("top")}if(this._computedBottomTypePercent){this._computedBottomValue=null;this.addToLayoutChanges($[31])}return true},_recomputeRangeX:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(){if(this._computedLeftTypeNull||this._computedRightTypeNull){return false}this.addToLayoutChanges($[27]);return true},"default":function(){return !(this._computedLeftTypeNull||this._computedRightTypeNull)}}),_recomputeRangeY:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(){if(this._computedTopTypeNull||this._computedBottomTypeNull){return false}this.addToLayoutChanges($[23]);return true},"default":function(){return !(this._computedTopTypeNull||this._computedBottomTypeNull)}}),_recomputeStretchingX:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){this._computedWidthValue=null;this.addToLayoutChanges($[27]);return true}return false},"default":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){return true}return false}}),_recomputeStretchingY:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){this._computedHeightValue=null;this.addToLayoutChanges($[23]);return true}return false},"default":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){return true}return false}}),_computeValuePixel:function(a){return Math.round(a)},_computeValuePixelLimit:function(a){return Math.max(0,this._computeValuePixel(a))},_computeValuePercentX:function(a){return Math.round(this.getParent().getInnerWidthForChild(this)*a*0.01)},_computeValuePercentXLimit:function(a){return Math.max(0,this._computeValuePercentX(a))},_computeValuePercentY:function(a){return Math.round(this.getParent().getInnerHeightForChild(this)*a*0.01)},_computeValuePercentYLimit:function(a){return Math.max(0,this._computeValuePercentY(a))},getWidthValue:function(){if(this._computedWidthValue!=null){return this._computedWidthValue}switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedWidthValue=this.getPreferredBoxWidth();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexWidth===undefined){throw new Error("Widget "+this+": having horizontal flex size (width="+this.getWidth()+$[491]+this.getParent()+$[371])}this.getParent().getLayoutImpl().computeChildrenFlexWidth();return this._computedWidthValue=this._computedWidthFlexValue}return null},getMinWidthValue:function(){if(this._computedMinWidthValue!=null){return this._computedMinWidthValue}switch(this._computedMinWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinWidthValue=this.getPreferredBoxWidth()}return null},getMaxWidthValue:function(){if(this._computedMaxWidthValue!=null){return this._computedMaxWidthValue}switch(this._computedMaxWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxWidthValue=this.getPreferredBoxWidth()}return null},getLeftValue:function(){if(this._computedLeftValue!=null){return this._computedLeftValue}switch(this._computedLeftType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedLeftValue=this._computeValuePixel(this._computedLeftParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedLeftValue=this._computeValuePercentX(this._computedLeftParsed)}return null},getRightValue:function(){if(this._computedRightValue!=null){return this._computedRightValue}switch(this._computedRightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedRightValue=this._computeValuePixel(this._computedRightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedRightValue=this._computeValuePercentX(this._computedRightParsed)}return null},getHeightValue:function(){if(this._computedHeightValue!=null){return this._computedHeightValue}switch(this._computedHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedHeightValue=this._computeValuePixelLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedHeightValue=this._computeValuePercentYLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedHeightValue=this.getPreferredBoxHeight();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexHeight===undefined){throw new Error("Widget "+this+": having vertical flex size (height="+this.getHeight()+$[491]+this.getParent()+$[371])}this.getParent().getLayoutImpl().computeChildrenFlexHeight();return this._computedHeightValue=this._computedHeightFlexValue}return null},getMinHeightValue:function(){if(this._computedMinHeightValue!=null){return this._computedMinHeightValue}switch(this._computedMinHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMinHeightValue=this._computeValuePixelLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMinHeightValue=this._computeValuePercentYLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinHeightValue=this.getPreferredBoxHeight()}return null},getMaxHeightValue:function(){if(this._computedMaxHeightValue!=null){return this._computedMaxHeightValue}switch(this._computedMaxHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMaxHeightValue=this._computeValuePixelLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMaxHeightValue=this._computeValuePercentYLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxHeightValue=this.getPreferredBoxHeight()}return null},getTopValue:function(){if(this._computedTopValue!=null){return this._computedTopValue}switch(this._computedTopType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedTopValue=this._computeValuePixel(this._computedTopParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedTopValue=this._computeValuePercentY(this._computedTopParsed)}return null},getBottomValue:function(){if(this._computedBottomValue!=null){return this._computedBottomValue}switch(this._computedBottomType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedBottomValue=this._computeValuePixel(this._computedBottomParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedBottomValue=this._computeValuePercentY(this._computedBottomParsed)}return null},_computeFrameWidth:function(){var a=this._cachedBorderLeft+this.getPaddingLeft()+this.getPaddingRight()+this._cachedBorderRight;return a},_computeFrameHeight:function(){var a=this._cachedBorderTop+this.getPaddingTop()+this.getPaddingBottom()+this._cachedBorderBottom;return a},_invalidateFrameDimensions:function(){this._invalidateFrameWidth();this._invalidateFrameHeight()},_invalidatePreferredInnerDimensions:function(){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight()},_computePreferredBoxWidth:function(){return Math.max(0,this.getPreferredInnerWidth()+this.getFrameWidth())},_computePreferredBoxHeight:function(){return Math.max(0,this.getPreferredInnerHeight()+this.getFrameHeight())},_initialLayoutDone:false,addToLayoutChanges:function(a){if(this._isDisplayable){this.getParent()._addChildToChildrenQueue(this)}return this._layoutChanges[a]=true},addToQueue:function(a){this._initialLayoutDone?this.addToJobQueue(a):this.addToLayoutChanges(a)},addToQueueRuntime:function(a){return !this._initialLayoutDone||this.addToJobQueue(a)},_computeHasPercentX:function(){return(this._computedLeftTypePercent||this._computedWidthTypePercent||this._computedMinWidthTypePercent||this._computedMaxWidthTypePercent||this._computedRightTypePercent)},_computeHasPercentY:function(){return(this._computedTopTypePercent||this._computedHeightTypePercent||this._computedMinHeightTypePercent||this._computedMaxHeightTypePercent||this._computedBottomTypePercent)},_computeHasAutoX:function(){return(this._computedWidthTypeAuto||this._computedMinWidthTypeAuto||this._computedMaxWidthTypeAuto)},_computeHasAutoY:function(){return(this._computedHeightTypeAuto||this._computedMinHeightTypeAuto||this._computedMaxHeightTypeAuto)},_computeHasFlexX:function(){return this._computedWidthTypeFlex},_computeHasFlexY:function(){return this._computedHeightTypeFlex},_evalUnitsPixelPercentAutoFlex:function(a){switch(a){case"auto":return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL}switch(typeof a){case $[62]:return isNaN(a)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[9]:return a.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:a.indexOf("*")!=-1?qx.ui.core.Widget.TYPE_FLEX:qx.ui.core.Widget.TYPE_NULL}return qx.ui.core.Widget.TYPE_NULL},_evalUnitsPixelPercentAuto:function(a){switch(a){case"auto":return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL}switch(typeof a){case $[62]:return isNaN(a)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[9]:return a.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL}return qx.ui.core.Widget.TYPE_NULL},_evalUnitsPixelPercent:function(a){switch(a){case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL}switch(typeof a){case $[62]:return isNaN(a)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[9]:return a.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL}return qx.ui.core.Widget.TYPE_NULL},_unitDetectionPixelPercentAutoFlex:function(b,j){var a=qx.ui.core.Widget.layoutPropertyTypes[b];var n=a.dataType;var c=a.dataParsed;var m=a.dataValue;var l=a.typePixel;var k=a.typePercent;var i=a.typeAuto;var h=a.typeFlex;var g=a.typeNull;var e=this[k];var f=this[i];var d=this[h];switch(this[n]=this._evalUnitsPixelPercentAutoFlex(j)){case qx.ui.core.Widget.TYPE_PIXEL:this[l]=true;this[k]=this[i]=this[h]=this[g]=false;this[c]=this[m]=Math.round(j);break;case qx.ui.core.Widget.TYPE_PERCENT:this[k]=true;this[l]=this[i]=this[h]=this[g]=false;this[c]=parseFloat(j);this[m]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[i]=true;this[l]=this[k]=this[h]=this[g]=false;this[c]=this[m]=null;break;case qx.ui.core.Widget.TYPE_FLEX:this[h]=true;this[l]=this[k]=this[i]=this[g]=false;this[c]=parseFloat(j);this[m]=null;break;default:this[g]=true;this[l]=this[k]=this[i]=this[h]=false;this[c]=this[m]=null;break}if(e!=this[k]){switch(b){case $[91]:case $[90]:case $[27]:case"left":case $[15]:this._invalidateHasPercentX();break;case $[94]:case $[99]:case $[23]:case"top":case $[31]:this._invalidateHasPercentY();break}}if(f!=this[i]){switch(b){case $[91]:case $[90]:case $[27]:this._invalidateHasAutoX();break;case $[99]:case $[94]:case $[23]:this._invalidateHasAutoY();break}}if(d!=this[h]){switch(b){case $[27]:this._invalidateHasFlexX();break;case $[23]:this._invalidateHasFlexY();break}}},_unitDetectionPixelPercentAuto:function(b,h){var a=qx.ui.core.Widget.layoutPropertyTypes[b];var l=a.dataType;var c=a.dataParsed;var k=a.dataValue;var j=a.typePixel;var i=a.typePercent;var g=a.typeAuto;var f=a.typeNull;var d=this[i];var e=this[g];switch(this[l]=this._evalUnitsPixelPercentAuto(h)){case qx.ui.core.Widget.TYPE_PIXEL:this[j]=true;this[i]=this[g]=this[f]=false;this[c]=this[k]=Math.round(h);break;case qx.ui.core.Widget.TYPE_PERCENT:this[i]=true;this[j]=this[g]=this[f]=false;this[c]=parseFloat(h);this[k]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[g]=true;this[j]=this[i]=this[f]=false;this[c]=this[k]=null;break;default:this[f]=true;this[j]=this[i]=this[g]=false;this[c]=this[k]=null;break}if(d!=this[i]){switch(b){case $[91]:case $[90]:case $[27]:case"left":case $[15]:this._invalidateHasPercentX();break;case $[99]:case $[94]:case $[23]:case"top":case $[31]:this._invalidateHasPercentY();break}}if(e!=this[g]){switch(b){case $[91]:case $[90]:case $[27]:this._invalidateHasAutoX();break;case $[99]:case $[94]:case $[23]:this._invalidateHasAutoY();break}}},_unitDetectionPixelPercent:function(b,f){var a=qx.ui.core.Widget.layoutPropertyTypes[b];var j=a.dataType;var c=a.dataParsed;var i=a.dataValue;var h=a.typePixel;var g=a.typePercent;var e=a.typeNull;var d=this[g];switch(this[j]=this._evalUnitsPixelPercent(f)){case qx.ui.core.Widget.TYPE_PIXEL:this[h]=true;this[g]=this[e]=false;this[c]=this[i]=Math.round(f);break;case qx.ui.core.Widget.TYPE_PERCENT:this[g]=true;this[h]=this[e]=false;this[c]=parseFloat(f);this[i]=null;break;default:this[e]=true;this[h]=this[g]=false;this[c]=this[i]=null;break}if(d!=this[g]){switch(b){case $[91]:case $[90]:case $[27]:case"left":case $[15]:this._invalidateHasPercentX();break;case $[99]:case $[94]:case $[23]:case"top":case $[31]:this._invalidateHasPercentY();break}}},getTopLevelWidget:function(){return this._hasParent?this.getParent().getTopLevelWidget():null},moveSelfToBegin:function(){this.getParent().addAtBegin(this)},moveSelfToEnd:function(){this.getParent().addAtEnd(this)},getPreviousSibling:function(){var b=this.getParent();if(b==null){return null}var a=b.getChildren();return a[a.indexOf(this)-1]},getNextSibling:function(){var b=this.getParent();if(b==null){return null}var a=b.getChildren();return a[a.indexOf(this)+1]},getPreviousVisibleSibling:function(){if(!this._hasParent){return null}var a=this.getParent().getVisibleChildren();return a[a.indexOf(this)-1]},getNextVisibleSibling:function(){if(!this._hasParent){return null}var a=this.getParent().getVisibleChildren();return a[a.indexOf(this)+1]},getPreviousActiveSibling:function(a){var b=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),-1,a,null);return b?b:this.getParent().getLastActiveChild()},getNextActiveSibling:function(a){var b=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),1,a,null);return b?b:this.getParent().getFirstActiveChild()},isFirstChild:function(){return this._hasParent&&this.getParent().getFirstChild()==this},isLastChild:function(){return this._hasParent&&this.getParent().getLastChild()==this},isFirstVisibleChild:function(){return this._hasParent&&this.getParent().getFirstVisibleChild()==this},isLastVisibleChild:function(){return this._hasParent&&this.getParent().getLastVisibleChild()==this},setCustomVariant:function(a){if(this._customVariant!==null){this.removeState(this._customVariant)}this._customVariant=a;if(this._customVariant!==null){this.addState(this._customVariant)}},hasState:function(a){return this.__states&&this.__states[a]?true:false},addState:function(a){if(!this.__states){this.__states={}}if(!this.__states[a]){this.__states[a]=true;if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this)}}},removeState:function(a){if(this.__states&&this.__states[a]){delete this.__states[a];if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this)}}},_styleFromMap:function(c){this._prepareStyleMap(c);var b=qx.core.Property.$$method.style;var d=qx.core.Property.$$method.unstyle;var a;for(var e in c){a=c[e];a===$[7]?this[d[e]]():this[b[e]](a)}},_unstyleFromArray:function(c){var d=qx.core.Property.$$method.unstyle;for(var b=0,a=c.length;b<a;b++){this[d[c[b]]]()}},_prepareStyleMap:qx.core.Variant.select($[0],{mshtml:function(c){if(c.shadow&&c.border&&c.border.getStyle()!==$[77]){var b=c.border.getWidthTop();var a=c.border.getColorTop();var d=[0,0,0,0];c.border=new org.eclipse.rwt.Border(b,$[77],a,d)}},"default":function(a){return a}}),_renderAppearance:function(){if(!this.__states){this.__states={}}this._applyStateStyleFocus(this.__states);var b=this.getAppearance();if(b){var a=qx.theme.manager.Appearance.getInstance().styleFrom(b,this.__states);if(a){this._styleFromMap(a)}}},_resetAppearanceThemeWrapper:function(a,e){var f=this.getAppearance();if(f){var c=qx.theme.manager.Appearance.getInstance();var d=c.styleFromTheme(e,f,this.__states);var b=c.styleFromTheme(a,f,this.__states);var g=[];for(var h in d){if(b[h]===undefined){g.push(h)}}this._unstyleFromArray(g);this._styleFromMap(b)}},_applyStateStyleFocus:qx.core.Variant.select($[0],{mshtml:function(a){},"default":function(a){if(a.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[222],"1px dotted")}}else{this.setStyleProperty($[222],"none")}}}),addToStateQueue:function(){qx.ui.core.Widget.addToGlobalStateQueue(this)},recursiveAddToStateQueue:function(){this.addToStateQueue()},_applyAppearance:function(e,a){if(!this.__states){this.__states={}}var c=qx.theme.manager.Appearance.getInstance();if(e){var b=c.styleFrom(e,this.__states)||{}}if(a){var d=c.styleFrom(a,this.__states)||{};var f=[];for(var g in d){if(!b||!(g in b)){f.push(g)}}}if(f){this._unstyleFromArray(f)}if(b){this._styleFromMap(b)}},_recursiveAppearanceThemeUpdate:function(a,b){this._resetAppearanceThemeWrapper(a,b)},_applyElementData:function(a){},setHtmlProperty:function(b,a){if(!this._htmlProperties){this._htmlProperties={}}this._htmlProperties[b]=a;if(this._isCreated&&this.getElement()[b]!=a){this.getElement()[b]=a}return true},removeHtmlProperty:qx.core.Variant.select($[0],{mshtml:function(a){if(!this._htmlProperties){return}delete this._htmlProperties[a];if(this._isCreated){this.getElement().removeAttribute(a)}return true},"default":function(a){if(!this._htmlProperties){return}delete this._htmlProperties[a];if(this._isCreated){this.getElement().removeAttribute(a);delete this.getElement()[a]}return true}}),getHtmlProperty:function(a){if(!this._htmlProperties){return""}return this._htmlProperties[a]||""},_applyHtmlProperties:function(a){var c=this._htmlProperties;if(c){var b;for(b in c){a[b]=c[b]}}},setHtmlAttribute:function(b,a){if(!this._htmlAttributes){this._htmlAttributes={}}this._htmlAttributes[b]=a;if(this._isCreated){this.getElement().setAttribute(b,a)}return true},removeHtmlAttribute:function(a){if(!this._htmlAttributes){return}delete this._htmlAttributes[a];if(this._isCreated){this.getElement().removeAttribute(a)}return true},getHtmlAttribute:function(a){if(!this._htmlAttributes){return""}return this._htmlAttributes[a]||""},_applyHtmlAttributes:function(b){var a=this._htmlAttributes;if(a){var c;for(c in a){b.setAttribute(c,a[c])}}},getStyleProperty:function(a){if(!this._styleProperties){return""}return this._styleProperties[a]||""},__outerElementStyleProperties:{cursor:true,zIndex:true,filter:true,display:true,visibility:true,outline:true,boxShadow:true,filter:true,opacity:true,MozOpacity:true},setStyleProperty:function(c,b){if(!this._styleProperties){this._styleProperties={}}this._styleProperties[c]=b;if(this._isCreated){var a=this.__outerElementStyleProperties[c]?this.getElement():this._getTargetNode();if(a){a.style[c]=(b==null)?"":b}}},removeStyleProperty:function(b){if(!this._styleProperties){return}delete this._styleProperties[b];if(this._isCreated){var a=this.__outerElementStyleProperties[b]?this.getElement():this._getTargetNode();if(a){a.style[b]=""}}},_applyStyleProperties:function(b){var e=this._styleProperties;if(!e){return}var d;var f=b;var a=this._getTargetNode();var b;var c;for(d in e){b=this.__outerElementStyleProperties[d]?f:a;c=e[d];b.style[d]=(c==null)?"":c}},_applyEnabled:function(b,a){if(b===false){this.addState("disabled");this.removeState("over");if(qx.Class.isDefined($[346])){this.removeState($[33]);this.removeState($[11])}if(this.getFocused()){this.setFocused(false)}}else{this.removeState("disabled")}},isFocusable:function(){return this.getEnabled()&&this.isSeeable()&&this.getTabIndex()!=null},isFocusRoot:function(){return false},getFocusRoot:function(){if(this._hasParent){return this.getParent().getFocusRoot()}return null},getActiveChild:function(){var a=this.getFocusRoot();if(a){return a.getActiveChild()}return null},_ontabfocus:qx.lang.Function.returnTrue,_applyFocused:function(c,b){if(!this.isCreated()){return}var a=this.getFocusRoot();if(a){if(c){a.setFocusedChild(this);this._visualizeFocus()}else{if(a.getFocusedChild()==this){a.setFocusedChild(null)}this._visualizeBlur()}}},_applyHideFocus:qx.core.Variant.select($[0],{mshtml:function(b,a){this.setHtmlProperty("hideFocus",b)},"default":qx.lang.Function.returnTrue}),_visualizeBlur:function(){if(this.getEnableElementFocus()&&(!this.getFocusRoot().getFocusedChild()||(this.getFocusRoot().getFocusedChild()&&this.getFocusRoot().getFocusedChild().getEnableElementFocus()))){try{this.getElement().blur()}catch(a){}}this.removeState($[75])},_visualizeFocus:function(){var a=qx.event.handler.FocusHandler;if(!a.mouseFocus&&!a.blockFocus&&this.getEnableElementFocus()){try{this.getElement().focus()}catch(b){}}this.addState($[75])},focus:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(true)},blur:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(false)},_applyCapture:function(c,b){var a=org.eclipse.rwt.EventHandler;if(b){a.setCaptureWidget(null)}if(c){a.setCaptureWidget(this)}},_applyZIndex:function(b,a){if(b==null){this.removeStyleProperty("zIndex")}else{this.setStyleProperty("zIndex",b)}},_applyTabIndex:qx.core.Variant.select($[0],{mshtml:function(b,a){this.setHtmlProperty($[331],b<0?-1:1)},"default":function(b,a){this.setStyleProperty("userFocus",(b<0?"ignore":$[61]));this.setHtmlProperty($[331],b<0?-1:1)}}),_applySelectable:qx.core.Variant.select($[0],{mshtml:function(b,a){},gecko:function(b,a){if(b){this.removeStyleProperty($[454])}else{this.setStyleProperty($[454],"none")}},webkit:function(b,a){if(b){this.removeStyleProperty($[439]);this.removeStyleProperty($[495])}else{this.setStyleProperty($[439],"none");this.setStyleProperty($[495],"none")}},"default":function(b,a){if(b){return this.removeStyleProperty("userSelect")}else{this.setStyleProperty("userSelect","none")}}}),_applyOpacity:function(b,a){org.eclipse.rwt.HtmlUtil.setOpacity(this,b)},__cursorMap:qx.core.Variant.select($[0],{mshtml:{"default":$[66],wait:"wait",crosshair:$[305],help:"help",move:"move",text:"text",pointer:$[133],"e-resize":$[145],"n-resize":$[169],"w-resize":$[323],"s-resize":$[338],"ne-resize":$[189],"se-resize":$[307],"nw-resize":$[190],"sw-resize":$[324],"col-resize":$[345],"row-resize":"row-resize",progress:$[192],"not-allowed":$[329],"no-drop":"no-drop",cursor:"hand","ew-resize":$[145],"ns-resize":$[169],"nesw-resize":$[189],"nwse-resize":$[190]},opera:{"default":$[66],wait:"wait",crosshair:$[305],help:"help",move:"move",text:"text",pointer:$[133],"e-resize":$[145],"n-resize":$[169],"w-resize":$[323],"s-resize":$[338],"ne-resize":$[189],"se-resize":$[307],"nw-resize":$[190],"sw-resize":$[324],progress:$[192],"not-allowed":$[329],"no-drop":"no-drop","col-resize":$[145],"row-resize":$[169],"ew-resize":$[145],"ns-resize":$[169],"nesw-resize":$[189],"nwse-resize":$[190]},"default":{"default":$[66],wait:"wait",crosshair:$[305],help:"help",move:"move",text:"text",pointer:$[133],"e-resize":$[145],"n-resize":$[169],"w-resize":$[323],"s-resize":$[338],"ne-resize":$[189],"se-resize":$[307],"nw-resize":$[190],"sw-resize":$[324],"col-resize":$[345],"row-resize":"row-resize",progress:$[192],"not-allowed":$[329],"no-drop":"no-drop"}}),_applyCursor:function(c,a){if(c){var b="url( "+qx.io.Alias.getInstance().resolve(c)+" ), default";this.setStyleProperty($[170],this.__cursorMap[c]||b)}else{this.removeStyleProperty($[170])}},_applyCommand:function(b,a){},_applyBackgroundImage:function(c,a){var b=qx.io.image.Manager.getInstance();var d=qx.io.Alias.getInstance();if(a){b.hide(a)}if(c){b.show(c)}d.connect(this._styleBackgroundImage,this,c)},_styleBackgroundImage:function(a){a?this.setStyleProperty($[93],"url("+a+")"):this.removeStyleProperty($[93])},_applyBackgroundRepeat:function(b,a){b?this.setStyleProperty($[308],b):this.removeStyleProperty($[308])},_applyClip:function(b,a){return this._compileClipString()},_compileClipString:function(){var f=this.getClipLeft();var b=this.getClipTop();var e=this.getClipWidth();var a=this.getClipHeight();var d,c;if(f==null){d=(e==null?"auto":e+"px");f="auto"}else{d=(e==null?"auto":f+e+"px");f=f+"px"}if(b==null){c=(a==null?"auto":a+"px");b="auto"}else{c=(a==null?"auto":b+a+"px");b=b+"px"}return this.setStyleProperty("clip",("rect("+b+","+d+","+c+","+f+")"))},_applyOverflow:qx.core.Variant.select($[0],{"default":function(g,c){var f=g;var d=$[58];switch(g){case $[86]:d=$[96];f=$[12];break;case $[85]:d=$[97];f=$[12];break}var b=[$[58],$[96],$[97]];for(var e=0;e<b.length;e++){if(b[e]!=d){this.removeStyleProperty(b[e])}}switch(g){case $[86]:this.setStyleProperty($[97],$[13]);break;case $[85]:this.setStyleProperty($[96],$[13]);break}this._renderOverflow(d,f,g,c);this.addToQueue($[58])},gecko:function(d,a){var c=d;var b=$[58];switch(c){case $[13]:c=$[256];break;case $[86]:c=$[277];break;case $[85]:c=$[231];break}this._renderOverflow(b,c,d,a);this.addToQueue($[58])},opera:function(g,c){var f=g;var d=$[58];if(org.eclipse.rwt.Client.getVersion()<9.8){switch(f){case $[86]:case $[85]:f=$[12];break}}else{switch(f){case $[86]:d=$[96];f=$[12];break;case $[85]:d=$[97];f=$[12];break}var b=[$[58],$[96],$[97]];for(var e=0;e<b.length;e++){if(b[e]!=d){this.removeStyleProperty(b[e])}}switch(g){case $[86]:this.setStyleProperty($[97],$[13]);break;case $[85]:this.setStyleProperty($[96],$[13]);break}}this._renderOverflow(d,f,g,c);this.addToQueue($[58])}}),_renderOverflow:function(b,c,d,a){this.setStyleProperty(b,c||"");this._invalidateFrameWidth();this._invalidateFrameHeight()},getOverflowX:function(){var a=this.getOverflow();return a==$[85]?$[13]:a},getOverflowY:function(){var a=this.getOverflow();return a==$[86]?$[13]:a},_applyContainerOverflow:function(b,a){if(this._innerStyle){this._style.overflow=b?"":$[13]}},_applyBackgroundColor:function(b,a){this._styleBackgroundColor(b)},_applyBackgroundGradient:function(b,a){org.eclipse.rwt.HtmlUtil.setBackgroundGradient(this,b);if(b===null){this.setStyleProperty($[93],this.getStyleProperty($[93]));this.setStyleProperty($[60],this.getStyleProperty($[60]))}},_applyShadow:function(b,a){org.eclipse.rwt.HtmlUtil.setBoxShadow(this,b)},_applyTextShadow:function(b,a){org.eclipse.rwt.HtmlUtil.setTextShadow(this,b)},_styleBackgroundColor:function(a){if(a==null||a===$[82]){this._removeBackgroundColor()}else{this.setStyleProperty($[60],a)}},_removeBackgroundColor:qx.core.Variant.select($[0],{"default":function(){this.removeStyleProperty($[60])},newmshtml:function(){this.setStyleProperty($[60],"rgba( 0, 0, 0, 0 )")}}),_applyTextColor:function(b,a){},_applyFont:function(b,a){},_cachedBorderTop:0,_cachedBorderRight:0,_cachedBorderBottom:0,_cachedBorderLeft:0,_usesComplexBorder:false,_targetNodeEnabled:false,_applyBorder:function(b,a){this._queueBorder(b);if(b&&b.getStyle()===$[77]){this._prepareGraphicsSupport()}},_prepareGraphicsSupport:(function(){var a;if(org.eclipse.rwt.Client.supportsCss3()){a=qx.lang.Function.returnTrue}else{a=function(){if(!this._targetNodeEnabled&&!this._isCreated){this._targetNodeEnabled=true}}}return a})(),_queueBorder:function(a){this.addToQueue($[127]);this.__reflowBorderX(a);this.__reflowBorderY(a);this.__borderObject=a},__reflowBorderX:function(b){var a=this._cachedBorderLeft;var c=this._cachedBorderRight;this._cachedBorderLeft=b?b.getWidthLeft():0;this._cachedBorderRight=b?b.getWidthRight():0;if((a+c)!=(this._cachedBorderLeft+this._cachedBorderRight)){this._invalidateFrameWidth()}},__reflowBorderY:function(c){var a=this._cachedBorderTop;var b=this._cachedBorderBottom;this._cachedBorderTop=c?c.getWidthTop():0;this._cachedBorderBottom=c?c.getWidthBottom():0;if((a+b)!=(this._cachedBorderTop+this._cachedBorderBottom)){this._invalidateFrameHeight()}},renderBorder:function(a){var b=this.__borderObject;if(b){b.renderWidget(this)}else{org.eclipse.rwt.Border.resetWidget(this)}this._usesComplexBorder=this._computeUsesComplexBorder()},_computeUsesComplexBorder:function(){return this.__borderObject&&this.__borderObject.getStyle()===$[175]},prepareEnhancedBorder:function(b){if(!this._innerStyle){this._targetNode=document.createElement("div");this._innerStyle=this._targetNode.style;this._targetNodeEnabled=true;if(org.eclipse.rwt.Client.isMshtml()){this.addToQueue($[27]);this.addToQueue($[23])}else{this._innerStyle.width="100%";this._innerStyle.height="100%"}this._innerStyle.position=$[17];if(!b){for(var a in this._styleProperties){switch(a){case"zIndex":case $[138]:case $[76]:case $[281]:case $[160]:case $[170]:case"boxShadow":break;default:this._innerStyle[a]=this._styleProperties[a];this._style[a]=""}}}this._style.outline="none";this._applyContainerOverflow(this.getContainerOverflow());if(!b){for(var a in this._htmlProperties){switch(a){case $[362]:this._targetNode.unselectable=this._htmlProperties[a]}}}while(this._element.firstChild){this._targetNode.appendChild(this._element.firstChild)}this._element.appendChild(this._targetNode);if(this.isInDom()){this._afterRemoveDom();this._afterInsertDom()}}},_applyPaddingTop:function(b,a){this.addToQueue($[181]);this._invalidateFrameHeight()},_applyPaddingRight:function(b,a){this.addToQueue($[191]);this._invalidateFrameWidth()},_applyPaddingBottom:function(b,a){this.addToQueue($[208]);this._invalidateFrameHeight()},_applyPaddingLeft:function(b,a){this.addToQueue($[213]);this._invalidateFrameWidth()},renderPadding:function(a){},_applyMarginLeft:function(b,a){this.addToQueue($[179])},_applyMarginRight:function(b,a){this.addToQueue($[236])},_applyMarginTop:function(b,a){this.addToQueue($[178])},_applyMarginBottom:function(b,a){this.addToQueue($[275])},execute:function(){var a=this.getCommand();if(a){a.execute(this)}this.createDispatchEvent($[108])},_visualPropertyCheck:function(){if(!this.isCreated()){throw new Error(this.classname+": Element must be created previously!")}},setScrollLeft:function(a){this._visualPropertyCheck();this._getTargetNode().scrollLeft=a},setScrollTop:function(a){this._visualPropertyCheck();this._getTargetNode().scrollTop=a},getOffsetLeft:function(){this._visualPropertyCheck();return qx.html.Offset.getLeft(this.getElement())},getOffsetTop:function(){this._visualPropertyCheck();return qx.html.Offset.getTop(this.getElement())},getScrollLeft:function(){this._visualPropertyCheck();return this._getTargetNode().scrollLeft},getScrollTop:function(){this._visualPropertyCheck();return this._getTargetNode().scrollTop},getClientWidth:function(){this._visualPropertyCheck();return this._getTargetNode().clientWidth},getClientHeight:function(){this._visualPropertyCheck();return this._getTargetNode().clientHeight},getOffsetWidth:function(){this._visualPropertyCheck();return this.getElement().offsetWidth},getOffsetHeight:function(){this._visualPropertyCheck();return this.getElement().offsetHeight},getScrollWidth:function(){this._visualPropertyCheck();return this._getTargetNode().scrollWidth},getScrollHeight:function(){this._visualPropertyCheck();return this._getTargetNode().scrollHeight},scrollIntoView:function(a){this.scrollIntoViewX(a);this.scrollIntoViewY(a)},scrollIntoViewX:function(a){if(!this._isCreated||!this._isDisplayable){return false}return qx.html.ScrollIntoView.scrollX(this.getElement(),a)},scrollIntoViewY:function(a){if(!this._isCreated||!this._isDisplayable){return false}return qx.html.ScrollIntoView.scrollY(this.getElement(),a)},supportsDrop:function(a){var b=this.getSupportsDropMethod();if(b!==null){return b.call(this,a)}return(this!=a.sourceWidget)},getAdapter:function(b){if(this._adapters===undefined){this._adapters={}}var c=b.classname;var a=this._adapters[c];if(a==null){new b(this);a=this._adapters[c]}return a},applyObjectId:function(a){if(qx.ui.core.Widget._renderHtmlIds){this.setHtmlAttribute("id",a)}}},defer:function(b,a){b.__initApplyMethods(a);if(org.eclipse.rwt.Client.isMshtml()){a._renderRuntimeWidth=function(d){this._style.pixelWidth=(d==null)?0:d;if(this._targetNodeEnabled){var c=this._usesComplexBorder&&d!=null?d-2:d;this._innerStyle.pixelWidth=c==null?0:c}};a._renderRuntimeHeight=function(d){this._style.pixelHeight=(d==null)?0:d;if(this._targetNodeEnabled){var c=this._usesComplexBorder&&d!=null?d-2:d;this._innerStyle.pixelHeight=c==null?0:c}};a._resetRuntimeWidth=function(){this._style.width="";if(this._targetNodeEnabled){this._innerStyle.width=""}};a._resetRuntimeHeight=function(){this._style.height="";if(this._targetNodeEnabled){this._innerStyle.height=""}}}b.__initLayoutProperties(b)},destruct:function(){var b=this.getElement();if(b){b.qx_Widget=null;try{if(b.parentNode){b.parentNode.removeChild(b)}}catch(a){}try{if(this._targetNode&&this._targetNode.parentNode){this._targetNode.parentNode.removeChild(this._targetNode)}}catch(a){}}this._disposeObjectDeep("_adapters",1);this._disposeFields("_isCreated","_inlineEvents","_element","_style","_targetNode","_innerStyle","_oldParent","_styleProperties","_htmlProperties","_htmlAttributes","__states","_jobQueue","_layoutChanges","__borderObject")}});
+qx.Class.define($[124],{extend:qx.core.Target,include:qx.util.manager.MConnectedObject,type:$[101],construct:function(){arguments.callee.base.call(this);this._layoutChanges={};this.initHideFocus();this._usesComplexBorder=false},events:{beforeAppear:$[3],appear:$[3],beforeDisappear:$[3],disappear:$[3],insertDom:$[3],create:$[3],execute:$[3],flush:$[48],mouseover:$[81],mousemove:$[81],mouseout:$[81],mousedown:$[81],mouseup:$[81],mousewheel:$[81],click:$[81],dblclick:$[81],contextmenu:$[81],elementOver:$[81],elementOut:$[81],keydown:$[270],keypress:$[270],keyup:$[270],focusout:$[215],focusin:$[215],blur:$[215],focus:$[215],dragdrop:$[149],dragout:$[149],dragover:$[149],dragmove:$[149],dragstart:$[149],dragend:$[149]},statics:{_globalWidgetQueue:[],_globalElementQueue:[],_globalStateQueue:[],_globalJobQueue:[],_globalLayoutQueue:[],_fastGlobalDisplayQueue:[],_lazyGlobalDisplayQueues:{},_globalDisposeQueue:[],_autoFlushTimeout:null,_flushGlobalQueuesPhase:0,_renderHtmlIds:false,_FLUSH_PHASE_IDLE:0,_FLUSH_PHASE_WIDGET:1,_FLUSH_PHASE_STATE:2,_FLUSH_PHASE_ELEMENT:3,_FLUSH_PHASE_JOB:4,_FLUSH_PHASE_LAYOUT:5,_FLUSH_PHASE_DISPLAY:6,_FLUSH_PHASE_DISPOSE:7,_initAutoFlush:function(a){if(qx.ui.core.Widget._autoFlushTimeout==null){if(!qx.ui.core.Widget._inFlushGlobalQueues||a<qx.ui.core.Widget._flushGlobalQueuesPhase){qx.ui.core.Widget._autoFlushTimeout=window.setTimeout(qx.ui.core.Widget._autoFlushHelper,0)}}},_removeAutoFlush:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){window.clearTimeout(qx.ui.core.Widget._autoFlushTimeout);qx.ui.core.Widget._autoFlushTimeout=null}},_autoFlushHelper:function(){try{qx.ui.core.Widget._autoFlushTimeout=null;if(!qx.core.Object.inGlobalDispose()){qx.ui.core.Widget.flushGlobalQueues()}}catch(a){org.eclipse.rwt.ErrorHandler.processJavaScriptError(a)}},flushGlobalQueues:function(){if(qx.ui.core.Widget._autoFlushTimeout!=null){qx.ui.core.Widget._removeAutoFlush()}if(qx.ui.core.Widget._inFlushGlobalQueues){return}if(!org.eclipse.rwt.System.getInstance().getUiReady()){return}qx.ui.core.Widget._inFlushGlobalQueues=true;qx.ui.core.Widget.flushGlobalWidgetQueue();qx.ui.core.Widget.flushGlobalStateQueue();qx.ui.core.Widget.flushGlobalElementQueue();qx.ui.core.Widget.flushGlobalJobQueue();qx.ui.core.Widget.flushGlobalLayoutQueue();qx.ui.core.Widget.flushGlobalDisplayQueue();qx.ui.core.Widget.flushGlobalDisposeQueue();qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_IDLE;delete qx.ui.core.Widget._inFlushGlobalQueues},addToGlobalWidgetQueue:function(a){if(!a._isInGlobalWidgetQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_WIDGET)}qx.ui.core.Widget._globalWidgetQueue.push(a);a._isInGlobalWidgetQueue=true}},removeFromGlobalWidgetQueue:function(a){if(a._isInGlobalWidgetQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalWidgetQueue,a);delete a._isInGlobalWidgetQueue}},flushGlobalWidgetQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_WIDGET;var a=qx.ui.core.Widget._globalWidgetQueue,c,d;while((c=a.length)>0){for(var b=0;b<c;b++){d=a[b];d.flushWidgetQueue();delete d._isInGlobalWidgetQueue}a.splice(0,c)}qx.ui.core.Widget._globalWidgetQueue=[]},addToGlobalElementQueue:function(a){if(!a._isInGlobalElementQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_ELEMENT)}qx.ui.core.Widget._globalElementQueue.push(a);a._isInGlobalElementQueue=true}},removeFromGlobalElementQueue:function(a){if(a._isInGlobalElementQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalElementQueue,a);delete a._isInGlobalElementQueue}},flushGlobalElementQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_ELEMENT;var a=qx.ui.core.Widget._globalElementQueue,c,d;while((c=a.length)>0){for(var b=0;b<c;b++){d=a[b];d._createElementImpl();delete d._isInGlobalElementQueue}a.splice(0,c)}qx.ui.core.Widget._globalElementQueue=[]},addToGlobalStateQueue:function(a){if(!a._isInGlobalStateQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_STATE)}qx.ui.core.Widget._globalStateQueue.push(a);a._isInGlobalStateQueue=true}},removeFromGlobalStateQueue:function(a){if(a._isInGlobalStateQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalStateQueue,a);delete a._isInGlobalStateQueue}},flushGlobalStateQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_STATE;var d=qx.ui.core.Widget;while(d._globalStateQueue.length>0){var a=qx.lang.Array.copy(d._globalStateQueue);d._globalStateQueue=[];for(var c=0,b=a.length;c<b;c++){var e=a[c];if(e._isInGlobalStateQueue){e._renderAppearance();delete e._isInGlobalStateQueue}}}},addToGlobalJobQueue:function(a){if(!a._isInGlobalJobQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_JOB)}qx.ui.core.Widget._globalJobQueue.push(a);a._isInGlobalJobQueue=true}},removeFromGlobalJobQueue:function(a){if(a._isInGlobalJobQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalJobQueue,a);delete a._isInGlobalJobQueue}},flushGlobalJobQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_JOB;var a=qx.ui.core.Widget._globalJobQueue,c,d;while((c=a.length)>0){for(var b=0;b<c;b++){d=a[b];d._flushJobQueue(d._jobQueue);delete d._isInGlobalJobQueue}a.splice(0,c)}qx.ui.core.Widget._globalJobQueue=[]},addToGlobalLayoutQueue:function(a){if(!a._isInGlobalLayoutQueue&&a._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_LAYOUT)}qx.ui.core.Widget._globalLayoutQueue.push(a);a._isInGlobalLayoutQueue=true}},removeFromGlobalLayoutQueue:function(a){if(a._isInGlobalLayoutQueue){qx.lang.Array.remove(qx.ui.core.Widget._globalLayoutQueue,a);delete a._isInGlobalLayoutQueue}},flushGlobalLayoutQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_LAYOUT;var a=qx.ui.core.Widget._globalLayoutQueue,d,c;while((d=a.length)>0){for(var b=0;b<d;b++){c=a[b];c._flushChildrenQueue();delete c._isInGlobalLayoutQueue}a.splice(0,d)}qx.ui.core.Widget._globalLayoutQueue=[]},addToGlobalDisplayQueue:function(b){if(!b._isInGlobalDisplayQueue&&b._isDisplayable){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_DISPLAY)}var a=b.getParent();if(a.isSeeable()){var c=a.toHashCode();if(qx.ui.core.Widget._lazyGlobalDisplayQueues[c]){qx.ui.core.Widget._lazyGlobalDisplayQueues[c].push(b)}else{qx.ui.core.Widget._lazyGlobalDisplayQueues[c]=[b]}}else{qx.ui.core.Widget._fastGlobalDisplayQueue.push(b)}b._isInGlobalDisplayQueue=true}},removeFromGlobalDisplayQueue:function(a){},flushGlobalDisplayQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_DISPLAY;var e,h,d,g;var f=qx.ui.core.Widget._fastGlobalDisplayQueue;var c=qx.ui.core.Widget._lazyGlobalDisplayQueues;for(var b=0,a=f.length;b<a;b++){d=f[b];d.getParent()._getTargetNode().appendChild(d.getElement())}for(e in c){h=c[e];if(document.createDocumentFragment&&h.length>=3){g=document.createDocumentFragment();for(var b=0,a=h.length;b<a;b++){d=h[b];g.appendChild(d.getElement())}h[0].getParent()._getTargetNode().appendChild(g);for(var b=0,a=h.length;b<a;b++){d=h[b];d._afterInsertDom()}}else{for(var b=0,a=h.length;b<a;b++){d=h[b];d.getParent()._getTargetNode().appendChild(d.getElement());d._afterInsertDom()}}}for(e in c){h=c[e];for(var b=0,a=h.length;b<a;b++){d=h[b];if(d.getVisibility()){d._afterAppear()}delete d._isInGlobalDisplayQueue}delete c[e]}if(qx.lang.Object.isEmpty(c)){qx.ui.core.Widget._lazyGlobalDisplayQueues={}}for(var b=0,a=f.length;b<a;b++){delete f[b]._isInGlobalDisplayQueue}qx.ui.core.Widget._fastGlobalDisplayQueue=[]},addToGlobalDisposeQueue:function(a){if(!a._isInGlobalDisposeQueue&&!a.isDisposed()){if(qx.ui.core.Widget._autoFlushTimeout==null){qx.ui.core.Widget._initAutoFlush(qx.ui.core.Widget._FLUSH_PHASE_DISPOSE)}qx.ui.core.Widget._globalDisposeQueue.push(a);a._markInDispose()}},flushGlobalDisposeQueue:function(){qx.ui.core.Widget._flushGlobalQueuesPhase=qx.ui.core.Widget._FLUSH_PHASE_DISPOSE;var a=qx.ui.core.Widget._globalDisposeQueue,c,d;while((c=a.length)>0){for(var b=0;b<c;b++){d=a[b];d.dispose();delete d._isInGlobalDisposeQueue}a.splice(0,c)}qx.ui.core.Widget._globalDisposeQueue=[]},getActiveSiblingHelperIgnore:function(b,c){for(var a=0;a<b.length;a++){if(c instanceof b[a]){return true}}return false},getActiveSiblingHelper:function(c,d,b,a,h){if(!a){a=[]}var f=d.getChildren();var g=h==null?f.indexOf(c)+b:h==="first"?0:f.length-1;var e=f[g];while(e&&(!e.getEnabled()||qx.ui.core.Widget.getActiveSiblingHelperIgnore(a,e))){g+=b;e=f[g];if(!e){return null}}return e},TYPE_NULL:0,TYPE_PIXEL:1,TYPE_PERCENT:2,TYPE_AUTO:3,TYPE_FLEX:4,__initApplyMethods:function(d){var g="_renderRuntime";var k="_resetRuntime";var b="this._style.";var f="=((v==null)?0:v)+'px'";var m="v";var h=["left",$[15],"top",$[31],$[28],$[23],$[91],$[90],$[99],$[94]];var p=["Left",$[39],"Top","Bottom","Width","Height","MinWidth","MaxWidth","MinHeight","MaxHeight"];var n=g+"Margin";var j=k+"Margin";var l=b+"margin";for(var e=0;e<4;e++){d[n+p[e]]=new Function(m,l+p[e]+f);d[j+p[e]]=new Function(l+p[e]+"=''")}var o=g+"Padding";var a=k+"Padding";var c=b+$[176];for(var e=0;e<4;e++){d[o+p[e]]=new Function(m,"this.setStyleProperty('padding"+p[e]+"', ((v==null)?0:v)+'px')");d[a+p[e]]=new Function("this.removeStyleProperty('padding"+p[e]+"')")}for(var e=0;e<h.length;e++){d[g+p[e]]=new Function(m,b+h[e]+f);d[k+p[e]]=new Function(b+h[e]+"=''")}},layoutPropertyTypes:{},__initLayoutProperties:function(j){var e=[$[28],$[23],$[91],$[90],$[99],$[94],"left",$[15],"top",$[31]];for(var g=0,d=e.length,h,c,f;g<d;g++){h=e[g];c="_computed"+qx.lang.String.toFirstUp(h);f=c+"Type";j.layoutPropertyTypes[h]={dataType:f,dataParsed:c+"Parsed",dataValue:c+"Value",typePixel:f+"Pixel",typePercent:f+"Percent",typeAuto:f+"Auto",typeFlex:f+"Flex",typeNull:f+"Null"}}},disableScrolling:function(b){var a=b._getTargetNode();if(a){qx.html.Scroll.disableScrolling(a)}else{b.addEventListener($[44],this._blockScrollingOnAppear,b)}},enableScrolling:function(b){var a=b._getTargetNode();if(a){qx.html.Scroll.enableScrolling(a)}else{b.removeEventListener($[44],this._blockScrollingOnAppear,b)}},_blockScrollingOnAppear:function(){var a=qx.ui.core.Widget._blockScrollingOnAppear;this.removeEventListener($[44],a,this);qx.ui.core.Widget.disableScrolling(this)}},properties:{enabled:{init:$[182],check:$[2],inheritable:true,apply:$[334],event:$[180]},parent:{check:$[423],nullable:true,event:$[171],apply:"_applyParent"},element:{check:"Element",nullable:true,apply:"_applyElement",event:$[344]},visibility:{check:$[2],init:true,apply:$[507],event:$[174]},display:{check:$[2],init:true,apply:"_applyDisplay",event:"changeDisplay"},anonymous:{check:$[2],init:false,event:"changeAnonymous"},horizontalAlign:{check:["left",$[30],$[15]],themeable:true,nullable:true},verticalAlign:{check:["top",$[46],$[31]],themeable:true,nullable:true},allowStretchX:{check:$[2],init:true},allowStretchY:{check:$[2],init:true},zIndex:{check:$[59],apply:"_applyZIndex",event:"changeZIndex",themeable:true,nullable:true,init:null},backgroundColor:{nullable:true,init:null,check:"Color",apply:$[480],event:$[172],themeable:true},backgroundGradient:{check:"Array",nullable:true,init:null,apply:$[319],event:$[326],themeable:true},shadow:{check:"Array",nullable:true,init:null,apply:"_applyShadow",event:"changeShadow",themeable:true},textShadow:{check:"Array",nullable:true,init:null,apply:"_applyTextShadow",event:"changeTextShadow",themeable:true},textColor:{nullable:true,init:$[182],check:"Color",apply:"_applyTextColor",event:$[310],themeable:true,inheritable:true},border:{nullable:true,init:null,apply:"_applyBorder",event:"changeBorder",check:"Border",themeable:true},font:{nullable:true,init:$[182],apply:"_applyFont",check:"Font",event:$[102],themeable:true,inheritable:true},opacity:{check:$[59],apply:$[333],themeable:true,nullable:true,init:null},cursor:{check:$[21],apply:"_applyCursor",themeable:true,nullable:true,init:null},backgroundImage:{check:$[21],nullable:true,apply:"_applyBackgroundImage",themeable:true},backgroundRepeat:{check:$[21],nullable:true,apply:"_applyBackgroundRepeat",themeable:true},overflow:{check:[$[13],"auto",$[12],$[86],$[85]],nullable:true,apply:"_applyOverflow",event:"changeOverflow",themeable:true,init:null},containerOverflow:{check:$[2],nullable:false,apply:"_applyContainerOverflow",themeable:true,init:true},clipLeft:{check:$[14],apply:$[265],themeable:true,nullable:true},clipTop:{check:$[14],apply:$[265],themeable:true,nullable:true},clipWidth:{check:$[14],apply:$[265],themeable:true,nullable:true},clipHeight:{check:$[14],apply:$[265],themeable:true,nullable:true},tabIndex:{check:$[14],nullable:true,init:null,apply:"_applyTabIndex",event:"changeTabIndex"},hideFocus:{check:$[2],init:true,apply:"_applyHideFocus",themeable:true},enableElementFocus:{check:$[2],init:true},focused:{check:$[2],init:false,apply:"_applyFocused",event:$[262]},selectable:{check:$[2],init:null,nullable:true,apply:"_applySelectable"},toolTip:{check:$[240],nullable:true,event:"changeToolTip"},contextMenu:{nullable:true,event:"changeContextMenu"},capture:{check:$[2],init:false,apply:"_applyCapture",event:"changeCapture"},dropDataTypes:{nullable:true,dispose:true},command:{check:"qx.client.Command",nullable:true,apply:"_applyCommand"},appearance:{check:$[21],init:"widget",apply:"_applyAppearance",event:"changeAppearance"},supportsDropMethod:{check:"Function",nullable:true,init:null},marginTop:{check:$[59],apply:"_applyMarginTop",nullable:true,themeable:true},marginRight:{check:$[59],apply:"_applyMarginRight",nullable:true,themeable:true},marginBottom:{check:$[59],apply:"_applyMarginBottom",nullable:true,themeable:true},marginLeft:{check:$[59],apply:"_applyMarginLeft",nullable:true,themeable:true},paddingTop:{check:$[59],apply:"_applyPaddingTop",nullable:true,themeable:true},paddingRight:{check:$[59],apply:"_applyPaddingRight",nullable:true,themeable:true},paddingBottom:{check:$[59],apply:"_applyPaddingBottom",nullable:true,themeable:true},paddingLeft:{check:$[59],apply:"_applyPaddingLeft",nullable:true,themeable:true},left:{apply:"_applyLeft",event:$[150],nullable:true,themeable:true,init:null},right:{apply:"_applyRight",event:"changeRight",nullable:true,themeable:true,init:null},width:{apply:"_applyWidth",event:$[63],nullable:true,themeable:true,init:null},minWidth:{apply:"_applyMinWidth",event:"changeMinWidth",nullable:true,themeable:true,init:null},maxWidth:{apply:"_applyMaxWidth",event:"changeMaxWidth",nullable:true,themeable:true,init:null},top:{apply:"_applyTop",event:$[336],nullable:true,themeable:true,init:null},bottom:{apply:"_applyBottom",event:"changeBottom",nullable:true,themeable:true,init:null},height:{apply:$[394],event:$[71],nullable:true,themeable:true,init:null},minHeight:{apply:"_applyMinHeight",event:"changeMinHeight",nullable:true,themeable:true,init:null},maxHeight:{apply:"_applyMaxHeight",event:"changeMaxHeight",nullable:true,themeable:true,init:null},location:{group:["left","top"],themeable:true},dimension:{group:[$[28],$[23]],themeable:true},space:{group:["left",$[28],"top",$[23]],themeable:true},edge:{group:["top",$[15],$[31],"left"],themeable:true,mode:$[227]},padding:{group:[$[181],$[191],$[208],$[213]],mode:$[227],themeable:true},margin:{group:[$[178],$[236],$[275],$[179]],mode:$[227],themeable:true},heights:{group:[$[99],$[23],$[94]],themeable:true},widths:{group:[$[91],$[28],$[90]],themeable:true},align:{group:["horizontalAlign","verticalAlign"],themeable:true},clipLocation:{group:["clipLeft","clipTop"]},clipDimension:{group:["clipWidth","clipHeight"]},clip:{group:["clipLeft","clipTop","clipWidth","clipHeight"]},innerWidth:{_cached:true,defaultValue:null},innerHeight:{_cached:true,defaultValue:null},boxWidth:{_cached:true,defaultValue:null},boxHeight:{_cached:true,defaultValue:null},outerWidth:{_cached:true,defaultValue:null},outerHeight:{_cached:true,defaultValue:null},frameWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},frameHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerWidth:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredInnerHeight:{_cached:true,defaultValue:null,addToQueueRuntime:true},preferredBoxWidth:{_cached:true,defaultValue:null},preferredBoxHeight:{_cached:true,defaultValue:null},hasPercentX:{_cached:true,defaultValue:false},hasPercentY:{_cached:true,defaultValue:false},hasAutoX:{_cached:true,defaultValue:false},hasAutoY:{_cached:true,defaultValue:false},hasFlexX:{_cached:true,defaultValue:false},hasFlexY:{_cached:true,defaultValue:false}},members:{_computedLeftValue:null,_computedLeftParsed:null,_computedLeftType:null,_computedLeftTypeNull:true,_computedLeftTypePixel:false,_computedLeftTypePercent:false,_computedLeftTypeAuto:false,_computedLeftTypeFlex:false,_computedRightValue:null,_computedRightParsed:null,_computedRightType:null,_computedRightTypeNull:true,_computedRightTypePixel:false,_computedRightTypePercent:false,_computedRightTypeAuto:false,_computedRightTypeFlex:false,_computedTopValue:null,_computedTopParsed:null,_computedTopType:null,_computedTopTypeNull:true,_computedTopTypePixel:false,_computedTopTypePercent:false,_computedTopTypeAuto:false,_computedTopTypeFlex:false,_computedBottomValue:null,_computedBottomParsed:null,_computedBottomType:null,_computedBottomTypeNull:true,_computedBottomTypePixel:false,_computedBottomTypePercent:false,_computedBottomTypeAuto:false,_computedBottomTypeFlex:false,_computedWidthValue:null,_computedWidthParsed:null,_computedWidthType:null,_computedWidthTypeNull:true,_computedWidthTypePixel:false,_computedWidthTypePercent:false,_computedWidthTypeAuto:false,_computedWidthTypeFlex:false,_computedMinWidthValue:null,_computedMinWidthParsed:null,_computedMinWidthType:null,_computedMinWidthTypeNull:true,_computedMinWidthTypePixel:false,_computedMinWidthTypePercent:false,_computedMinWidthTypeAuto:false,_computedMinWidthTypeFlex:false,_computedMaxWidthValue:null,_computedMaxWidthParsed:null,_computedMaxWidthType:null,_computedMaxWidthTypeNull:true,_computedMaxWidthTypePixel:false,_computedMaxWidthTypePercent:false,_computedMaxWidthTypeAuto:false,_computedMaxWidthTypeFlex:false,_computedHeightValue:null,_computedHeightParsed:null,_computedHeightType:null,_computedHeightTypeNull:true,_computedHeightTypePixel:false,_computedHeightTypePercent:false,_computedHeightTypeAuto:false,_computedHeightTypeFlex:false,_computedMinHeightValue:null,_computedMinHeightParsed:null,_computedMinHeightType:null,_computedMinHeightTypeNull:true,_computedMinHeightTypePixel:false,_computedMinHeightTypePercent:false,_computedMinHeightTypeAuto:false,_computedMinHeightTypeFlex:false,_computedMaxHeightValue:null,_computedMaxHeightParsed:null,_computedMaxHeightType:null,_computedMaxHeightTypeNull:true,_computedMaxHeightTypePixel:false,_computedMaxHeightTypePercent:false,_computedMaxHeightTypeAuto:false,_computedMaxHeightTypeFlex:false,_customVariant:null,_applyLeft:function(b,a){this._unitDetectionPixelPercent("left",b);this.addToQueue("left")},_applyRight:function(b,a){this._unitDetectionPixelPercent($[15],b);this.addToQueue($[15])},_applyTop:function(b,a){this._unitDetectionPixelPercent("top",b);this.addToQueue("top")},_applyBottom:function(b,a){this._unitDetectionPixelPercent($[31],b);this.addToQueue($[31])},_applyWidth:function(b,a){this._unitDetectionPixelPercentAutoFlex($[28],b);this.addToQueue($[28])},_applyMinWidth:function(b,a){this._unitDetectionPixelPercentAuto($[91],b);this.addToQueue($[91])},_applyMaxWidth:function(b,a){this._unitDetectionPixelPercentAuto($[90],b);this.addToQueue($[90])},_applyHeight:function(b,a){this._unitDetectionPixelPercentAutoFlex($[23],b);this.addToQueue($[23])},_applyMinHeight:function(b,a){this._unitDetectionPixelPercentAuto($[99],b);this.addToQueue($[99])},_applyMaxHeight:function(b,a){this._unitDetectionPixelPercentAuto($[94],b);this.addToQueue($[94])},getChildren:qx.lang.Function.returnNull,getChildrenLength:qx.lang.Function.returnZero,hasChildren:qx.lang.Function.returnFalse,isEmpty:qx.lang.Function.returnTrue,indexOf:qx.lang.Function.returnNegativeIndex,contains:qx.lang.Function.returnFalse,getVisibleChildren:qx.lang.Function.returnNull,getVisibleChildrenLength:qx.lang.Function.returnZero,hasVisibleChildren:qx.lang.Function.returnFalse,isVisibleEmpty:qx.lang.Function.returnTrue,_hasParent:false,_isDisplayable:false,isDisplayable:function(){return this._isDisplayable},_checkParent:function(b,a){if(this.contains(b)){throw new Error("Could not insert myself into a child "+b+"!")}return b},_applyParent:function(c,a){if(a){var b=a.getChildren().indexOf(this);this._computedWidthValue=null;this._computedMinWidthValue=null;this._computedMaxWidthValue=null;this._computedLeftValue=null;this._computedRightValue=null;this._computedHeightValue=null;this._computedMinHeightValue=null;this._computedMaxHeightValue=null;this._computedTopValue=null;this._computedBottomValue=null;this._cachedBoxWidth=null;this._cachedInnerWidth=null;this._cachedOuterWidth=null;this._cachedBoxHeight=null;this._cachedInnerHeight=null;this._cachedOuterHeight=null;qx.lang.Array.removeAt(a.getChildren(),b);a._invalidateVisibleChildren();a._removeChildFromChildrenQueue(this);a.getLayoutImpl().updateChildrenOnRemoveChild(this,b);a.addToJobQueue($[403]);a._invalidatePreferredInnerDimensions();this._oldParent=a}if(c){this._hasParent=true;if(typeof this._insertIndex==$[62]){qx.lang.Array.insertAt(c.getChildren(),this,this._insertIndex);delete this._insertIndex}else{c.getChildren().push(this)}}else{this._hasParent=false}qx.core.Property.refresh(this);return this._handleDisplayable("parent")},_applyDisplay:function(b,a){return this._handleDisplayable($[160])},_handleDisplayable:function(g){var f=this._computeDisplayable();if(this._isDisplayable==f&&!(f&&g=="parent")){return true}this._isDisplayable=f;var e=this.getParent();if(e){e._invalidateVisibleChildren();e._invalidatePreferredInnerDimensions()}if(g&&this._oldParent&&this._oldParent._initialLayoutDone){var d=this.getElement();if(d){if(this.getVisibility()){this._beforeDisappear()}try{this._oldParent._getTargetNode().removeChild(d)}catch(c){}this._afterRemoveDom();if(this.getVisibility()){this._afterDisappear()}}delete this._oldParent}if(f){if(e._initialLayoutDone){var b=e.getChildren().indexOf(this);e.getLayoutImpl().updateChildrenOnAddChild(this,b);e.addToJobQueue("addChild")}this.addToLayoutChanges("initial");this.addToCustomQueues(g);if(this.getVisibility()){this._beforeAppear()}if(!this._isCreated){qx.ui.core.Widget.addToGlobalElementQueue(this)}qx.ui.core.Widget.addToGlobalStateQueue(this);if(!qx.lang.Object.isEmpty(this._jobQueue)){qx.ui.core.Widget.addToGlobalJobQueue(this)}if(!qx.lang.Object.isEmpty(this._childrenQueue)){qx.ui.core.Widget.addToGlobalLayoutQueue(this)}}else{qx.ui.core.Widget.removeFromGlobalElementQueue(this);qx.ui.core.Widget.removeFromGlobalStateQueue(this);qx.ui.core.Widget.removeFromGlobalJobQueue(this);qx.ui.core.Widget.removeFromGlobalLayoutQueue(this);this.removeFromCustomQueues(g);if(e&&g){if(this.getVisibility()){this._beforeDisappear()}if(e._initialLayoutDone&&this._initialLayoutDone){var b=e.getChildren().indexOf(this);e.getLayoutImpl().updateChildrenOnRemoveChild(this,b);e.addToJobQueue($[403]);var a=org.eclipse.rwt.Client.isMshtml()?this.getElement().parentElement:this.getElement().parentNode;if(a){a.removeChild(this.getElement());this._afterRemoveDom()}}e._removeChildFromChildrenQueue(this);if(this.getVisibility()){this._afterDisappear()}}}this._handleDisplayableCustom(f,e,g);return true},addToCustomQueues:qx.lang.Function.returnTrue,removeFromCustomQueues:qx.lang.Function.returnTrue,_handleDisplayableCustom:qx.lang.Function.returnTrue,_computeDisplayable:function(){return this.getDisplay()&&this.getParent()&&this.getParent()._isDisplayable?true:false},_beforeAppear:function(){this.dispatchSimpleEvent("beforeAppear")},_afterAppear:function(){this._isSeeable=true;this.dispatchSimpleEvent($[44])},_ieFixLayoutOnAppear:qx.core.Variant.select($[0],{mshtml:function(){var b=this._style.width;var a=this._style.height;this._style.width="0px";this._style.height="0px";this._style.width=b;this._style.height=a;if(this._innerStyle){b=this._innerStyle.width;a=this._innerStyle.height;this._innerStyle.width="0px";this._innerStyle.height="0px";this._innerStyle.width=b;this._innerStyle.height=a}},"default":qx.lang.Function.returnTrue}),_beforeDisappear:function(){this.removeState("over");if(qx.Class.isDefined($[346])){this.removeState($[11]);this.removeState($[33])}this.dispatchSimpleEvent("beforeDisappear")},_afterDisappear:function(){this._isSeeable=false;this.dispatchSimpleEvent($[355])},_isSeeable:false,_isInDom:false,isSeeable:function(){return this._isSeeable},isInDom:function(){return this._isInDom},isAppearRelevant:function(){return this.getVisibility()&&this._isDisplayable},_afterInsertDom:function(){this._isInDom=true;this.dispatchSimpleEvent($[143])},_afterRemoveDom:function(){this._isInDom=false},_applyVisibility:function(b,a){if(b){if(this._isDisplayable&&(this._isCreated||this._isInGlobalElementQueue)){this._beforeAppear()}this.removeStyleProperty($[160]);if(this._isDisplayable&&this._isCreated){this._afterAppear();this._ieFixLayoutOnAppear()}}else{if(this._isDisplayable&&this._isCreated){this._beforeDisappear()}this.setStyleProperty($[160],"none");if(this._isDisplayable&&this._isCreated){this._afterDisappear()}}},show:function(){this.setVisibility(true);this.setDisplay(true)},hide:function(){this.setVisibility(false)},destroy:function(){if(this.getParent()===null||!this.getParent()._isInGlobalDisposeQueue){if(this.dispatchSimpleEvent($[228])){this.setParent(null);qx.ui.core.Widget.addToGlobalDisposeQueue(this)}}},_markInDispose:function(){this._isInGlobalDisposeQueue=true},_isCreated:false,_element:null,_targetNode:null,_style:null,_innerStyle:null,_getTargetNode:function(){return this._targetNode||this._element},addToDocument:function(){qx.ui.core.ClientDocument.getInstance().add(this)},isCreated:function(){return this._isCreated},_createElementImpl:function(){this.setElement(this.getTopLevelWidget().getDocumentElement().createElement("div"))},_applyElement:function(b,a){this._isCreated=b!=null;if(a){a.qx_Widget=null}if(b){b.qx_Widget=this;b.style.position=$[17];this._element=b;this._style=b.style;if(this._targetNodeEnabled){this.prepareEnhancedBorder(true)}this.initBackgroundColor();this._applyStyleProperties(b);this._applyHtmlProperties(b);this._applyHtmlAttributes(b);this._applyElementData(b);this.dispatchSimpleEvent($[84]);this.addToStateQueue()}else{this._element=this._style=null}},addToJobQueue:function(a){if(this._hasParent){qx.ui.core.Widget.addToGlobalJobQueue(this)}if(!this._jobQueue){this._jobQueue={}}this._jobQueue[a]=true;return true},_flushJobQueue:function(e){var k=this._jobQueue;var p=this.getParent();if(!p||qx.lang.Object.isEmpty(k)){return}var n=this instanceof qx.ui.core.Parent?this.getLayoutImpl():null;if(n){n.updateSelfOnJobQueueFlush(k)}var b=false;var g=k.marginLeft||k.marginRight;var h=k.marginTop||k.marginBottom;var c=k.frameWidth;var l=k.frameHeight;var f=(k.frameWidth||k.preferredInnerWidth)&&this._recomputePreferredBoxWidth();var o=(k.frameHeight||k.preferredInnerHeight)&&this._recomputePreferredBoxHeight();if(f){var d=this.getPreferredBoxWidth();if(this._computedWidthTypeAuto){this._computedWidthValue=d;k.width=true}if(this._computedMinWidthTypeAuto){this._computedMinWidthValue=d;k.minWidth=true}if(this._computedMaxWidthTypeAuto){this._computedMaxWidthValue=d;k.maxWidth=true}}if(o){var d=this.getPreferredBoxHeight();if(this._computedHeightTypeAuto){this._computedHeightValue=d;k.height=true}if(this._computedMinHeightTypeAuto){this._computedMinHeightValue=d;k.minHeight=true}if(this._computedMaxHeightTypeAuto){this._computedMaxHeightValue=d;k.maxHeight=true}}if((k.width||k.minWidth||k.maxWidth||k.left||k.right)&&this._recomputeBoxWidth()){g=c=true}if((k.height||k.minHeight||k.maxHeight||k.top||k.bottom)&&this._recomputeBoxHeight()){h=l=true}if((g&&this._recomputeOuterWidth())||f){p._invalidatePreferredInnerWidth();p.getLayoutImpl().updateSelfOnChildOuterWidthChange(this);b=true}if((h&&this._recomputeOuterHeight())||o){p._invalidatePreferredInnerHeight();p.getLayoutImpl().updateSelfOnChildOuterHeightChange(this);b=true}if(b){p._flushJobQueue()}p._addChildToChildrenQueue(this);for(var j in k){this._layoutChanges[j]=true}if(this instanceof qx.ui.core.Parent&&(k.paddingLeft||k.paddingRight||k.paddingTop||k.paddingBottom)){var a=this.getChildren(),m=a.length;if(k.paddingLeft){for(var j=0;j<m;j++){a[j].addToLayoutChanges("parentPaddingLeft")}}if(k.paddingRight){for(var j=0;j<m;j++){a[j].addToLayoutChanges("parentPaddingRight")}}if(k.paddingTop){for(var j=0;j<m;j++){a[j].addToLayoutChanges("parentPaddingTop")}}if(k.paddingBottom){for(var j=0;j<m;j++){a[j].addToLayoutChanges("parentPaddingBottom")}}}if(c){this._recomputeInnerWidth()}if(l){this._recomputeInnerHeight()}if(this._initialLayoutDone){if(n){n.updateChildrenOnJobQueueFlush(k)}}delete this._jobQueue},_isWidthEssential:qx.lang.Function.returnTrue,_isHeightEssential:qx.lang.Function.returnTrue,_computeBoxWidthFallback:function(){return 0},_computeBoxHeightFallback:function(){return 0},_computeBoxWidth:function(){var a=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit(a.computeChildBoxWidth(this),this.getMinWidthValue(),this.getMaxWidthValue()))},_computeBoxHeight:function(){var a=this.getParent().getLayoutImpl();return Math.max(0,qx.lang.Number.limit(a.computeChildBoxHeight(this),this.getMinHeightValue(),this.getMaxHeightValue()))},_computeOuterWidth:function(){return Math.max(0,(this.getMarginLeft()+this.getBoxWidth()+this.getMarginRight()))},_computeOuterHeight:function(){return Math.max(0,(this.getMarginTop()+this.getBoxHeight()+this.getMarginBottom()))},_computeInnerWidth:function(){return Math.max(0,this.getBoxWidth()-this.getFrameWidth())},_computeInnerHeight:function(){return Math.max(0,this.getBoxHeight()-this.getFrameHeight())},getNeededWidth:function(){var a=this.getParent().getLayoutImpl();return Math.max(0,a.computeChildNeededWidth(this))},getNeededHeight:function(){var a=this.getParent().getLayoutImpl();return Math.max(0,a.computeChildNeededHeight(this))},_recomputeFlexX:function(){if(!this.getHasFlexX()){return false}if(this._computedWidthTypeFlex){this._computedWidthValue=null;this.addToLayoutChanges($[28])}return true},_recomputeFlexY:function(){if(!this.getHasFlexY()){return false}if(this._computedHeightTypeFlex){this._computedHeightValue=null;this.addToLayoutChanges($[23])}return true},_recomputePercentX:function(){if(!this.getHasPercentX()){return false}if(this._computedWidthTypePercent){this._computedWidthValue=null;this.addToLayoutChanges($[28])}if(this._computedMinWidthTypePercent){this._computedMinWidthValue=null;this.addToLayoutChanges($[91])}if(this._computedMaxWidthTypePercent){this._computedMaxWidthValue=null;this.addToLayoutChanges($[90])}if(this._computedLeftTypePercent){this._computedLeftValue=null;this.addToLayoutChanges("left")}if(this._computedRightTypePercent){this._computedRightValue=null;this.addToLayoutChanges($[15])}return true},_recomputePercentY:function(){if(!this.getHasPercentY()){return false}if(this._computedHeightTypePercent){this._computedHeightValue=null;this.addToLayoutChanges($[23])}if(this._computedMinHeightTypePercent){this._computedMinHeightValue=null;this.addToLayoutChanges($[99])}if(this._computedMaxHeightTypePercent){this._computedMaxHeightValue=null;this.addToLayoutChanges($[94])}if(this._computedTopTypePercent){this._computedTopValue=null;this.addToLayoutChanges("top")}if(this._computedBottomTypePercent){this._computedBottomValue=null;this.addToLayoutChanges($[31])}return true},_recomputeRangeX:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(){if(this._computedLeftTypeNull||this._computedRightTypeNull){return false}this.addToLayoutChanges($[28]);return true},"default":function(){return !(this._computedLeftTypeNull||this._computedRightTypeNull)}}),_recomputeRangeY:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(){if(this._computedTopTypeNull||this._computedBottomTypeNull){return false}this.addToLayoutChanges($[23]);return true},"default":function(){return !(this._computedTopTypeNull||this._computedBottomTypeNull)}}),_recomputeStretchingX:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){this._computedWidthValue=null;this.addToLayoutChanges($[28]);return true}return false},"default":function(){if(this.getAllowStretchX()&&this._computedWidthTypeNull){return true}return false}}),_recomputeStretchingY:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){this._computedHeightValue=null;this.addToLayoutChanges($[23]);return true}return false},"default":function(){if(this.getAllowStretchY()&&this._computedHeightTypeNull){return true}return false}}),_computeValuePixel:function(a){return Math.round(a)},_computeValuePixelLimit:function(a){return Math.max(0,this._computeValuePixel(a))},_computeValuePercentX:function(a){return Math.round(this.getParent().getInnerWidthForChild(this)*a*0.01)},_computeValuePercentXLimit:function(a){return Math.max(0,this._computeValuePercentX(a))},_computeValuePercentY:function(a){return Math.round(this.getParent().getInnerHeightForChild(this)*a*0.01)},_computeValuePercentYLimit:function(a){return Math.max(0,this._computeValuePercentY(a))},getWidthValue:function(){if(this._computedWidthValue!=null){return this._computedWidthValue}switch(this._computedWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedWidthValue=this.getPreferredBoxWidth();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexWidth===undefined){throw new Error("Widget "+this+": having horizontal flex size (width="+this.getWidth()+$[491]+this.getParent()+$[371])}this.getParent().getLayoutImpl().computeChildrenFlexWidth();return this._computedWidthValue=this._computedWidthFlexValue}return null},getMinWidthValue:function(){if(this._computedMinWidthValue!=null){return this._computedMinWidthValue}switch(this._computedMinWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMinWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinWidthValue=this.getPreferredBoxWidth()}return null},getMaxWidthValue:function(){if(this._computedMaxWidthValue!=null){return this._computedMaxWidthValue}switch(this._computedMaxWidthType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedWidthValue=this._computeValuePixelLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedWidthValue=this._computeValuePercentXLimit(this._computedMaxWidthParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxWidthValue=this.getPreferredBoxWidth()}return null},getLeftValue:function(){if(this._computedLeftValue!=null){return this._computedLeftValue}switch(this._computedLeftType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedLeftValue=this._computeValuePixel(this._computedLeftParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedLeftValue=this._computeValuePercentX(this._computedLeftParsed)}return null},getRightValue:function(){if(this._computedRightValue!=null){return this._computedRightValue}switch(this._computedRightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedRightValue=this._computeValuePixel(this._computedRightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedRightValue=this._computeValuePercentX(this._computedRightParsed)}return null},getHeightValue:function(){if(this._computedHeightValue!=null){return this._computedHeightValue}switch(this._computedHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedHeightValue=this._computeValuePixelLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedHeightValue=this._computeValuePercentYLimit(this._computedHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedHeightValue=this.getPreferredBoxHeight();case qx.ui.core.Widget.TYPE_FLEX:if(this.getParent().getLayoutImpl().computeChildrenFlexHeight===undefined){throw new Error("Widget "+this+": having vertical flex size (height="+this.getHeight()+$[491]+this.getParent()+$[371])}this.getParent().getLayoutImpl().computeChildrenFlexHeight();return this._computedHeightValue=this._computedHeightFlexValue}return null},getMinHeightValue:function(){if(this._computedMinHeightValue!=null){return this._computedMinHeightValue}switch(this._computedMinHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMinHeightValue=this._computeValuePixelLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMinHeightValue=this._computeValuePercentYLimit(this._computedMinHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMinHeightValue=this.getPreferredBoxHeight()}return null},getMaxHeightValue:function(){if(this._computedMaxHeightValue!=null){return this._computedMaxHeightValue}switch(this._computedMaxHeightType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedMaxHeightValue=this._computeValuePixelLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedMaxHeightValue=this._computeValuePercentYLimit(this._computedMaxHeightParsed);case qx.ui.core.Widget.TYPE_AUTO:return this._computedMaxHeightValue=this.getPreferredBoxHeight()}return null},getTopValue:function(){if(this._computedTopValue!=null){return this._computedTopValue}switch(this._computedTopType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedTopValue=this._computeValuePixel(this._computedTopParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedTopValue=this._computeValuePercentY(this._computedTopParsed)}return null},getBottomValue:function(){if(this._computedBottomValue!=null){return this._computedBottomValue}switch(this._computedBottomType){case qx.ui.core.Widget.TYPE_PIXEL:return this._computedBottomValue=this._computeValuePixel(this._computedBottomParsed);case qx.ui.core.Widget.TYPE_PERCENT:return this._computedBottomValue=this._computeValuePercentY(this._computedBottomParsed)}return null},_computeFrameWidth:function(){var a=this._cachedBorderLeft+this.getPaddingLeft()+this.getPaddingRight()+this._cachedBorderRight;return a},_computeFrameHeight:function(){var a=this._cachedBorderTop+this.getPaddingTop()+this.getPaddingBottom()+this._cachedBorderBottom;return a},_invalidateFrameDimensions:function(){this._invalidateFrameWidth();this._invalidateFrameHeight()},_invalidatePreferredInnerDimensions:function(){this._invalidatePreferredInnerWidth();this._invalidatePreferredInnerHeight()},_computePreferredBoxWidth:function(){return Math.max(0,this.getPreferredInnerWidth()+this.getFrameWidth())},_computePreferredBoxHeight:function(){return Math.max(0,this.getPreferredInnerHeight()+this.getFrameHeight())},_initialLayoutDone:false,addToLayoutChanges:function(a){if(this._isDisplayable){this.getParent()._addChildToChildrenQueue(this)}return this._layoutChanges[a]=true},addToQueue:function(a){this._initialLayoutDone?this.addToJobQueue(a):this.addToLayoutChanges(a)},addToQueueRuntime:function(a){return !this._initialLayoutDone||this.addToJobQueue(a)},_computeHasPercentX:function(){return(this._computedLeftTypePercent||this._computedWidthTypePercent||this._computedMinWidthTypePercent||this._computedMaxWidthTypePercent||this._computedRightTypePercent)},_computeHasPercentY:function(){return(this._computedTopTypePercent||this._computedHeightTypePercent||this._computedMinHeightTypePercent||this._computedMaxHeightTypePercent||this._computedBottomTypePercent)},_computeHasAutoX:function(){return(this._computedWidthTypeAuto||this._computedMinWidthTypeAuto||this._computedMaxWidthTypeAuto)},_computeHasAutoY:function(){return(this._computedHeightTypeAuto||this._computedMinHeightTypeAuto||this._computedMaxHeightTypeAuto)},_computeHasFlexX:function(){return this._computedWidthTypeFlex},_computeHasFlexY:function(){return this._computedHeightTypeFlex},_evalUnitsPixelPercentAutoFlex:function(a){switch(a){case"auto":return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL}switch(typeof a){case $[62]:return isNaN(a)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[9]:return a.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:a.indexOf("*")!=-1?qx.ui.core.Widget.TYPE_FLEX:qx.ui.core.Widget.TYPE_NULL}return qx.ui.core.Widget.TYPE_NULL},_evalUnitsPixelPercentAuto:function(a){switch(a){case"auto":return qx.ui.core.Widget.TYPE_AUTO;case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL}switch(typeof a){case $[62]:return isNaN(a)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[9]:return a.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL}return qx.ui.core.Widget.TYPE_NULL},_evalUnitsPixelPercent:function(a){switch(a){case Infinity:case -Infinity:return qx.ui.core.Widget.TYPE_NULL}switch(typeof a){case $[62]:return isNaN(a)?qx.ui.core.Widget.TYPE_NULL:qx.ui.core.Widget.TYPE_PIXEL;case $[9]:return a.indexOf("%")!=-1?qx.ui.core.Widget.TYPE_PERCENT:qx.ui.core.Widget.TYPE_NULL}return qx.ui.core.Widget.TYPE_NULL},_unitDetectionPixelPercentAutoFlex:function(b,j){var a=qx.ui.core.Widget.layoutPropertyTypes[b];var n=a.dataType;var c=a.dataParsed;var m=a.dataValue;var l=a.typePixel;var k=a.typePercent;var i=a.typeAuto;var h=a.typeFlex;var g=a.typeNull;var e=this[k];var f=this[i];var d=this[h];switch(this[n]=this._evalUnitsPixelPercentAutoFlex(j)){case qx.ui.core.Widget.TYPE_PIXEL:this[l]=true;this[k]=this[i]=this[h]=this[g]=false;this[c]=this[m]=Math.round(j);break;case qx.ui.core.Widget.TYPE_PERCENT:this[k]=true;this[l]=this[i]=this[h]=this[g]=false;this[c]=parseFloat(j);this[m]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[i]=true;this[l]=this[k]=this[h]=this[g]=false;this[c]=this[m]=null;break;case qx.ui.core.Widget.TYPE_FLEX:this[h]=true;this[l]=this[k]=this[i]=this[g]=false;this[c]=parseFloat(j);this[m]=null;break;default:this[g]=true;this[l]=this[k]=this[i]=this[h]=false;this[c]=this[m]=null;break}if(e!=this[k]){switch(b){case $[91]:case $[90]:case $[28]:case"left":case $[15]:this._invalidateHasPercentX();break;case $[94]:case $[99]:case $[23]:case"top":case $[31]:this._invalidateHasPercentY();break}}if(f!=this[i]){switch(b){case $[91]:case $[90]:case $[28]:this._invalidateHasAutoX();break;case $[99]:case $[94]:case $[23]:this._invalidateHasAutoY();break}}if(d!=this[h]){switch(b){case $[28]:this._invalidateHasFlexX();break;case $[23]:this._invalidateHasFlexY();break}}},_unitDetectionPixelPercentAuto:function(b,h){var a=qx.ui.core.Widget.layoutPropertyTypes[b];var l=a.dataType;var c=a.dataParsed;var k=a.dataValue;var j=a.typePixel;var i=a.typePercent;var g=a.typeAuto;var f=a.typeNull;var d=this[i];var e=this[g];switch(this[l]=this._evalUnitsPixelPercentAuto(h)){case qx.ui.core.Widget.TYPE_PIXEL:this[j]=true;this[i]=this[g]=this[f]=false;this[c]=this[k]=Math.round(h);break;case qx.ui.core.Widget.TYPE_PERCENT:this[i]=true;this[j]=this[g]=this[f]=false;this[c]=parseFloat(h);this[k]=null;break;case qx.ui.core.Widget.TYPE_AUTO:this[g]=true;this[j]=this[i]=this[f]=false;this[c]=this[k]=null;break;default:this[f]=true;this[j]=this[i]=this[g]=false;this[c]=this[k]=null;break}if(d!=this[i]){switch(b){case $[91]:case $[90]:case $[28]:case"left":case $[15]:this._invalidateHasPercentX();break;case $[99]:case $[94]:case $[23]:case"top":case $[31]:this._invalidateHasPercentY();break}}if(e!=this[g]){switch(b){case $[91]:case $[90]:case $[28]:this._invalidateHasAutoX();break;case $[99]:case $[94]:case $[23]:this._invalidateHasAutoY();break}}},_unitDetectionPixelPercent:function(b,f){var a=qx.ui.core.Widget.layoutPropertyTypes[b];var j=a.dataType;var c=a.dataParsed;var i=a.dataValue;var h=a.typePixel;var g=a.typePercent;var e=a.typeNull;var d=this[g];switch(this[j]=this._evalUnitsPixelPercent(f)){case qx.ui.core.Widget.TYPE_PIXEL:this[h]=true;this[g]=this[e]=false;this[c]=this[i]=Math.round(f);break;case qx.ui.core.Widget.TYPE_PERCENT:this[g]=true;this[h]=this[e]=false;this[c]=parseFloat(f);this[i]=null;break;default:this[e]=true;this[h]=this[g]=false;this[c]=this[i]=null;break}if(d!=this[g]){switch(b){case $[91]:case $[90]:case $[28]:case"left":case $[15]:this._invalidateHasPercentX();break;case $[99]:case $[94]:case $[23]:case"top":case $[31]:this._invalidateHasPercentY();break}}},getTopLevelWidget:function(){return this._hasParent?this.getParent().getTopLevelWidget():null},moveSelfToBegin:function(){this.getParent().addAtBegin(this)},moveSelfToEnd:function(){this.getParent().addAtEnd(this)},getPreviousSibling:function(){var b=this.getParent();if(b==null){return null}var a=b.getChildren();return a[a.indexOf(this)-1]},getNextSibling:function(){var b=this.getParent();if(b==null){return null}var a=b.getChildren();return a[a.indexOf(this)+1]},getPreviousVisibleSibling:function(){if(!this._hasParent){return null}var a=this.getParent().getVisibleChildren();return a[a.indexOf(this)-1]},getNextVisibleSibling:function(){if(!this._hasParent){return null}var a=this.getParent().getVisibleChildren();return a[a.indexOf(this)+1]},getPreviousActiveSibling:function(a){var b=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),-1,a,null);return b?b:this.getParent().getLastActiveChild()},getNextActiveSibling:function(a){var b=qx.ui.core.Widget.getActiveSiblingHelper(this,this.getParent(),1,a,null);return b?b:this.getParent().getFirstActiveChild()},isFirstChild:function(){return this._hasParent&&this.getParent().getFirstChild()==this},isLastChild:function(){return this._hasParent&&this.getParent().getLastChild()==this},isFirstVisibleChild:function(){return this._hasParent&&this.getParent().getFirstVisibleChild()==this},isLastVisibleChild:function(){return this._hasParent&&this.getParent().getLastVisibleChild()==this},setCustomVariant:function(a){if(this._customVariant!==null){this.removeState(this._customVariant)}this._customVariant=a;if(this._customVariant!==null){this.addState(this._customVariant)}},hasState:function(a){return this.__states&&this.__states[a]?true:false},addState:function(a){if(!this.__states){this.__states={}}if(!this.__states[a]){this.__states[a]=true;if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this)}}},removeState:function(a){if(this.__states&&this.__states[a]){delete this.__states[a];if(this._hasParent){qx.ui.core.Widget.addToGlobalStateQueue(this)}}},_styleFromMap:function(c){this._prepareStyleMap(c);var b=qx.core.Property.$$method.style;var d=qx.core.Property.$$method.unstyle;var a;for(var e in c){a=c[e];a===$[7]?this[d[e]]():this[b[e]](a)}},_unstyleFromArray:function(c){var d=qx.core.Property.$$method.unstyle;for(var b=0,a=c.length;b<a;b++){this[d[c[b]]]()}},_prepareStyleMap:qx.core.Variant.select($[0],{mshtml:function(c){if(c.shadow&&c.border&&c.border.getStyle()!==$[77]){var b=c.border.getWidthTop();var a=c.border.getColorTop();var d=[0,0,0,0];c.border=new org.eclipse.rwt.Border(b,$[77],a,d)}},"default":function(a){return a}}),_renderAppearance:function(){if(!this.__states){this.__states={}}this._applyStateStyleFocus(this.__states);var b=this.getAppearance();if(b){var a=qx.theme.manager.Appearance.getInstance().styleFrom(b,this.__states);if(a){this._styleFromMap(a)}}},_resetAppearanceThemeWrapper:function(a,e){var f=this.getAppearance();if(f){var c=qx.theme.manager.Appearance.getInstance();var d=c.styleFromTheme(e,f,this.__states);var b=c.styleFromTheme(a,f,this.__states);var g=[];for(var h in d){if(b[h]===undefined){g.push(h)}}this._unstyleFromArray(g);this._styleFromMap(b)}},_applyStateStyleFocus:qx.core.Variant.select($[0],{mshtml:function(a){},"default":function(a){if(a.focused){if(!qx.event.handler.FocusHandler.mouseFocus&&!this.getHideFocus()){this.setStyleProperty($[222],"1px dotted")}}else{this.setStyleProperty($[222],"none")}}}),addToStateQueue:function(){qx.ui.core.Widget.addToGlobalStateQueue(this)},recursiveAddToStateQueue:function(){this.addToStateQueue()},_applyAppearance:function(e,a){if(!this.__states){this.__states={}}var c=qx.theme.manager.Appearance.getInstance();if(e){var b=c.styleFrom(e,this.__states)||{}}if(a){var d=c.styleFrom(a,this.__states)||{};var f=[];for(var g in d){if(!b||!(g in b)){f.push(g)}}}if(f){this._unstyleFromArray(f)}if(b){this._styleFromMap(b)}},_recursiveAppearanceThemeUpdate:function(a,b){this._resetAppearanceThemeWrapper(a,b)},_applyElementData:function(a){},setHtmlProperty:function(b,a){if(!this._htmlProperties){this._htmlProperties={}}this._htmlProperties[b]=a;if(this._isCreated&&this.getElement()[b]!=a){this.getElement()[b]=a}return true},removeHtmlProperty:qx.core.Variant.select($[0],{mshtml:function(a){if(!this._htmlProperties){return}delete this._htmlProperties[a];if(this._isCreated){this.getElement().removeAttribute(a)}return true},"default":function(a){if(!this._htmlProperties){return}delete this._htmlProperties[a];if(this._isCreated){this.getElement().removeAttribute(a);delete this.getElement()[a]}return true}}),getHtmlProperty:function(a){if(!this._htmlProperties){return""}return this._htmlProperties[a]||""},_applyHtmlProperties:function(a){var c=this._htmlProperties;if(c){var b;for(b in c){a[b]=c[b]}}},setHtmlAttribute:function(b,a){if(!this._htmlAttributes){this._htmlAttributes={}}this._htmlAttributes[b]=a;if(this._isCreated){this.getElement().setAttribute(b,a)}return true},removeHtmlAttribute:function(a){if(!this._htmlAttributes){return}delete this._htmlAttributes[a];if(this._isCreated){this.getElement().removeAttribute(a)}return true},getHtmlAttribute:function(a){if(!this._htmlAttributes){return""}return this._htmlAttributes[a]||""},_applyHtmlAttributes:function(b){var a=this._htmlAttributes;if(a){var c;for(c in a){b.setAttribute(c,a[c])}}},getStyleProperty:function(a){if(!this._styleProperties){return""}return this._styleProperties[a]||""},__outerElementStyleProperties:{cursor:true,zIndex:true,filter:true,display:true,visibility:true,outline:true,boxShadow:true,filter:true,opacity:true,MozOpacity:true},setStyleProperty:function(c,b){if(!this._styleProperties){this._styleProperties={}}this._styleProperties[c]=b;if(this._isCreated){var a=this.__outerElementStyleProperties[c]?this.getElement():this._getTargetNode();if(a){a.style[c]=(b==null)?"":b}}},removeStyleProperty:function(b){if(!this._styleProperties){return}delete this._styleProperties[b];if(this._isCreated){var a=this.__outerElementStyleProperties[b]?this.getElement():this._getTargetNode();if(a){a.style[b]=""}}},_applyStyleProperties:function(b){var e=this._styleProperties;if(!e){return}var d;var f=b;var a=this._getTargetNode();var b;var c;for(d in e){b=this.__outerElementStyleProperties[d]?f:a;c=e[d];b.style[d]=(c==null)?"":c}},_applyEnabled:function(b,a){if(b===false){this.addState("disabled");this.removeState("over");if(qx.Class.isDefined($[346])){this.removeState($[33]);this.removeState($[11])}if(this.getFocused()){this.setFocused(false)}}else{this.removeState("disabled")}},isFocusable:function(){return this.getEnabled()&&this.isSeeable()&&this.getTabIndex()!=null},isFocusRoot:function(){return false},getFocusRoot:function(){if(this._hasParent){return this.getParent().getFocusRoot()}return null},getActiveChild:function(){var a=this.getFocusRoot();if(a){return a.getActiveChild()}return null},_ontabfocus:qx.lang.Function.returnTrue,_applyFocused:function(c,b){if(!this.isCreated()){return}var a=this.getFocusRoot();if(a){if(c){a.setFocusedChild(this);this._visualizeFocus()}else{if(a.getFocusedChild()==this){a.setFocusedChild(null)}this._visualizeBlur()}}},_applyHideFocus:qx.core.Variant.select($[0],{mshtml:function(b,a){this.setHtmlProperty("hideFocus",b)},"default":qx.lang.Function.returnTrue}),_visualizeBlur:function(){if(this.getEnableElementFocus()&&(!this.getFocusRoot().getFocusedChild()||(this.getFocusRoot().getFocusedChild()&&this.getFocusRoot().getFocusedChild().getEnableElementFocus()))){try{this.getElement().blur()}catch(a){}}this.removeState($[75])},_visualizeFocus:function(){var a=qx.event.handler.FocusHandler;if(!a.mouseFocus&&!a.blockFocus&&this.getEnableElementFocus()){try{this.getElement().focus()}catch(b){}}this.addState($[75])},focus:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(true)},blur:function(){delete qx.event.handler.FocusHandler.mouseFocus;this.setFocused(false)},_applyCapture:function(c,b){var a=org.eclipse.rwt.EventHandler;if(b){a.setCaptureWidget(null)}if(c){a.setCaptureWidget(this)}},_applyZIndex:function(b,a){if(b==null){this.removeStyleProperty("zIndex")}else{this.setStyleProperty("zIndex",b)}},_applyTabIndex:qx.core.Variant.select($[0],{mshtml:function(b,a){this.setHtmlProperty($[331],b<0?-1:1)},"default":function(b,a){this.setStyleProperty("userFocus",(b<0?"ignore":$[61]));this.setHtmlProperty($[331],b<0?-1:1)}}),_applySelectable:qx.core.Variant.select($[0],{mshtml:function(b,a){},gecko:function(b,a){if(b){this.removeStyleProperty($[454])}else{this.setStyleProperty($[454],"none")}},webkit:function(b,a){if(b){this.removeStyleProperty($[439]);this.removeStyleProperty($[495])}else{this.setStyleProperty($[439],"none");this.setStyleProperty($[495],"none")}},"default":function(b,a){if(b){return this.removeStyleProperty("userSelect")}else{this.setStyleProperty("userSelect","none")}}}),_applyOpacity:function(b,a){org.eclipse.rwt.HtmlUtil.setOpacity(this,b)},__cursorMap:qx.core.Variant.select($[0],{mshtml:{"default":$[66],wait:"wait",crosshair:$[305],help:"help",move:"move",text:"text",pointer:$[133],"e-resize":$[145],"n-resize":$[169],"w-resize":$[323],"s-resize":$[338],"ne-resize":$[189],"se-resize":$[307],"nw-resize":$[190],"sw-resize":$[324],"col-resize":$[345],"row-resize":"row-resize",progress:$[192],"not-allowed":$[329],"no-drop":"no-drop",cursor:"hand","ew-resize":$[145],"ns-resize":$[169],"nesw-resize":$[189],"nwse-resize":$[190]},opera:{"default":$[66],wait:"wait",crosshair:$[305],help:"help",move:"move",text:"text",pointer:$[133],"e-resize":$[145],"n-resize":$[169],"w-resize":$[323],"s-resize":$[338],"ne-resize":$[189],"se-resize":$[307],"nw-resize":$[190],"sw-resize":$[324],progress:$[192],"not-allowed":$[329],"no-drop":"no-drop","col-resize":$[145],"row-resize":$[169],"ew-resize":$[145],"ns-resize":$[169],"nesw-resize":$[189],"nwse-resize":$[190]},"default":{"default":$[66],wait:"wait",crosshair:$[305],help:"help",move:"move",text:"text",pointer:$[133],"e-resize":$[145],"n-resize":$[169],"w-resize":$[323],"s-resize":$[338],"ne-resize":$[189],"se-resize":$[307],"nw-resize":$[190],"sw-resize":$[324],"col-resize":$[345],"row-resize":"row-resize",progress:$[192],"not-allowed":$[329],"no-drop":"no-drop"}}),_applyCursor:function(c,a){if(c){var b="url( "+qx.io.Alias.getInstance().resolve(c)+" ), default";this.setStyleProperty($[170],this.__cursorMap[c]||b)}else{this.removeStyleProperty($[170])}},_applyCommand:function(b,a){},_applyBackgroundImage:function(c,a){var b=qx.io.image.Manager.getInstance();var d=qx.io.Alias.getInstance();if(a){b.hide(a)}if(c){b.show(c)}d.connect(this._styleBackgroundImage,this,c)},_styleBackgroundImage:function(a){a?this.setStyleProperty($[93],"url("+a+")"):this.removeStyleProperty($[93])},_applyBackgroundRepeat:function(b,a){b?this.setStyleProperty($[308],b):this.removeStyleProperty($[308])},_applyClip:function(b,a){return this._compileClipString()},_compileClipString:function(){var f=this.getClipLeft();var b=this.getClipTop();var e=this.getClipWidth();var a=this.getClipHeight();var d,c;if(f==null){d=(e==null?"auto":e+"px");f="auto"}else{d=(e==null?"auto":f+e+"px");f=f+"px"}if(b==null){c=(a==null?"auto":a+"px");b="auto"}else{c=(a==null?"auto":b+a+"px");b=b+"px"}return this.setStyleProperty("clip",("rect("+b+","+d+","+c+","+f+")"))},_applyOverflow:qx.core.Variant.select($[0],{"default":function(g,c){var f=g;var d=$[58];switch(g){case $[86]:d=$[96];f=$[12];break;case $[85]:d=$[97];f=$[12];break}var b=[$[58],$[96],$[97]];for(var e=0;e<b.length;e++){if(b[e]!=d){this.removeStyleProperty(b[e])}}switch(g){case $[86]:this.setStyleProperty($[97],$[13]);break;case $[85]:this.setStyleProperty($[96],$[13]);break}this._renderOverflow(d,f,g,c);this.addToQueue($[58])},gecko:function(d,a){var c=d;var b=$[58];switch(c){case $[13]:c=$[256];break;case $[86]:c=$[277];break;case $[85]:c=$[231];break}this._renderOverflow(b,c,d,a);this.addToQueue($[58])},opera:function(g,c){var f=g;var d=$[58];if(org.eclipse.rwt.Client.getVersion()<9.8){switch(f){case $[86]:case $[85]:f=$[12];break}}else{switch(f){case $[86]:d=$[96];f=$[12];break;case $[85]:d=$[97];f=$[12];break}var b=[$[58],$[96],$[97]];for(var e=0;e<b.length;e++){if(b[e]!=d){this.removeStyleProperty(b[e])}}switch(g){case $[86]:this.setStyleProperty($[97],$[13]);break;case $[85]:this.setStyleProperty($[96],$[13]);break}}this._renderOverflow(d,f,g,c);this.addToQueue($[58])}}),_renderOverflow:function(b,c,d,a){this.setStyleProperty(b,c||"");this._invalidateFrameWidth();this._invalidateFrameHeight()},getOverflowX:function(){var a=this.getOverflow();return a==$[85]?$[13]:a},getOverflowY:function(){var a=this.getOverflow();return a==$[86]?$[13]:a},_applyContainerOverflow:function(b,a){if(this._innerStyle){this._style.overflow=b?"":$[13]}},_applyBackgroundColor:function(b,a){this._styleBackgroundColor(b)},_applyBackgroundGradient:function(b,a){org.eclipse.rwt.HtmlUtil.setBackgroundGradient(this,b);if(b===null){this.setStyleProperty($[93],this.getStyleProperty($[93]));this.setStyleProperty($[60],this.getStyleProperty($[60]))}},_applyShadow:function(b,a){org.eclipse.rwt.HtmlUtil.setBoxShadow(this,b)},_applyTextShadow:function(b,a){org.eclipse.rwt.HtmlUtil.setTextShadow(this,b)},_styleBackgroundColor:function(a){if(a==null||a===$[82]){this._removeBackgroundColor()}else{this.setStyleProperty($[60],a)}},_removeBackgroundColor:qx.core.Variant.select($[0],{"default":function(){this.removeStyleProperty($[60])},newmshtml:function(){this.setStyleProperty($[60],"rgba( 0, 0, 0, 0 )")}}),_applyTextColor:function(b,a){},_applyFont:function(b,a){},_cachedBorderTop:0,_cachedBorderRight:0,_cachedBorderBottom:0,_cachedBorderLeft:0,_usesComplexBorder:false,_targetNodeEnabled:false,_applyBorder:function(b,a){this._queueBorder(b);if(b&&b.getStyle()===$[77]){this._prepareGraphicsSupport()}},_prepareGraphicsSupport:(function(){var a;if(org.eclipse.rwt.Client.supportsCss3()){a=qx.lang.Function.returnTrue}else{a=function(){if(!this._targetNodeEnabled&&!this._isCreated){this._targetNodeEnabled=true}}}return a})(),_queueBorder:function(a){this.addToQueue($[127]);this.__reflowBorderX(a);this.__reflowBorderY(a);this.__borderObject=a},__reflowBorderX:function(b){var a=this._cachedBorderLeft;var c=this._cachedBorderRight;this._cachedBorderLeft=b?b.getWidthLeft():0;this._cachedBorderRight=b?b.getWidthRight():0;if((a+c)!=(this._cachedBorderLeft+this._cachedBorderRight)){this._invalidateFrameWidth()}},__reflowBorderY:function(c){var a=this._cachedBorderTop;var b=this._cachedBorderBottom;this._cachedBorderTop=c?c.getWidthTop():0;this._cachedBorderBottom=c?c.getWidthBottom():0;if((a+b)!=(this._cachedBorderTop+this._cachedBorderBottom)){this._invalidateFrameHeight()}},renderBorder:function(a){var b=this.__borderObject;if(b){b.renderWidget(this)}else{org.eclipse.rwt.Border.resetWidget(this)}this._usesComplexBorder=this._computeUsesComplexBorder()},_computeUsesComplexBorder:function(){return this.__borderObject&&this.__borderObject.getStyle()===$[175]},prepareEnhancedBorder:function(b){if(!this._innerStyle){this._targetNode=document.createElement("div");this._innerStyle=this._targetNode.style;this._targetNodeEnabled=true;if(org.eclipse.rwt.Client.isMshtml()){this.addToQueue($[28]);this.addToQueue($[23])}else{this._innerStyle.width="100%";this._innerStyle.height="100%"}this._innerStyle.position=$[17];if(!b){for(var a in this._styleProperties){switch(a){case"zIndex":case $[138]:case $[76]:case $[281]:case $[160]:case $[170]:case"boxShadow":break;default:this._innerStyle[a]=this._styleProperties[a];this._style[a]=""}}}this._style.outline="none";this._applyContainerOverflow(this.getContainerOverflow());if(!b){for(var a in this._htmlProperties){switch(a){case $[362]:this._targetNode.unselectable=this._htmlProperties[a]}}}while(this._element.firstChild){this._targetNode.appendChild(this._element.firstChild)}this._element.appendChild(this._targetNode);if(this.isInDom()){this._afterRemoveDom();this._afterInsertDom()}}},_applyPaddingTop:function(b,a){this.addToQueue($[181]);this._invalidateFrameHeight()},_applyPaddingRight:function(b,a){this.addToQueue($[191]);this._invalidateFrameWidth()},_applyPaddingBottom:function(b,a){this.addToQueue($[208]);this._invalidateFrameHeight()},_applyPaddingLeft:function(b,a){this.addToQueue($[213]);this._invalidateFrameWidth()},renderPadding:function(a){},_applyMarginLeft:function(b,a){this.addToQueue($[179])},_applyMarginRight:function(b,a){this.addToQueue($[236])},_applyMarginTop:function(b,a){this.addToQueue($[178])},_applyMarginBottom:function(b,a){this.addToQueue($[275])},execute:function(){var a=this.getCommand();if(a){a.execute(this)}this.createDispatchEvent($[108])},_visualPropertyCheck:function(){if(!this.isCreated()){throw new Error(this.classname+": Element must be created previously!")}},setScrollLeft:function(a){this._visualPropertyCheck();this._getTargetNode().scrollLeft=a},setScrollTop:function(a){this._visualPropertyCheck();this._getTargetNode().scrollTop=a},getOffsetLeft:function(){this._visualPropertyCheck();return qx.html.Offset.getLeft(this.getElement())},getOffsetTop:function(){this._visualPropertyCheck();return qx.html.Offset.getTop(this.getElement())},getScrollLeft:function(){this._visualPropertyCheck();return this._getTargetNode().scrollLeft},getScrollTop:function(){this._visualPropertyCheck();return this._getTargetNode().scrollTop},getClientWidth:function(){this._visualPropertyCheck();return this._getTargetNode().clientWidth},getClientHeight:function(){this._visualPropertyCheck();return this._getTargetNode().clientHeight},getOffsetWidth:function(){this._visualPropertyCheck();return this.getElement().offsetWidth},getOffsetHeight:function(){this._visualPropertyCheck();return this.getElement().offsetHeight},getScrollWidth:function(){this._visualPropertyCheck();return this._getTargetNode().scrollWidth},getScrollHeight:function(){this._visualPropertyCheck();return this._getTargetNode().scrollHeight},scrollIntoView:function(a){this.scrollIntoViewX(a);this.scrollIntoViewY(a)},scrollIntoViewX:function(a){if(!this._isCreated||!this._isDisplayable){return false}return qx.html.ScrollIntoView.scrollX(this.getElement(),a)},scrollIntoViewY:function(a){if(!this._isCreated||!this._isDisplayable){return false}return qx.html.ScrollIntoView.scrollY(this.getElement(),a)},supportsDrop:function(a){var b=this.getSupportsDropMethod();if(b!==null){return b.call(this,a)}return(this!=a.sourceWidget)},getAdapter:function(b){if(this._adapters===undefined){this._adapters={}}var c=b.classname;var a=this._adapters[c];if(a==null){new b(this);a=this._adapters[c]}return a},applyObjectId:function(a){if(qx.ui.core.Widget._renderHtmlIds){this.setHtmlAttribute("id",a)}}},defer:function(b,a){b.__initApplyMethods(a);if(org.eclipse.rwt.Client.isMshtml()){a._renderRuntimeWidth=function(d){this._style.pixelWidth=(d==null)?0:d;if(this._targetNodeEnabled){var c=this._usesComplexBorder&&d!=null?d-2:d;this._innerStyle.pixelWidth=c==null?0:c}};a._renderRuntimeHeight=function(d){this._style.pixelHeight=(d==null)?0:d;if(this._targetNodeEnabled){var c=this._usesComplexBorder&&d!=null?d-2:d;this._innerStyle.pixelHeight=c==null?0:c}};a._resetRuntimeWidth=function(){this._style.width="";if(this._targetNodeEnabled){this._innerStyle.width=""}};a._resetRuntimeHeight=function(){this._style.height="";if(this._targetNodeEnabled){this._innerStyle.height=""}}}b.__initLayoutProperties(b)},destruct:function(){var b=this.getElement();if(b){b.qx_Widget=null;try{if(b.parentNode){b.parentNode.removeChild(b)}}catch(a){}try{if(this._targetNode&&this._targetNode.parentNode){this._targetNode.parentNode.removeChild(this._targetNode)}}catch(a){}}this._disposeObjectDeep("_adapters",1);this._disposeFields("_isCreated","_inlineEvents","_element","_style","_targetNode","_innerStyle","_oldParent","_styleProperties","_htmlProperties","_htmlAttributes","__states","_jobQueue","_layoutChanges","__borderObject")}});
 qx.Class.define("org.eclipse.rwt.WidgetRenderAdapter",{extend:qx.core.Target,construct:function(b){this._autoDispose=false;arguments.callee.base.call(this);this._widget=b;var a=this.classname;if(b._adapters[a]!=null){throw new Error("Never create WidgetRenderAdapter directly!")}b._adapters[a]=this},destruct:function(){this._widget=null},events:{visibility:$[48],height:$[48],top:$[48],left:$[48],opacity:$[48],backgroundColor:$[48],backgroundGradient:$[48]},members:{addRenderListener:function(c,e,b){var a=this._renderFunctionNames[c];if(!this.hasEventListeners(c)){var d=this;this._widget[a]=function(){var f=d.dispatchSimpleEvent(c,arguments,false);if(f){this.constructor.prototype[a].apply(this,arguments)}}}this.addEventListener(c,e,b)},removeRenderListener:function(c,d,b){this.removeEventListener(c,d,b);if(!this.hasEventListeners(c)){var a=this._renderFunctionNames[c];delete this._widget[a]}},forceRender:function(a,b){this.getOriginalRenderer(a).call(this._widget,b)},getOriginalRenderer:function(b){var a=this._renderFunctionNames[b];var c=this._widget.constructor.prototype;return c[a]},_renderFunctionNames:{visibility:$[507],height:"_renderRuntimeHeight",top:"_renderRuntimeTop",left:"_renderRuntimeLeft",opacity:$[333],backgroundColor:"_styleBackgroundColor",backgroundGradient:$[319]}}});
 qx.Class.define("org.eclipse.rwt.AnimationRenderer",{extend:qx.core.Object,construct:function(a){this._autoDispose=false;arguments.callee.base.call(this);this._animation=a;this._animation._addRenderer(this);this._converterFunction=null;this._renderFunction=null;this._context=null;this._startValue=null;this._endValue=null;this._lastValue=null;this._setupFunction=null;this._cloneFrom=null;this._active=true;this._activeOnce=false;this._invisibilityGetter=qx.lang.Function.returnZero;this._fullVisibilityValue=null;this._autoStartEnabled=true;this._renderType=null;this._renderAdapter=null;this._animationType=0;this._autoCheck=true},destruct:function(){this.clearAnimation();this._animation._removeRenderer(this);this._animation=null;this._startValue=null;this._endValue=null;this._invisibilityGetter=null;this._lastValue=null;this._setupFunction=null;this._converterFunction=null;this._renderFunction=null;this._context=null;this._cloneFrom=null},members:{setConverter:function(a){if(typeof a==$[9]){this._converterFunction=org.eclipse.rwt.AnimationRenderer.converter[a]}else{this._converterFunction=a}},setRenderFunction:function(b,a){if(this._renderType==null){this._renderFunction=b;this._context=a}},renderValue:function(a){this._renderFunction.call(this._context,a);this._lastValue=a},setStartValue:function(a){this._startValue=a},setEndValue:function(a){this._endValue=a},setSetupFunction:function(a){this._setupFunction=a},setCloneFrom:function(a){this._cloneFrom=a},getAnimation:function(){return this._animation},getContext:function(){return this._context},getStartValue:function(a){return this._startValue},getEndValue:function(a){return this._endValue},getLastValue:function(){return this._lastValue},setActive:function(a){if(this._active!==a){if(this._animation.isRunning()){throw'AnimationRenderer: Can not change "active" while running!'}this._active=a;if(this._renderType!==null){this._handleAnimationType()}}},isActive:function(){return this._active},activateOnce:function(){if(!this._activeOnce){this.setActive(true);this._activeOnce=true}},cancelActivateOnce:function(){if(this._activeOnce){this._activeOnce=false;this.setActive(false)}},_setup:function(a){if(this._active){if(this._context instanceof qx.ui.core.Widget&&this._context._isCreated!==true){if(this._context._isInGlobalElementQueue){qx.ui.core.Widget.flushGlobalQueues()}else{throw new Error("AnimationRenderer setup failed: Widget not ready.")}}if(this._setupFunction!=null){this._setupFunction.call(this._context,a,this)}this._startValue=this._prepareValue(this._startValue);this._endValue=this._prepareValue(this._endValue);if(this._renderFunction==null||this._converterFunction==null){throw new Error("renderFunction or converterFunction missing")}}},_render:function(b){if(this._active){var a=this._cloneFrom!=null?this._cloneFrom.getLastValue():b;try{var c=this._converterFunction(a,this._startValue,this._endValue);this.renderValue(c)}catch(d){throw"AnimationRenderer failed: "+(d.message?d.message:d)}}},_finish:function(a){if(this._active&&a==$[355]){this._updateWidgetVisibility();this._forceWidgetRenderer()}this.cancelActivateOnce()},_prepareValue:function(c){var a=c;switch(this._renderType){case $[60]:if(typeof c==$[9]){if(c==$[82]||c===""||c.slice(0,4)==="rgba"){a=null}else{a=qx.util.ColorUtil.cssStringToRgb(c)}}break;case $[134]:if(c){var a=[];for(var b=0;b<c.length;b++){a[b]=[c[b][0],qx.util.ColorUtil.cssStringToRgb(c[b][1])]}}break;case $[76]:a=(c==null||c>1||c<0)?1:c;break;default:a=c!=null?c:0;break}return a},animate:function(c,a,b){if(this._context!=c||this._renderType!=a||this._animationType!=b){this.clearAnimation();this._context=c;this._renderAdapter=c.getAdapter(org.eclipse.rwt.WidgetRenderAdapter);this._renderType=a;this._animationType=b;this._renderFunction=this._renderAdapter.getOriginalRenderer(this._renderType);var d=org.eclipse.rwt.AnimationRenderer.converterByRenderType;this.setConverter(d[this._renderType]);this._handleAnimationType()}},clearAnimation:function(){if(this._renderType!==null){this._animationType=0;this._handleAnimationType();this._renderType=null;this.setRenderFunction(null,null);this._renderAdapter=null}},isAnimated:function(b){var a=false;if(this._animationType>0&&this._active){var c=b&this._animationType;if(typeof b===$[7]||c!==0){a=true}}return a},setInvisibilityGetter:function(a){this._invisibilityGetter=a},setAutoStart:function(a){this._autoStartEnabled=a},setAutoCheck:function(a){this._autoCheck=a},getValueFromWidget:function(){var a=null;switch(this._renderType){case $[76]:a=this._context.getOpacity();break;case $[23]:if(this._context.isCreated()&&this._context._style.height){a=parseInt(this._context._style.height,10)}else{a=this._context.getHeightValue();this._context._computedHeightValue=null;this._context._invalidatePreferredInnerHeight();this._context._invalidatePreferredBoxHeight()}break;case"top":if(this._context.isCreated()&&this._context._style.top){a=parseInt(this._context._style.top,10)}else{a=this._context.getTopValue()}break;case"left":if(this._context.isCreated()&&this._context._style.left){a=parseInt(this._context._style.left,10)}else{a=this._context.getLeftValue()}break;case $[60]:var c=$[60];var b=this._context;if(b.getGfxProperty&&b.getGfxProperty(c)){a=b.getGfxProperty(c)}else{if(b.getStyleProperty(c)){a=b.getStyleProperty(c)}else{a=null}}break;case $[134]:var b=this._context;a=b.getBackgroundGradient();break;default:throw"getValueFromWidget: "+this._renderType+" not supported!"}return a},checkValues:function(){var a;switch(this._renderType){case $[134]:case $[60]:a=this._startValue!=null&&this._endValue!=null;break;default:a=true;break}return a&&this._startValue!=this._endValue},_handleAnimationType:function(){if(this._animation.isRunning()){throw"AnimationRenderer: Can not change animation while running!"}if(this.isAnimated()){this._attachToApplyVisibility(true);this._attachToWidgetRenderer(true)}else{this._attachToApplyVisibility(false);this._attachToWidgetRenderer(false)}},_attachToApplyVisibility:function(a){if(a){this._renderAdapter.addRenderListener($[151],this._onVisibilityChange,this);this._context.addEventListener($[84],this._onCreate,this)}else{this._renderAdapter.removeRenderListener($[151],this._onVisibilityChange,this);this._context.removeEventListener($[84],this._onCreate,this)}},_attachToWidgetRenderer:function(a){if(a){this._renderAdapter.addRenderListener(this._renderType,this._onOriginalRenderer,this)}else{this._renderAdapter.removeRenderListener(this._renderType,this._onOriginalRenderer,this)}},_onVisibilityChange:function(a){var c=a[0];var b=false;if(c){b=this._onBeforeAppear()}else{if(!this._context.isCreated()){this._animation.cancel()}if(this._context.isSeeable()){b=this._onBeforeDisappear()}else{b=true}}return b},_onCreate:function(){if(this._context.isDisplayable()){this._onBeforeAppear()}},_onBeforeAppear:function(){if(this._context.isCreated()){this._animation.skip()}else{this._animation.cancel()}var a=org.eclipse.rwt.AnimationRenderer.ANIMATION_APPEAR;if(this._context.isCreated()&&this.isAnimated(a)){this.setEndValue(this.getValueFromWidget());if(this._invisibilityGetter!=null){this.setStartValue(this._invisibilityGetter(this._context));this._render(0)}this._autoStart(a)}return true},_onBeforeDisappear:function(){this._animation.skip();var b=org.eclipse.rwt.AnimationRenderer.ANIMATION_DISAPPEAR;var a=!this.isAnimated(b);if(!a){if(this._invisibilityGetter!==null){this.setEndValue(this._invisibilityGetter(this._context))}this.setStartValue(this.getValueFromWidget());this._autoStart(b)}return a},_onOriginalRenderer:function(f){var g=f[0];var e=f[1];var c=false;if(this._animation.isStarted()){var d=this._animation.getConfig();var b=this._endValue;if(d==$[67]||d==$[44]){this.setEndValue(g)}if(b!=this._endValue){if(this._animation.isRunning()){this.setStartValue(this.getLastValue())}if(!this._animation.restart()){c=true;this.cancelActivateOnce()}}}else{var a=org.eclipse.rwt.AnimationRenderer.ANIMATION_CHANGE;if(this.isAnimated(a)&&this._context.isSeeable()){this.setStartValue(typeof e!==$[7]?e:this.getValueFromWidget());this.setEndValue(g);if(!this._autoStart(a)&&this._autoStartEnabled){c=true}}else{c=true}}return c},_forceWidgetRenderer:function(){var a=org.eclipse.rwt.AnimationRenderer.applyFunctionNames[this._renderType];this._context[a](this._context.get(this._renderType))},_autoStart:function(b){var a=false;if(this._autoStartEnabled&&this.isAnimated(b)&&(this._autoCheck?this.checkValues():true)){a=this._animation.start(this._typeToConfig(b))}else{this.cancelActivateOnce()}return a},_typeToConfig:function(b){var a=null;switch(b){case org.eclipse.rwt.AnimationRenderer.ANIMATION_APPEAR:a=$[44];break;case org.eclipse.rwt.AnimationRenderer.ANIMATION_DISAPPEAR:a=$[355];break;case org.eclipse.rwt.AnimationRenderer.ANIMATION_CHANGE:a=$[67];break}return a},_updateWidgetVisibility:function(){var a=this._context.getVisibility();this._renderAdapter.forceRender($[151],a)}},statics:{ANIMATION_APPEAR:1,ANIMATION_DISAPPEAR:2,ANIMATION_CHANGE:4,applyFunctionNames:{height:$[394],opacity:$[333],backgroundColor:$[480],backgroundGradient:$[319],top:"_applyTop",left:"_applyLeft"},converterByRenderType:{height:"numericPositiveRound",top:$[451],left:$[451],opacity:"factor",backgroundColor:$[65],backgroundGradient:$[114]},converter:{none:function(a){return a},round:Math.round,positive:function(a){return Math.max(0,a)},numeric:function(c,b,a){return b+(a-b)*c},numericRound:function(d,c,b){var a=c+(b-c)*d;return Math.round(a)},numericPositive:function(c,b,a){var d=a-b;return Math.max(0,b+d*c)},numericPositiveRound:function(d,c,b){var e=b-c;var a=Math.max(0,c+e*d);return Math.round(a)},factor:function(d,c,b){var a=c+(b-c)*d;return Math.max(0,Math.min(a,1))},color:function(g,c,b){var a=[];var d;var f;for(var e=0;e<3;e++){f=b[e]-c[e];d=Math.round(c[e]+f*g);a[e]=Math.max(0,Math.min(d,255))}return qx.util.ColorUtil.rgbToRgbString(a)},gradient:function(f,c,b){var g=org.eclipse.rwt.AnimationRenderer.converter.color;var h=org.eclipse.rwt.AnimationRenderer.converter.factor;var a=[];var e=Math.min(b.length,c.length);for(var d=0;d<e;d++){a[d]=[h(f,c[d][0],b[d][0]),g(f,c[d][1],b[d][1])]}return a}}}});
 qx.Class.define("org.eclipse.rwt.Animation",{extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._renderer=[];this._duration=1000;this._transitionFunction=org.eclipse.rwt.Animation.transitions.linear;this._startOn=null;this._finishOn=null;this._totalTime=null;this._config=null;this._defaultRenderer=null;this._isRunning=false;this._inQueue=false;this._exclusive=false},destruct:function(){if(this.isRunning()){this.skip()}else{this.cancel()}try{for(var b=0;b<this._renderer.length;b++){this._renderer[b].dispose()}}catch(a){throw"Could not Dispose AnimationRenderer: "+a}this._renderer=null},events:{init:$[48],finish:$[48],cancel:$[48]},members:{setDuration:function(a){this._duration=a},getDuration:function(a){return this._duration},setTransition:function(a){this._transitionFunction=org.eclipse.rwt.Animation.transitions[a]},setProperties:function(a){this.setDuration(a[0]);this.setTransition(a[1])},getRenderer:function(a){return this._renderer[a]},getDefaultRenderer:function(a){if(this._defaultRenderer==null||this._defaultRenderer.isDisposed()){this._defaultRenderer=new org.eclipse.rwt.AnimationRenderer(this)}if(typeof a!=$[7]){this._defaultRenderer.setActive(a)}return this._defaultRenderer},getRendererLength:function(){return this._renderer.length},getRendererIndex:function(a){return this._renderer.indexOf(a)},getConfig:function(){return this._config},setExclusive:function(a){this._exclusive=a},getExclusive:function(){return this._exclusive},start:function(b){var a=false;if(!this.isStarted()){org.eclipse.rwt.Animation._addToQueue(this);this._inQueue=true;this._config=b;this._init();a=this.isStarted()}return a},restart:function(){var a=false;if(this.isStarted()){var b=this._config;this.cancel();a=this.start(b)}return a},cancel:function(){if(this.isStarted()){this._inQueue=false;this._isRunning=false;this.createDispatchDataEvent($[183],this._config);this._config=null;org.eclipse.rwt.Animation._removeFromLoop(this)}},skip:function(){if(this.isStarted()){if(!this.isRunning()){this._render(0)}this._finish()}},setRendererActive:function(b){for(var a=0;a<this._renderer.length;a++){this._renderer[a].setActive(b)}},activateRendererOnce:function(){for(var a=0;a<this._renderer.length;a++){this._renderer[a].activateOnce()}},isStarted:function(){return this._inQueue},isRunning:function(){return this._isRunning},_addRenderer:function(a){this._renderer.push(a)},_removeRenderer:function(a){if(this.isStarted()){throw"Cannot remove AnimationRenderer: Animation already started!"}qx.lang.Array.remove(this._renderer,a)},_init:function(){this.createDispatchDataEvent("init",this._config);this._startOn=null;this._numberRenderer=this._renderer.length},_loop:function(b){if(this._startOn===null){this._startOn=new Date().getTime();this._finishOn=this._startOn+(this._duration);this._totalTime=this._duration}if(b>=this._finishOn){this._finish()}else{var a=(b-this._startOn)/this._totalTime;this._render(a)}},_render:function(a){if(!this._isRunning){for(var b=0;b<this._numberRenderer;b++){this._renderer[b]._setup(this._config)}this._isRunning=true}var c=this._transitionFunction(a);for(var b=0;b<this._numberRenderer;b++){this._renderer[b]._render(c)}},_finish:function(){this._render(1);var a=this._config;this.cancel();for(var b=0;b<this._numberRenderer;b++){this._renderer[b]._finish(a)}this.createDispatchDataEvent("finish",a)}},statics:{FPS:60,_queue:[],_interval:null,_exclusive:null,_addToQueue:function(a){if(a.getExclusive()){this._exclusive=a}else{this._queue.push(a)}if(this._interval==null){this._startLoop()}},_removeFromLoop:function(a){if(a===this._exclusive){this._exclusive=null}else{qx.lang.Array.remove(this._queue,a)}if(this._exclusive===null&&this._queue.length===0){this._stopLoop()}},_startLoop:function(){this._interval=setInterval(this._mainLoop,Math.round(1000/this.FPS))},_stopLoop:function(){window.clearInterval(this._interval);this._interval=null},_mainLoop:function(){try{if(!org.eclipse.swt.EventUtil.getSuspended()){var g=new Date().getTime();var d=org.eclipse.rwt.Animation;try{if(d._exclusive!==null){d._exclusive._loop(g)}else{for(var c=0,a=d._queue.length;c<a;c++){if(d._queue[c]){d._queue[c]._loop(g)}}}}catch(f){org.eclipse.rwt.Animation._stopLoop();throw"Animation aborted: "+f}}}catch(b){org.eclipse.rwt.ErrorHandler.processJavaScriptError(b)}},blockGlobalFlushs:function(a){qx.ui.core.Widget._inFlushGlobalQueues=a;if(!a){qx.ui.core.Widget._initAutoFlush(0)}},transitions:{linear:function(a){return a},ease:function(a){var b=-Math.pow(a-1,2)+1;return(-Math.cos(b*Math.PI)/2)+0.5},easeIn:function(a){return Math.pow(a,2)},easeOut:function(a){return -Math.pow(a-1,2)+1},easeInOut:function(a){return(-Math.cos(a*Math.PI)/2)+0.5}}}});
@@ -75,9 +75,9 @@
 qx.Class.define("qx.html.Offset",{statics:{getLeft:qx.core.Variant.select($[0],{gecko:function(c){var f=c.offsetLeft;var b=c.parentNode;var e=qx.html.Style.getStyleProperty(c,$[131]);var d=qx.html.Style.getStyleProperty(b,$[131]);if(e!=$[17]&&e!=$[123]){f-=qx.html.Style.getBorderLeft(b)}if(d!=$[17]&&d!=$[123]){while(b){b=b.parentNode;if(!b||typeof b.tagName!==$[9]){break}var a=qx.html.Style.getStyleProperty(b,$[131]);if(a==$[17]||a==$[123]){f-=qx.html.Style.getBorderLeft(b)+qx.html.Style.getPaddingLeft(b);break}}}return f},"default":function(a){return a.offsetLeft}}),getTop:qx.core.Variant.select($[0],{gecko:function(c){var f=c.offsetTop;var b=c.parentNode;var e=qx.html.Style.getStyleProperty(c,$[131]);var d=qx.html.Style.getStyleProperty(b,$[131]);if(e!=$[17]&&e!=$[123]){f-=qx.html.Style.getBorderTop(b)}if(d!=$[17]&&d!=$[123]){while(b){b=b.parentNode;if(!b||typeof b.tagName!==$[9]){break}var a=qx.html.Style.getStyleProperty(b,$[131]);if(a==$[17]||a==$[123]){f-=qx.html.Style.getBorderTop(b)+qx.html.Style.getPaddingTop(b);break}}}return f},"default":function(a){return a.offsetTop}})}});
 qx.Class.define("qx.html.ScrollIntoView",{statics:{scrollX:function(b,c){var a,f,e,d;var g=b.parentNode;var h=b.offsetLeft;var e=b.offsetWidth;while(g){switch(qx.html.Style.getStyleProperty(g,$[58])){case $[12]:case"auto":case $[277]:d=true;break;default:switch(qx.html.Style.getStyleProperty(g,$[96])){case $[12]:case"auto":d=true;break;default:d=false}}if(d){a=g.clientWidth;f=g.scrollLeft;if(c){g.scrollLeft=h}else{if(c==false){g.scrollLeft=h+e-a}else{if(e>a||h<f){g.scrollLeft=h}else{if((h+e)>(f+a)){g.scrollLeft=h+e-a}}}}h=g.offsetLeft;e=g.offsetWidth}else{h+=g.offsetLeft}if(g.tagName.toLowerCase()=="body"){break}g=g.offsetParent}return true},scrollY:function(b,d){var g,a,c,e;var f=b.parentNode;var h=b.offsetTop;var c=b.offsetHeight;while(f){switch(qx.html.Style.getStyleProperty(f,$[58])){case $[12]:case"auto":case $[231]:e=true;break;default:switch(qx.html.Style.getStyleProperty(f,$[97])){case $[12]:case"auto":e=true;break;default:e=false}}if(e){g=f.clientHeight;a=f.scrollTop;if(d){f.scrollTop=h}else{if(d==false){f.scrollTop=h+c-g}else{if(c>g||h<a){f.scrollTop=h}else{if((h+c)>(a+g)){f.scrollTop=h+c-g}}}}h=f.offsetTop;c=f.offsetHeight}else{h+=f.offsetTop}if(f.tagName.toLowerCase()=="body"){break}f=f.offsetParent}return true}}});
 qx.Class.define("qx.ui.layout.BoxLayout",{extend:qx.ui.core.Parent,construct:function(a){arguments.callee.base.call(this);if(a!=null){this.setOrientation(a)}else{this.initOrientation()}},statics:{STR_REVERSED:"-reversed"},properties:{orientation:{check:[$[41],$[32]],init:$[41],apply:$[386],event:"changeOrientation"},spacing:{check:$[14],init:0,themeable:true,apply:$[494],event:$[479]},horizontalChildrenAlign:{check:["left",$[30],$[15]],init:"left",themeable:true,apply:$[455]},verticalChildrenAlign:{check:["top",$[46],$[31]],init:"top",themeable:true,apply:$[493]},reverseChildrenOrder:{check:$[2],init:false,apply:"_applyReverseChildrenOrder"},stretchChildrenOrthogonalAxis:{check:$[2],init:true,apply:"_applyStretchChildrenOrthogonalAxis"},useAdvancedFlexAllocation:{check:$[2],init:false,apply:"_applyUseAdvancedFlexAllocation"},accumulatedChildrenOuterWidth:{_cached:true,defaultValue:null},accumulatedChildrenOuterHeight:{_cached:true,defaultValue:null}},members:{_createLayoutImpl:function(){return this.getOrientation()==$[32]?new qx.ui.layout.impl.VerticalBoxLayoutImpl(this):new qx.ui.layout.impl.HorizontalBoxLayoutImpl(this)},_layoutHorizontal:false,_layoutVertical:false,_layoutMode:"left",isHorizontal:function(){return this._layoutHorizontal},isVertical:function(){return this._layoutVertical},getLayoutMode:function(){if(this._layoutMode==null){this._updateLayoutMode()}return this._layoutMode},_updateLayoutMode:function(){this._layoutMode=this._layoutVertical?this.getVerticalChildrenAlign():this.getHorizontalChildrenAlign();if(this.getReverseChildrenOrder()){this._layoutMode+=qx.ui.layout.BoxLayout.STR_REVERSED}},_invalidateLayoutMode:function(){this._layoutMode=null},_applyOrientation:function(b,a){this._layoutHorizontal=b==$[41];this._layoutVertical=b==$[32];if(this._layoutImpl){this._layoutImpl.dispose();this._layoutImpl=null}if(b){this._layoutImpl=this._createLayoutImpl()}this._doLayoutOrder(b,a);this.addToQueueRuntime("orientation")},_applySpacing:function(b,a){this._doLayout();this.addToQueueRuntime("spacing")},_applyHorizontalChildrenAlign:function(b,a){this._doLayoutOrder();this.addToQueueRuntime("horizontalChildrenAlign")},_applyVerticalChildrenAlign:function(b,a){this._doLayoutOrder();this.addToQueueRuntime("verticalChildrenAlign")},_applyReverseChildrenOrder:function(b,a){this._doLayoutOrder();this.addToQueueRuntime("reverseChildrenOrder")},_applyStretchChildrenOrthogonalAxis:function(b,a){this.addToQueueRuntime("stretchChildrenOrthogonalAxis")},_applyUseAdvancedFlexAllocation:function(b,a){this.addToQueueRuntime("useAdvancedFlexAllocation")},_doLayoutOrder:function(){this._invalidateLayoutMode();this._doLayout()},_doLayout:function(){this._invalidatePreferredInnerDimensions();this._invalidateAccumulatedChildrenOuterWidth();this._invalidateAccumulatedChildrenOuterHeight()},_computeAccumulatedChildrenOuterWidth:function(){var c=this.getVisibleChildren(),e,a=-1,d=this.getSpacing(),b=-d;while(e=c[++a]){b+=e.getOuterWidth()+d}return b},_computeAccumulatedChildrenOuterHeight:function(){var c=this.getVisibleChildren(),e,a=-1,d=this.getSpacing(),b=-d;while(e=c[++a]){b+=e.getOuterHeight()+d}return b},_recomputeChildrenStretchingX:function(){var b=this.getVisibleChildren(),c,a=-1;while(c=b[++a]){if(c._recomputeStretchingX()&&c._recomputeBoxWidth()){c._recomputeOuterWidth()}}},_recomputeChildrenStretchingY:function(){var b=this.getVisibleChildren(),c,a=-1;while(c=b[++a]){if(c._recomputeStretchingY()&&c._recomputeBoxHeight()){c._recomputeOuterHeight()}}}}});
-qx.Class.define("qx.ui.layout.impl.VerticalBoxLayoutImpl",{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function(a){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&a._computedWidthTypeNull&&a.getAllowStretchX()){return this.getWidget().getInnerWidth()}return a.getWidthValue()||a._computeBoxWidthFallback()},computeChildBoxHeight:function(a){return a.getHeightValue()||a._computeBoxHeightFallback()},computeChildrenFlexHeight:function(){if(this._childrenFlexHeightComputed||!this.getEnableFlexSupport()){return}this._childrenFlexHeightComputed=true;var j=this.getWidget();var i=j.getVisibleChildren();var g=i.length;var m;var e=[];var s=j.getInnerHeight();var n=j.getSpacing()*(g-1);var q;for(q=0;q<g;q++){m=i[q];if(m._computedHeightTypeFlex){e.push(m);if(j._computedHeightTypeAuto){n+=m.getPreferredBoxHeight()}}else{n+=m.getOuterHeight()}}var d=s-n;var c=e.length;var f=0;for(q=0;q<c;q++){f+=e[q]._computedHeightParsed}var h=d/f;if(!j.getUseAdvancedFlexAllocation()){for(q=0;q<c;q++){m=e[q];m._computedHeightFlexValue=Math.round(m._computedHeightParsed*h);n+=m._computedHeightFlexValue}}else{var b=0;var k,c,a,p,l,r;for(q=0;q<c;q++){m=e[q];r=m._computedHeightFlexValue=m._computedHeightParsed*h;b+=r-qx.lang.Number.limit(r,m.getMinHeightValue(),m.getMaxHeightValue())}b=Math.round(b);if(b==0){for(q=0;q<c;q++){m=e[q];m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=m._computedHeightFlexValue}}else{var o=b>0;for(q=c-1;q>=0;q--){m=e[q];if(o){a=(m.getMaxHeightValue()||Infinity)-m._computedHeightFlexValue;if(a>0){m._allocationLoops=Math.floor(a/m._computedHeightParsed)}else{qx.lang.Array.removeAt(e,q);m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=Math.round(m._computedHeightFlexValue+a)}}else{a=qx.util.Validation.isValidNumber(m.getMinHeightValue())?m._computedHeightFlexValue-m.getMinHeightValue():m._computedHeightFlexValue;if(a>0){m._allocationLoops=Math.floor(a/m._computedHeightParsed)}else{qx.lang.Array.removeAt(e,q);m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=Math.round(m._computedHeightFlexValue-a)}}}while(b!=0&&c>0){c=e.length;k=Infinity;l=0;for(q=0;q<c;q++){k=Math.min(k,e[q]._allocationLoops);l+=e[q]._computedHeightParsed}p=Math.min(l*k,b);b-=p;for(q=c-1;q>=0;q--){m=e[q];m._computedHeightFlexValue+=p/l*m._computedHeightParsed;if(m._allocationLoops==k){m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=m._computedHeightFlexValue;delete m._allocationLoops;qx.lang.Array.removeAt(e,q)}else{if(b==0){m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=m._computedHeightFlexValue;delete m._allocationLoops}else{m._allocationLoops-=k}}}}}}m._computedHeightFlexValue+=s-n},invalidateChildrenFlexHeight:function(){delete this._childrenFlexHeightComputed},computeChildrenNeededHeight:function(){var a=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededHeight_sum.call(this)+((a.getVisibleChildrenLength()-1)*a.getSpacing())},updateSelfOnChildOuterHeightChange:function(a){this.getWidget()._invalidateAccumulatedChildrenOuterHeight()},updateChildOnInnerWidthChange:function(c){var a=c._recomputePercentX();var b=c._recomputeStretchingX();if((c.getHorizontalAlign()||this.getWidget().getHorizontalChildrenAlign())==$[30]){c.addToLayoutChanges($[129])}return a||b},updateChildOnInnerHeightChange:function(c){if(this.getWidget().getVerticalChildrenAlign()==$[46]){c.addToLayoutChanges($[130])}var a=c._recomputePercentY();var b=c._recomputeFlexY();return a||b},updateSelfOnJobQueueFlush:function(a){if(a.addChild||a.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterHeight()}},updateChildrenOnJobQueueFlush:function(a){var d=false,b=false;var c=this.getWidget();if(a.orientation){d=b=true}if(a.spacing||a.orientation||a.reverseChildrenOrder||a.verticalChildrenAlign){c._addChildrenToLayoutQueue($[130])}if(a.horizontalChildrenAlign){c._addChildrenToLayoutQueue($[129])}if(a.stretchChildrenOrthogonalAxis){d=true}if(d){c._recomputeChildrenStretchingX();c._addChildrenToLayoutQueue($[27])}if(b){c._recomputeChildrenStretchingY();c._addChildrenToLayoutQueue($[23])}return true},updateChildrenOnRemoveChild:function(g,c){var b=this.getWidget(),e=b.getVisibleChildren(),a=e.length,f,d=-1;if(this.getEnableFlexSupport()){for(var d=0;d<a;d++){f=e[d];if(f.getHasFlexY()){c=Math.min(c,d);break}}d=-1}switch(b.getLayoutMode()){case $[31]:case $[212]:while((f=e[++d])&&d<c){f.addToLayoutChanges($[130])}break;case $[46]:case $[226]:while(f=e[++d]){f.addToLayoutChanges($[130])}break;default:d+=c;while(f=e[++d]){f.addToLayoutChanges($[130])}}},updateChildrenOnMoveChild:function(g,b,e){var a=this.getWidget().getVisibleChildren();var f=Math.min(b,e);var d=Math.max(b,e)+1;d=Math.min(a.length,d);for(var c=f;c<d;c++){a[c].addToLayoutChanges($[130])}},flushChildrenQueue:function(d){var b=this.getWidget(),f=b.getVisibleChildren(),a=f.length,h,e;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexHeight();for(e=0;e<a;e++){h=f[e];if(h.getHasFlexY()){h._computedHeightValue=null;if(h._recomputeBoxHeight()){h._recomputeOuterHeight();h._recomputeInnerHeight()}d[h.toHashCode()]=h;h._layoutChanges.height=true}}}switch(b.getLayoutMode()){case $[31]:case $[212]:for(var e=a-1;e>=0&&!d[f[e].toHashCode()];e--){}for(var c=0;c<=e;c++){b._layoutChild(h=f[c])}break;case $[46]:case $[226]:e=-1;while(h=f[++e]){b._layoutChild(h)}break;default:e=-1;var g=false;while(h=f[++e]){if(g||d[h.toHashCode()]){b._layoutChild(h);g=true}}}},layoutChild:function(b,a){this.layoutChild_sizeX(b,a);this.layoutChild_sizeY(b,a);this.layoutChild_sizeLimitX(b,a);this.layoutChild_sizeLimitY(b,a);this.layoutChild_locationX(b,a);this.layoutChild_locationY(b,a);this.layoutChild_marginX(b,a);this.layoutChild_marginY(b,a)},layoutChild_sizeX:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(b,a){if(a.initial||a.width||a.minWidth||a.maxWidth){if((b._isWidthEssential()&&(!b._computedWidthTypeNull||!b._computedMinWidthTypeNull||!b._computedMaxWidthTypeNull))||(b.getAllowStretchX()&&this.getWidget().getStretchChildrenOrthogonalAxis())){b._renderRuntimeWidth(b.getBoxWidth())}else{b._resetRuntimeWidth()}}},"default":function(b,a){if(a.initial||a.width){if(b._isWidthEssential()&&!b._computedWidthTypeNull){b._renderRuntimeWidth(b.getWidthValue())}else{b._resetRuntimeWidth()}}}}),layoutChild_sizeY:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(b,a){if(a.initial||a.height||a.minHeight||a.maxHeight){if(b._isHeightEssential()&&(!b._computedHeightTypeNull||!b._computedMinHeightTypeNull||!b._computedMaxHeightTypeNull)){b._renderRuntimeHeight(b.getBoxHeight())}else{b._resetRuntimeHeight()}}},"default":function(b,a){if(a.initial||a.height){if(b._isHeightEssential()&&!b._computedHeightTypeNull){b._renderRuntimeHeight(b.getHeightValue())}else{b._resetRuntimeHeight()}}}}),layoutChild_locationY:function(e,a){var d=this.getWidget();if(d.getFirstVisibleChild()==e){switch(d.getLayoutMode()){case $[31]:case $[212]:var b=d.getPaddingBottom()+d.getAccumulatedChildrenOuterHeight()-e.getOuterHeight();break;case $[46]:case $[226]:var b=d.getPaddingTop()+Math.round((d.getInnerHeight()-d.getAccumulatedChildrenOuterHeight())/2);break;default:var b=d.getPaddingTop()}}else{var c=e.getPreviousVisibleSibling();switch(d.getLayoutMode()){case $[31]:case $[212]:var b=c._cachedLocationVertical-e.getOuterHeight()-d.getSpacing();break;default:var b=c._cachedLocationVertical+c.getOuterHeight()+d.getSpacing()}}e._cachedLocationVertical=b;switch(this.getWidget().getLayoutMode()){case $[31]:case $[438]:case $[226]:b+=!e._computedBottomTypeNull?e.getBottomValue():!e._computedTopTypeNull?-(e.getTopValue()):0;e._resetRuntimeTop();e._renderRuntimeBottom(b);break;default:b+=!e._computedTopTypeNull?e.getTopValue():!e._computedBottomTypeNull?-(e.getBottomValue()):0;e._resetRuntimeBottom();e._renderRuntimeTop(b)}},layoutChild_locationX:function(e,a){var c=this.getWidget();if(org.eclipse.rwt.Client.isGecko()){if(e.getAllowStretchX()&&c.getStretchChildrenOrthogonalAxis()&&e._computedWidthTypeNull){e._renderRuntimeLeft(c.getPaddingLeft()||0);e._renderRuntimeRight(c.getPaddingRight()||0);return}}var d=e.getHorizontalAlign()||c.getHorizontalChildrenAlign();var b=d==$[30]?Math.round((c.getInnerWidth()-e.getOuterWidth())/2):0;if(d==$[15]){b+=c.getPaddingRight();if(!e._computedRightTypeNull){b+=e.getRightValue()}else{if(!e._computedLeftTypeNull){b-=e.getLeftValue()}}e._resetRuntimeLeft();e._renderRuntimeRight(b)}else{b+=c.getPaddingLeft();if(!e._computedLeftTypeNull){b+=e.getLeftValue()}else{if(!e._computedRightTypeNull){b-=e.getRightValue()}}e._resetRuntimeRight();e._renderRuntimeLeft(b)}}}});
+qx.Class.define("qx.ui.layout.impl.VerticalBoxLayoutImpl",{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function(a){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&a._computedWidthTypeNull&&a.getAllowStretchX()){return this.getWidget().getInnerWidth()}return a.getWidthValue()||a._computeBoxWidthFallback()},computeChildBoxHeight:function(a){return a.getHeightValue()||a._computeBoxHeightFallback()},computeChildrenFlexHeight:function(){if(this._childrenFlexHeightComputed||!this.getEnableFlexSupport()){return}this._childrenFlexHeightComputed=true;var j=this.getWidget();var i=j.getVisibleChildren();var g=i.length;var m;var e=[];var s=j.getInnerHeight();var n=j.getSpacing()*(g-1);var q;for(q=0;q<g;q++){m=i[q];if(m._computedHeightTypeFlex){e.push(m);if(j._computedHeightTypeAuto){n+=m.getPreferredBoxHeight()}}else{n+=m.getOuterHeight()}}var d=s-n;var c=e.length;var f=0;for(q=0;q<c;q++){f+=e[q]._computedHeightParsed}var h=d/f;if(!j.getUseAdvancedFlexAllocation()){for(q=0;q<c;q++){m=e[q];m._computedHeightFlexValue=Math.round(m._computedHeightParsed*h);n+=m._computedHeightFlexValue}}else{var b=0;var k,c,a,p,l,r;for(q=0;q<c;q++){m=e[q];r=m._computedHeightFlexValue=m._computedHeightParsed*h;b+=r-qx.lang.Number.limit(r,m.getMinHeightValue(),m.getMaxHeightValue())}b=Math.round(b);if(b==0){for(q=0;q<c;q++){m=e[q];m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=m._computedHeightFlexValue}}else{var o=b>0;for(q=c-1;q>=0;q--){m=e[q];if(o){a=(m.getMaxHeightValue()||Infinity)-m._computedHeightFlexValue;if(a>0){m._allocationLoops=Math.floor(a/m._computedHeightParsed)}else{qx.lang.Array.removeAt(e,q);m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=Math.round(m._computedHeightFlexValue+a)}}else{a=qx.util.Validation.isValidNumber(m.getMinHeightValue())?m._computedHeightFlexValue-m.getMinHeightValue():m._computedHeightFlexValue;if(a>0){m._allocationLoops=Math.floor(a/m._computedHeightParsed)}else{qx.lang.Array.removeAt(e,q);m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=Math.round(m._computedHeightFlexValue-a)}}}while(b!=0&&c>0){c=e.length;k=Infinity;l=0;for(q=0;q<c;q++){k=Math.min(k,e[q]._allocationLoops);l+=e[q]._computedHeightParsed}p=Math.min(l*k,b);b-=p;for(q=c-1;q>=0;q--){m=e[q];m._computedHeightFlexValue+=p/l*m._computedHeightParsed;if(m._allocationLoops==k){m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=m._computedHeightFlexValue;delete m._allocationLoops;qx.lang.Array.removeAt(e,q)}else{if(b==0){m._computedHeightFlexValue=Math.round(m._computedHeightFlexValue);n+=m._computedHeightFlexValue;delete m._allocationLoops}else{m._allocationLoops-=k}}}}}}m._computedHeightFlexValue+=s-n},invalidateChildrenFlexHeight:function(){delete this._childrenFlexHeightComputed},computeChildrenNeededHeight:function(){var a=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededHeight_sum.call(this)+((a.getVisibleChildrenLength()-1)*a.getSpacing())},updateSelfOnChildOuterHeightChange:function(a){this.getWidget()._invalidateAccumulatedChildrenOuterHeight()},updateChildOnInnerWidthChange:function(c){var a=c._recomputePercentX();var b=c._recomputeStretchingX();if((c.getHorizontalAlign()||this.getWidget().getHorizontalChildrenAlign())==$[30]){c.addToLayoutChanges($[129])}return a||b},updateChildOnInnerHeightChange:function(c){if(this.getWidget().getVerticalChildrenAlign()==$[46]){c.addToLayoutChanges($[130])}var a=c._recomputePercentY();var b=c._recomputeFlexY();return a||b},updateSelfOnJobQueueFlush:function(a){if(a.addChild||a.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterHeight()}},updateChildrenOnJobQueueFlush:function(a){var d=false,b=false;var c=this.getWidget();if(a.orientation){d=b=true}if(a.spacing||a.orientation||a.reverseChildrenOrder||a.verticalChildrenAlign){c._addChildrenToLayoutQueue($[130])}if(a.horizontalChildrenAlign){c._addChildrenToLayoutQueue($[129])}if(a.stretchChildrenOrthogonalAxis){d=true}if(d){c._recomputeChildrenStretchingX();c._addChildrenToLayoutQueue($[28])}if(b){c._recomputeChildrenStretchingY();c._addChildrenToLayoutQueue($[23])}return true},updateChildrenOnRemoveChild:function(g,c){var b=this.getWidget(),e=b.getVisibleChildren(),a=e.length,f,d=-1;if(this.getEnableFlexSupport()){for(var d=0;d<a;d++){f=e[d];if(f.getHasFlexY()){c=Math.min(c,d);break}}d=-1}switch(b.getLayoutMode()){case $[31]:case $[212]:while((f=e[++d])&&d<c){f.addToLayoutChanges($[130])}break;case $[46]:case $[226]:while(f=e[++d]){f.addToLayoutChanges($[130])}break;default:d+=c;while(f=e[++d]){f.addToLayoutChanges($[130])}}},updateChildrenOnMoveChild:function(g,b,e){var a=this.getWidget().getVisibleChildren();var f=Math.min(b,e);var d=Math.max(b,e)+1;d=Math.min(a.length,d);for(var c=f;c<d;c++){a[c].addToLayoutChanges($[130])}},flushChildrenQueue:function(d){var b=this.getWidget(),f=b.getVisibleChildren(),a=f.length,h,e;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexHeight();for(e=0;e<a;e++){h=f[e];if(h.getHasFlexY()){h._computedHeightValue=null;if(h._recomputeBoxHeight()){h._recomputeOuterHeight();h._recomputeInnerHeight()}d[h.toHashCode()]=h;h._layoutChanges.height=true}}}switch(b.getLayoutMode()){case $[31]:case $[212]:for(var e=a-1;e>=0&&!d[f[e].toHashCode()];e--){}for(var c=0;c<=e;c++){b._layoutChild(h=f[c])}break;case $[46]:case $[226]:e=-1;while(h=f[++e]){b._layoutChild(h)}break;default:e=-1;var g=false;while(h=f[++e]){if(g||d[h.toHashCode()]){b._layoutChild(h);g=true}}}},layoutChild:function(b,a){this.layoutChild_sizeX(b,a);this.layoutChild_sizeY(b,a);this.layoutChild_sizeLimitX(b,a);this.layoutChild_sizeLimitY(b,a);this.layoutChild_locationX(b,a);this.layoutChild_locationY(b,a);this.layoutChild_marginX(b,a);this.layoutChild_marginY(b,a)},layoutChild_sizeX:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(b,a){if(a.initial||a.width||a.minWidth||a.maxWidth){if((b._isWidthEssential()&&(!b._computedWidthTypeNull||!b._computedMinWidthTypeNull||!b._computedMaxWidthTypeNull))||(b.getAllowStretchX()&&this.getWidget().getStretchChildrenOrthogonalAxis())){b._renderRuntimeWidth(b.getBoxWidth())}else{b._resetRuntimeWidth()}}},"default":function(b,a){if(a.initial||a.width){if(b._isWidthEssential()&&!b._computedWidthTypeNull){b._renderRuntimeWidth(b.getWidthValue())}else{b._resetRuntimeWidth()}}}}),layoutChild_sizeY:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(b,a){if(a.initial||a.height||a.minHeight||a.maxHeight){if(b._isHeightEssential()&&(!b._computedHeightTypeNull||!b._computedMinHeightTypeNull||!b._computedMaxHeightTypeNull)){b._renderRuntimeHeight(b.getBoxHeight())}else{b._resetRuntimeHeight()}}},"default":function(b,a){if(a.initial||a.height){if(b._isHeightEssential()&&!b._computedHeightTypeNull){b._renderRuntimeHeight(b.getHeightValue())}else{b._resetRuntimeHeight()}}}}),layoutChild_locationY:function(e,a){var d=this.getWidget();if(d.getFirstVisibleChild()==e){switch(d.getLayoutMode()){case $[31]:case $[212]:var b=d.getPaddingBottom()+d.getAccumulatedChildrenOuterHeight()-e.getOuterHeight();break;case $[46]:case $[226]:var b=d.getPaddingTop()+Math.round((d.getInnerHeight()-d.getAccumulatedChildrenOuterHeight())/2);break;default:var b=d.getPaddingTop()}}else{var c=e.getPreviousVisibleSibling();switch(d.getLayoutMode()){case $[31]:case $[212]:var b=c._cachedLocationVertical-e.getOuterHeight()-d.getSpacing();break;default:var b=c._cachedLocationVertical+c.getOuterHeight()+d.getSpacing()}}e._cachedLocationVertical=b;switch(this.getWidget().getLayoutMode()){case $[31]:case $[438]:case $[226]:b+=!e._computedBottomTypeNull?e.getBottomValue():!e._computedTopTypeNull?-(e.getTopValue()):0;e._resetRuntimeTop();e._renderRuntimeBottom(b);break;default:b+=!e._computedTopTypeNull?e.getTopValue():!e._computedBottomTypeNull?-(e.getBottomValue()):0;e._resetRuntimeBottom();e._renderRuntimeTop(b)}},layoutChild_locationX:function(e,a){var c=this.getWidget();if(org.eclipse.rwt.Client.isGecko()){if(e.getAllowStretchX()&&c.getStretchChildrenOrthogonalAxis()&&e._computedWidthTypeNull){e._renderRuntimeLeft(c.getPaddingLeft()||0);e._renderRuntimeRight(c.getPaddingRight()||0);return}}var d=e.getHorizontalAlign()||c.getHorizontalChildrenAlign();var b=d==$[30]?Math.round((c.getInnerWidth()-e.getOuterWidth())/2):0;if(d==$[15]){b+=c.getPaddingRight();if(!e._computedRightTypeNull){b+=e.getRightValue()}else{if(!e._computedLeftTypeNull){b-=e.getLeftValue()}}e._resetRuntimeLeft();e._renderRuntimeRight(b)}else{b+=c.getPaddingLeft();if(!e._computedLeftTypeNull){b+=e.getLeftValue()}else{if(!e._computedRightTypeNull){b-=e.getRightValue()}}e._resetRuntimeRight();e._renderRuntimeLeft(b)}}}});
 qx.Class.define("qx.util.Validation",{statics:{isValidNumber:function(a){return typeof a===$[62]&&!isNaN(a)},isValidString:function(a){return typeof a===$[9]&&a!==""}}});
-qx.Class.define("qx.ui.layout.impl.HorizontalBoxLayoutImpl",{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function(a){return a.getWidthValue()||a._computeBoxWidthFallback()},computeChildBoxHeight:function(a){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&a._computedHeightTypeNull&&a.getAllowStretchY()){return this.getWidget().getInnerHeight()}return a.getHeightValue()||a._computeBoxHeightFallback()},computeChildrenFlexWidth:function(){if(this._childrenFlexWidthComputed||!this.getEnableFlexSupport()){return}this._childrenFlexWidthComputed=true;var j=this.getWidget();var i=j.getVisibleChildren();var g=i.length;var n;var e=[];var d=j.getInnerWidth();var o=j.getSpacing()*(g-1);var s;for(s=0;s<g;s++){n=i[s];if(n._computedWidthTypeFlex){e.push(n);if(j._computedWidthTypeAuto){o+=n.getPreferredBoxWidth()}}else{o+=n.getOuterWidth()}}var l=d-o;var c=e.length;var f=0;for(s=0;s<c;s++){f+=e[s]._computedWidthParsed}var h=l/f;if(!j.getUseAdvancedFlexAllocation()){for(s=0;s<c;s++){n=e[s];n._computedWidthFlexValue=Math.round(n._computedWidthParsed*h);o+=n._computedWidthFlexValue}}else{var b=0;var k,c,a,r,m,p;for(s=0;s<c;s++){n=e[s];p=n._computedWidthFlexValue=n._computedWidthParsed*h;b+=p-qx.lang.Number.limit(p,n.getMinWidthValue(),n.getMaxWidthValue())}b=Math.round(b);if(b==0){for(s=0;s<c;s++){n=e[s];n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=n._computedWidthFlexValue}}else{var q=b>0;for(s=c-1;s>=0;s--){n=e[s];if(q){a=(n.getMaxWidthValue()||Infinity)-n._computedWidthFlexValue;if(a>0){n._allocationLoops=Math.floor(a/n._computedWidthParsed)}else{qx.lang.Array.removeAt(e,s);n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=Math.round(n._computedWidthFlexValue+a)}}else{a=qx.util.Validation.isValidNumber(n.getMinWidthValue())?n._computedWidthFlexValue-n.getMinWidthValue():n._computedWidthFlexValue;if(a>0){n._allocationLoops=Math.floor(a/n._computedWidthParsed)}else{qx.lang.Array.removeAt(e,s);n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=Math.round(n._computedWidthFlexValue-a)}}}while(b!=0&&c>0){c=e.length;k=Infinity;m=0;for(s=0;s<c;s++){k=Math.min(k,e[s]._allocationLoops);m+=e[s]._computedWidthParsed}r=Math.min(m*k,b);b-=r;for(s=c-1;s>=0;s--){n=e[s];n._computedWidthFlexValue+=r/m*n._computedWidthParsed;if(n._allocationLoops==k){n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=n._computedWidthFlexValue;delete n._allocationLoops;qx.lang.Array.removeAt(e,s)}else{if(b==0){n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=n._computedWidthFlexValue;delete n._allocationLoops}else{n._allocationLoops-=k}}}}}}n._computedWidthFlexValue+=d-o},invalidateChildrenFlexWidth:function(){delete this._childrenFlexWidthComputed},computeChildrenNeededWidth:function(){var a=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededWidth_sum.call(this)+((a.getVisibleChildrenLength()-1)*a.getSpacing())},updateSelfOnChildOuterWidthChange:function(a){this.getWidget()._invalidateAccumulatedChildrenOuterWidth()},updateChildOnInnerWidthChange:function(c){if(this.getWidget().getHorizontalChildrenAlign()==$[30]){c.addToLayoutChanges($[129])}var a=c._recomputePercentX();var b=c._recomputeFlexX();return a||b},updateChildOnInnerHeightChange:function(c){var a=c._recomputePercentY();var b=c._recomputeStretchingY();if((c.getVerticalAlign()||this.getWidget().getVerticalChildrenAlign())==$[46]){c.addToLayoutChanges($[130])}return a||b},updateSelfOnJobQueueFlush:function(a){if(a.addChild||a.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterWidth()}},updateChildrenOnJobQueueFlush:function(a){var d=false,b=false;var c=this.getWidget();if(a.orientation){d=b=true}if(a.spacing||a.orientation||a.reverseChildrenOrder||a.horizontalChildrenAlign){c._addChildrenToLayoutQueue($[129])}if(a.verticalChildrenAlign){c._addChildrenToLayoutQueue($[130])}if(a.stretchChildrenOrthogonalAxis){b=true}if(d){c._recomputeChildrenStretchingX();c._addChildrenToLayoutQueue($[27])}if(b){c._recomputeChildrenStretchingY();c._addChildrenToLayoutQueue($[23])}return true},updateChildrenOnRemoveChild:function(g,c){var b=this.getWidget(),e=b.getVisibleChildren(),a=e.length,f,d=-1;if(this.getEnableFlexSupport()){for(d=0;d<a;d++){f=e[d];if(f.getHasFlexX()){c=Math.min(c,d);break}}d=-1}switch(b.getLayoutMode()){case $[15]:case $[207]:while((f=e[++d])&&d<c){f.addToLayoutChanges($[129])}break;case $[30]:case $[223]:while(f=e[++d]){f.addToLayoutChanges($[129])}break;default:d+=c;while(f=e[++d]){f.addToLayoutChanges($[129])}}},updateChildrenOnMoveChild:function(g,b,e){var a=this.getWidget().getVisibleChildren();var f=Math.min(b,e);var d=Math.max(b,e)+1;d=Math.min(a.length,d);for(var c=f;c<d;c++){a[c].addToLayoutChanges($[129])}},flushChildrenQueue:function(d){var b=this.getWidget(),f=b.getVisibleChildren(),a=f.length,h,e;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexWidth();for(e=0;e<a;e++){h=f[e];if(h.getHasFlexX()){h._computedWidthValue=null;if(h._recomputeBoxWidth()){h._recomputeOuterWidth();h._recomputeInnerWidth()}d[h.toHashCode()]=h;h._layoutChanges.width=true}}}switch(b.getLayoutMode()){case $[15]:case $[207]:for(var e=a-1;e>=0&&!d[f[e].toHashCode()];e--){}for(var c=0;c<=e;c++){b._layoutChild(h=f[c])}break;case $[30]:case $[223]:e=-1;while(h=f[++e]){b._layoutChild(h)}break;default:e=-1;var g=false;while(h=f[++e]){if(g||d[h.toHashCode()]){b._layoutChild(h);g=true}}}},layoutChild:function(b,a){this.layoutChild_sizeX(b,a);this.layoutChild_sizeY(b,a);this.layoutChild_sizeLimitX(b,a);this.layoutChild_sizeLimitY(b,a);this.layoutChild_locationX(b,a);this.layoutChild_locationY(b,a);this.layoutChild_marginX(b,a);this.layoutChild_marginY(b,a)},layoutChild_sizeX:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(b,a){if(a.initial||a.width||a.minWidth||a.maxWidth){if(b._isWidthEssential()&&(!b._computedWidthTypeNull||!b._computedMinWidthTypeNull||!b._computedMaxWidthTypeNull)){b._renderRuntimeWidth(b.getBoxWidth())}else{b._resetRuntimeWidth()}}},"default":function(b,a){if(a.initial||a.width){if(b._isWidthEssential()&&!b._computedWidthTypeNull){b._renderRuntimeWidth(b.getWidthValue())}else{b._resetRuntimeWidth()}}}}),layoutChild_sizeY:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(b,a){if(a.initial||a.height||a.minHeight||a.maxHeight){if((b._isHeightEssential()&&(!b._computedHeightTypeNull||!b._computedMinHeightTypeNull||!b._computedMaxHeightTypeNull))||(b.getAllowStretchY()&&this.getWidget().getStretchChildrenOrthogonalAxis())){b._renderRuntimeHeight(b.getBoxHeight())}else{b._resetRuntimeHeight()}}},"default":function(b,a){if(a.initial||a.height){if(b._isHeightEssential()&&!b._computedHeightTypeNull){b._renderRuntimeHeight(b.getHeightValue())}else{b._resetRuntimeHeight()}}}}),layoutChild_locationX:function(e,a){var d=this.getWidget();if(d.getFirstVisibleChild()==e){switch(d.getLayoutMode()){case $[15]:case $[207]:var b=d.getPaddingRight()+d.getAccumulatedChildrenOuterWidth()-e.getOuterWidth();break;case $[30]:case $[223]:var b=d.getPaddingLeft()+Math.round((d.getInnerWidth()-d.getAccumulatedChildrenOuterWidth())/2);break;default:var b=d.getPaddingLeft()}}else{var c=e.getPreviousVisibleSibling();switch(d.getLayoutMode()){case $[15]:case $[207]:var b=c._cachedLocationHorizontal-e.getOuterWidth()-d.getSpacing();break;default:var b=c._cachedLocationHorizontal+c.getOuterWidth()+d.getSpacing()}}e._cachedLocationHorizontal=b;switch(d.getLayoutMode()){case $[15]:case $[420]:case $[223]:b+=!e._computedRightTypeNull?e.getRightValue():!e._computedLeftTypeNull?-(e.getLeftValue()):0;e._resetRuntimeLeft();e._renderRuntimeRight(b);break;default:b+=!e._computedLeftTypeNull?e.getLeftValue():!e._computedRightTypeNull?-(e.getRightValue()):0;e._resetRuntimeRight();e._renderRuntimeLeft(b)}},layoutChild_locationY:function(e,a){var c=this.getWidget();if(org.eclipse.rwt.Client.isGecko()){if(e.getAllowStretchY()&&c.getStretchChildrenOrthogonalAxis()&&e._computedHeightTypeNull){e._renderRuntimeTop(c.getPaddingTop()||0);e._renderRuntimeBottom(c.getPaddingBottom()||0);return}}var d=e.getVerticalAlign()||c.getVerticalChildrenAlign();var b=d==$[46]?Math.round((c.getInnerHeight()-e.getOuterHeight())/2):0;if(d==$[31]){b+=c.getPaddingBottom();if(!e._computedBottomTypeNull){b+=e.getBottomValue()}else{if(!e._computedTopTypeNull){b-=e.getTopValue()}}e._resetRuntimeTop();e._renderRuntimeBottom(b)}else{b+=c.getPaddingTop();if(!e._computedTopTypeNull){b+=e.getTopValue()}else{if(!e._computedBottomTypeNull){b-=e.getBottomValue()}}e._resetRuntimeBottom();e._renderRuntimeTop(b)}}}});
+qx.Class.define("qx.ui.layout.impl.HorizontalBoxLayoutImpl",{extend:qx.ui.layout.impl.LayoutImpl,properties:{enableFlexSupport:{check:$[2],init:true}},members:{computeChildBoxWidth:function(a){return a.getWidthValue()||a._computeBoxWidthFallback()},computeChildBoxHeight:function(a){if(this.getWidget().getStretchChildrenOrthogonalAxis()&&a._computedHeightTypeNull&&a.getAllowStretchY()){return this.getWidget().getInnerHeight()}return a.getHeightValue()||a._computeBoxHeightFallback()},computeChildrenFlexWidth:function(){if(this._childrenFlexWidthComputed||!this.getEnableFlexSupport()){return}this._childrenFlexWidthComputed=true;var j=this.getWidget();var i=j.getVisibleChildren();var g=i.length;var n;var e=[];var d=j.getInnerWidth();var o=j.getSpacing()*(g-1);var s;for(s=0;s<g;s++){n=i[s];if(n._computedWidthTypeFlex){e.push(n);if(j._computedWidthTypeAuto){o+=n.getPreferredBoxWidth()}}else{o+=n.getOuterWidth()}}var l=d-o;var c=e.length;var f=0;for(s=0;s<c;s++){f+=e[s]._computedWidthParsed}var h=l/f;if(!j.getUseAdvancedFlexAllocation()){for(s=0;s<c;s++){n=e[s];n._computedWidthFlexValue=Math.round(n._computedWidthParsed*h);o+=n._computedWidthFlexValue}}else{var b=0;var k,c,a,r,m,p;for(s=0;s<c;s++){n=e[s];p=n._computedWidthFlexValue=n._computedWidthParsed*h;b+=p-qx.lang.Number.limit(p,n.getMinWidthValue(),n.getMaxWidthValue())}b=Math.round(b);if(b==0){for(s=0;s<c;s++){n=e[s];n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=n._computedWidthFlexValue}}else{var q=b>0;for(s=c-1;s>=0;s--){n=e[s];if(q){a=(n.getMaxWidthValue()||Infinity)-n._computedWidthFlexValue;if(a>0){n._allocationLoops=Math.floor(a/n._computedWidthParsed)}else{qx.lang.Array.removeAt(e,s);n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=Math.round(n._computedWidthFlexValue+a)}}else{a=qx.util.Validation.isValidNumber(n.getMinWidthValue())?n._computedWidthFlexValue-n.getMinWidthValue():n._computedWidthFlexValue;if(a>0){n._allocationLoops=Math.floor(a/n._computedWidthParsed)}else{qx.lang.Array.removeAt(e,s);n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=Math.round(n._computedWidthFlexValue-a)}}}while(b!=0&&c>0){c=e.length;k=Infinity;m=0;for(s=0;s<c;s++){k=Math.min(k,e[s]._allocationLoops);m+=e[s]._computedWidthParsed}r=Math.min(m*k,b);b-=r;for(s=c-1;s>=0;s--){n=e[s];n._computedWidthFlexValue+=r/m*n._computedWidthParsed;if(n._allocationLoops==k){n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=n._computedWidthFlexValue;delete n._allocationLoops;qx.lang.Array.removeAt(e,s)}else{if(b==0){n._computedWidthFlexValue=Math.round(n._computedWidthFlexValue);o+=n._computedWidthFlexValue;delete n._allocationLoops}else{n._allocationLoops-=k}}}}}}n._computedWidthFlexValue+=d-o},invalidateChildrenFlexWidth:function(){delete this._childrenFlexWidthComputed},computeChildrenNeededWidth:function(){var a=this.getWidget();return qx.ui.layout.impl.LayoutImpl.prototype.computeChildrenNeededWidth_sum.call(this)+((a.getVisibleChildrenLength()-1)*a.getSpacing())},updateSelfOnChildOuterWidthChange:function(a){this.getWidget()._invalidateAccumulatedChildrenOuterWidth()},updateChildOnInnerWidthChange:function(c){if(this.getWidget().getHorizontalChildrenAlign()==$[30]){c.addToLayoutChanges($[129])}var a=c._recomputePercentX();var b=c._recomputeFlexX();return a||b},updateChildOnInnerHeightChange:function(c){var a=c._recomputePercentY();var b=c._recomputeStretchingY();if((c.getVerticalAlign()||this.getWidget().getVerticalChildrenAlign())==$[46]){c.addToLayoutChanges($[130])}return a||b},updateSelfOnJobQueueFlush:function(a){if(a.addChild||a.removeChild){this.getWidget()._invalidateAccumulatedChildrenOuterWidth()}},updateChildrenOnJobQueueFlush:function(a){var d=false,b=false;var c=this.getWidget();if(a.orientation){d=b=true}if(a.spacing||a.orientation||a.reverseChildrenOrder||a.horizontalChildrenAlign){c._addChildrenToLayoutQueue($[129])}if(a.verticalChildrenAlign){c._addChildrenToLayoutQueue($[130])}if(a.stretchChildrenOrthogonalAxis){b=true}if(d){c._recomputeChildrenStretchingX();c._addChildrenToLayoutQueue($[28])}if(b){c._recomputeChildrenStretchingY();c._addChildrenToLayoutQueue($[23])}return true},updateChildrenOnRemoveChild:function(g,c){var b=this.getWidget(),e=b.getVisibleChildren(),a=e.length,f,d=-1;if(this.getEnableFlexSupport()){for(d=0;d<a;d++){f=e[d];if(f.getHasFlexX()){c=Math.min(c,d);break}}d=-1}switch(b.getLayoutMode()){case $[15]:case $[207]:while((f=e[++d])&&d<c){f.addToLayoutChanges($[129])}break;case $[30]:case $[223]:while(f=e[++d]){f.addToLayoutChanges($[129])}break;default:d+=c;while(f=e[++d]){f.addToLayoutChanges($[129])}}},updateChildrenOnMoveChild:function(g,b,e){var a=this.getWidget().getVisibleChildren();var f=Math.min(b,e);var d=Math.max(b,e)+1;d=Math.min(a.length,d);for(var c=f;c<d;c++){a[c].addToLayoutChanges($[129])}},flushChildrenQueue:function(d){var b=this.getWidget(),f=b.getVisibleChildren(),a=f.length,h,e;if(this.getEnableFlexSupport()){this.invalidateChildrenFlexWidth();for(e=0;e<a;e++){h=f[e];if(h.getHasFlexX()){h._computedWidthValue=null;if(h._recomputeBoxWidth()){h._recomputeOuterWidth();h._recomputeInnerWidth()}d[h.toHashCode()]=h;h._layoutChanges.width=true}}}switch(b.getLayoutMode()){case $[15]:case $[207]:for(var e=a-1;e>=0&&!d[f[e].toHashCode()];e--){}for(var c=0;c<=e;c++){b._layoutChild(h=f[c])}break;case $[30]:case $[223]:e=-1;while(h=f[++e]){b._layoutChild(h)}break;default:e=-1;var g=false;while(h=f[++e]){if(g||d[h.toHashCode()]){b._layoutChild(h);g=true}}}},layoutChild:function(b,a){this.layoutChild_sizeX(b,a);this.layoutChild_sizeY(b,a);this.layoutChild_sizeLimitX(b,a);this.layoutChild_sizeLimitY(b,a);this.layoutChild_locationX(b,a);this.layoutChild_locationY(b,a);this.layoutChild_marginX(b,a);this.layoutChild_marginY(b,a)},layoutChild_sizeX:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(b,a){if(a.initial||a.width||a.minWidth||a.maxWidth){if(b._isWidthEssential()&&(!b._computedWidthTypeNull||!b._computedMinWidthTypeNull||!b._computedMaxWidthTypeNull)){b._renderRuntimeWidth(b.getBoxWidth())}else{b._resetRuntimeWidth()}}},"default":function(b,a){if(a.initial||a.width){if(b._isWidthEssential()&&!b._computedWidthTypeNull){b._renderRuntimeWidth(b.getWidthValue())}else{b._resetRuntimeWidth()}}}}),layoutChild_sizeY:qx.core.Variant.select($[0],{"mshtml|newmshtml|opera|webkit":function(b,a){if(a.initial||a.height||a.minHeight||a.maxHeight){if((b._isHeightEssential()&&(!b._computedHeightTypeNull||!b._computedMinHeightTypeNull||!b._computedMaxHeightTypeNull))||(b.getAllowStretchY()&&this.getWidget().getStretchChildrenOrthogonalAxis())){b._renderRuntimeHeight(b.getBoxHeight())}else{b._resetRuntimeHeight()}}},"default":function(b,a){if(a.initial||a.height){if(b._isHeightEssential()&&!b._computedHeightTypeNull){b._renderRuntimeHeight(b.getHeightValue())}else{b._resetRuntimeHeight()}}}}),layoutChild_locationX:function(e,a){var d=this.getWidget();if(d.getFirstVisibleChild()==e){switch(d.getLayoutMode()){case $[15]:case $[207]:var b=d.getPaddingRight()+d.getAccumulatedChildrenOuterWidth()-e.getOuterWidth();break;case $[30]:case $[223]:var b=d.getPaddingLeft()+Math.round((d.getInnerWidth()-d.getAccumulatedChildrenOuterWidth())/2);break;default:var b=d.getPaddingLeft()}}else{var c=e.getPreviousVisibleSibling();switch(d.getLayoutMode()){case $[15]:case $[207]:var b=c._cachedLocationHorizontal-e.getOuterWidth()-d.getSpacing();break;default:var b=c._cachedLocationHorizontal+c.getOuterWidth()+d.getSpacing()}}e._cachedLocationHorizontal=b;switch(d.getLayoutMode()){case $[15]:case $[420]:case $[223]:b+=!e._computedRightTypeNull?e.getRightValue():!e._computedLeftTypeNull?-(e.getLeftValue()):0;e._resetRuntimeLeft();e._renderRuntimeRight(b);break;default:b+=!e._computedLeftTypeNull?e.getLeftValue():!e._computedRightTypeNull?-(e.getRightValue()):0;e._resetRuntimeRight();e._renderRuntimeLeft(b)}},layoutChild_locationY:function(e,a){var c=this.getWidget();if(org.eclipse.rwt.Client.isGecko()){if(e.getAllowStretchY()&&c.getStretchChildrenOrthogonalAxis()&&e._computedHeightTypeNull){e._renderRuntimeTop(c.getPaddingTop()||0);e._renderRuntimeBottom(c.getPaddingBottom()||0);return}}var d=e.getVerticalAlign()||c.getVerticalChildrenAlign();var b=d==$[46]?Math.round((c.getInnerHeight()-e.getOuterHeight())/2):0;if(d==$[31]){b+=c.getPaddingBottom();if(!e._computedBottomTypeNull){b+=e.getBottomValue()}else{if(!e._computedTopTypeNull){b-=e.getTopValue()}}e._resetRuntimeTop();e._renderRuntimeBottom(b)}else{b+=c.getPaddingTop();if(!e._computedTopTypeNull){b+=e.getTopValue()}else{if(!e._computedBottomTypeNull){b-=e.getBottomValue()}}e._resetRuntimeBottom();e._renderRuntimeTop(b)}}}});
 qx.Class.define("qx.ui.basic.Atom",{extend:qx.ui.layout.BoxLayout,construct:function(c,e,d,a,b){arguments.callee.base.call(this);this.getLayoutImpl().setEnableFlexSupport(false);if(c!==undefined){this.setLabel(c)}if(qx.Class.isDefined($[363])&&b!=null&&d!=null&&a!=null&&qx.ui.embed.Flash.getPlayerVersion().getMajor()>0){this._flashMode=true;this.setIcon(b)}else{if(e!=null){this.setIcon(e)}}if(e||b){if(d!=null){this.setIconWidth(d)}if(a!=null){this.setIconHeight(a)}}this.initWidth();this.initHeight()},properties:{orientation:{refine:true,init:$[41]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:"atom"},stretchChildrenOrthogonalAxis:{refine:true,init:false},width:{refine:true,init:"auto"},height:{refine:true,init:"auto"},horizontalChildrenAlign:{refine:true,init:$[30]},verticalChildrenAlign:{refine:true,init:$[46]},spacing:{refine:true,init:4},label:{apply:"_applyLabel",nullable:true,dispose:true,check:"Label"},icon:{check:$[21],apply:$[322],nullable:true,themeable:true},disabledIcon:{check:$[21],apply:"_applyDisabledIcon",nullable:true,themeable:true},show:{init:"both",check:["both",$[74],"icon","none"],themeable:true,nullable:true,inheritable:true,apply:"_applyShow",event:"changeShow"},iconPosition:{init:"left",check:["top",$[15],$[31],"left"],themeable:true,apply:"_applyIconPosition"},iconWidth:{check:$[14],themeable:true,apply:"_applyIconWidth",nullable:true},iconHeight:{check:$[14],themeable:true,apply:"_applyIconHeight",nullable:true}},members:{_flashMode:false,_labelObject:null,_iconObject:null,_createLabel:function(){var a=this._labelObject=new qx.ui.basic.Label(this.getLabel());a.setAnonymous(true);this.addAt(a,this._iconObject?1:0)},_createIcon:function(){if(this._flashMode&&qx.Class.isDefined($[363])){var b=this._iconObject=new qx.ui.embed.Flash(this.getIcon())}else{var b=this._iconObject=new qx.ui.basic.Image()}b.setAnonymous(true);var c=this.getIconWidth();if(c!==null){this._iconObject.setWidth(c)}var a=this.getIconWidth();if(a!==null){this._iconObject.setHeight(a)}this._updateIcon();this.addAt(b,0)},_updateIcon:function(){var a=this.getIcon();if(this._iconObject&&this.getIcon&&this.getDisabledIcon){var b=this.getDisabledIcon();if(b){if(this.getEnabled()){a?this._iconObject.setSource(a):this._iconObject.resetSource()}else{b?this._iconObject.setSource(b):this._iconObject.resetSource()}this._iconObject.setEnabled(true)}else{a?this._iconObject.setSource(a):this._iconObject.resetSource();this._iconObject.resetEnabled()}}},getLabelObject:function(){return this._labelObject},getIconObject:function(){return this._iconObject},_applyIconPosition:function(b,a){switch(b){case"top":case $[31]:this.setOrientation($[32]);this.setReverseChildrenOrder(b==$[31]);break;default:this.setOrientation($[41]);this.setReverseChildrenOrder(b==$[15]);break}},_applyShow:function(b,a){this._handleIcon();this._handleLabel()},_applyLabel:function(b,a){if(this._labelObject){b?this._labelObject.setText(b):this._labelObject.resetText()}this._handleLabel()},_applyIcon:function(b,a){this._updateIcon();this._handleIcon()},_applyDisabledIcon:function(b,a){this._updateIcon();this._handleIcon()},_applyIconWidth:function(b,a){if(this._iconObject){this._iconObject.setWidth(b)}},_applyIconHeight:function(b,a){if(this._iconObject){this._iconObject.setHeight(b)}},_iconIsVisible:false,_labelIsVisible:false,_handleLabel:function(){switch(this.getShow()){case $[74]:case"both":case $[182]:this._labelIsVisible=!!this.getLabel();break;default:this._labelIsVisible=false}if(this._labelIsVisible){this._labelObject?this._labelObject.setDisplay(true):this._createLabel()}else{if(this._labelObject){this._labelObject.setDisplay(false)}}},_handleIcon:function(){switch(this.getShow()){case"icon":case"both":case $[182]:this._iconIsVisible=!!this.getIcon();break;default:this._iconIsVisible=false}if(this._iconIsVisible){this._iconObject?this._iconObject.setDisplay(true):this._createIcon()}else{if(this._iconObject){this._iconObject.setDisplay(false)}}}},destruct:function(){this._disposeObjects("_iconObject","_labelObject")}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.Label",{factory:function(b){var c=org.eclipse.rwt.protocol.AdapterUtil.createStyleMap(b.style);c.MARKUP_ENABLED=b.markupEnabled;var a=new org.eclipse.rwt.widgets.Label(c);org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);a.setUserData($[22],true);org.eclipse.rwt.protocol.AdapterUtil.setParent(a,b.parent);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties(["text",$[18],$[293],"appearance","leftMargin","topMargin","rightMargin","bottomMargin",$[134]]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({backgroundGradient:org.eclipse.rwt.protocol.AdapterUtil.getBackgroundGradientHandler()}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners([]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({}),methods:[]});
 qx.Class.define("qx.ui.basic.Label",{extend:qx.ui.basic.Terminator,construct:function(a){arguments.callee.base.call(this);if(a!=null){this.setText(a)}this.initWidth();this.initHeight();this.initSelectable();this.initCursor();this.initWrap()},properties:{appearance:{refine:true,init:$[74]},width:{refine:true,init:"auto"},height:{refine:true,init:"auto"},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},selectable:{refine:true,init:false},text:{apply:"_applyText",init:"",dispose:true,check:"Label"},wrap:{check:$[2],init:false,nullable:true,apply:$[350]},textAlign:{check:["left",$[30],$[15],"justify"],nullable:true,themeable:true,apply:$[353]},textOverflow:{check:$[2],init:true},mode:{check:["html","text","auto"],init:"auto"}},members:{_content:"",_applyTextAlign:function(b,a){b===null?this.removeStyleProperty($[198]):this.setStyleProperty($[198],b)},_applyFont:function(b,a){this._styleFont(b)},_styleFont:function(a){this._invalidatePreferredInnerDimensions();a?a.render(this):qx.ui.core.Font.reset(this)},_applyTextColor:function(b,a){this._styleTextColor(b)},_styleTextColor:function(a){a?this.setStyleProperty($[65],a):this.removeStyleProperty($[65])},_applyWrap:function(b,a){b==null?this.removeStyleProperty("whiteSpace"):this.setStyleProperty("whiteSpace",b?$[61]:"nowrap")},_applyText:function(b,a){this._syncText(this.getText())},_syncText:function(a){this._content=a;if(this._isCreated){this._renderContent()}},_computeObjectNeededDimensions:function(){var c=this._styleProperties;var a=org.eclipse.swt.FontSizeCalculation;var b=a.computeTextDimensions(this._content,c);this._cachedPreferredInnerWidth=b[0];this._cachedPreferredInnerHeight=b[1]},_computePreferredInnerWidth:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerWidth},_computePreferredInnerHeight:function(){this._computeObjectNeededDimensions();return this._cachedPreferredInnerHeight},_postApply:function(){var b=this._content;var a=this._getTargetNode();if(b==null){a.innerHTML=""}else{var c=a.style;if(!this.getWrap()){if(this.getInnerWidth()<this.getPreferredInnerWidth()){c.overflow=$[13]}else{c.overflow=""}}a.innerHTML=b}}}});
@@ -86,10 +86,10 @@
 qx.Class.define($[465],{extend:qx.core.Target,events:{load:$[3],error:$[3]},construct:function(a){if(qx.io.image.PreloaderManager.getInstance().has(a)){return qx.io.image.PreloaderManager.getInstance().get(a)}arguments.callee.base.call(this);this._element=new Image;this._element.onload=qx.lang.Function.bind(this.__onload,this);this._element.onerror=qx.lang.Function.bind(this.__onerror,this);this._source=a;this._element.src=a;this._checkPng();qx.io.image.PreloaderManager.getInstance().add(this)},members:{_source:null,_isLoaded:false,_isErroneous:false,getUri:function(){return this._source},getSource:function(){return this._source},isLoaded:function(){return this._isLoaded},isErroneous:function(){return this._isErroneous},_checkPng:qx.core.Variant.select($[0],{"default":qx.lang.Function.returnTrue,mshtml:function(){this._isPng=/\.png$/i.test(this._element.nameProp)}}),_isPng:false,getIsPng:function(){return this._isPng},getWidth:qx.core.Variant.select($[0],{gecko:function(){return this._element.naturalWidth},"default":function(){return this._element.width}}),getHeight:qx.core.Variant.select($[0],{gecko:function(){return this._element.naturalHeight},"default":function(){return this._element.height}}),__onload:function(){if(this._isLoaded||this._isErroneous){return}this._isLoaded=true;this._isErroneous=false;if(this.hasEventListeners("load")){this.dispatchEvent(new qx.event.type.Event("load"),true)}},__onerror:function(){if(this._isLoaded||this._isErroneous){return}this._isLoaded=false;this._isErroneous=true;if(this.hasEventListeners($[140])){this.dispatchEvent(new qx.event.type.Event($[140]),true)}}},destruct:function(){if(this._element){this._element.onload=this._element.onerror=null}this._disposeFields("_element","_isLoaded","_isErroneous","_isPng")}});
 qx.Class.define("qx.constant.Layout",{statics:{ORIENTATION_HORIZONTAL:$[41],ORIENTATION_VERTICAL:$[32],ALIGN_LEFT:"left",ALIGN_LEFT_REVERSED:$[207],ALIGN_CENTER:$[30],ALIGN_CENTER_REVERSED:$[223],ALIGN_RIGHT:$[15],ALIGN_RIGHT_REVERSED:$[420],ALIGN_TOP:"top",ALIGN_TOP_REVERSED:$[212],ALIGN_MIDDLE:$[46],ALIGN_MIDDLE_REVERSED:$[226],ALIGN_BOTTOM:$[31],ALIGN_BOTTOM_REVERSED:$[438]}});
 qx.Class.define("qx.constant.Style",{statics:{POSITION_ABSOLUTE:$[17],POSITION_RELATIVE:"relative",POSITION_STATIC:$[121],POSITION_FIXED:$[123],CURSOR_WAIT:"wait",CURSOR_PROGRESS:$[192],CURSOR_DEFAULT:$[66],CURSOR_HAND:$[133],OVERFLOW_AUTO:"auto",OVERFLOW_HIDDEN:$[13],OVERFLOW_BOTH:$[12],OVERFLOW_HORIZONTAL:$[86],OVERFLOW_VERTICAL:$[85],OVERFLOW_ELLIPSIS:"ellipsis",OVERFLOW_VISIBLE:$[209],OVERFLOW_MOZ_NONE:$[256],OVERFLOW_MOZ_HORIZONTAL:$[277],OVERFLOW_MOZ_VERTICAL:$[231],FOCUS_OUTLINE:"1px dotted invert",BORDER_SOLID:$[72],LABEL_MODE_HTML:"html",BUTTON_SHOW_ICON:"icon"}});
-qx.Class.define($[461],{type:$[101],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this)},events:{created:$[3],configured:$[3],sending:$[3],receiving:$[3],completed:$[3],aborted:$[3],failed:$[3],timeout:$[3]},properties:{url:{check:$[21],nullable:true},method:{check:$[21],nullable:true},asynchronous:{check:$[2],nullable:true},data:{check:$[21],nullable:true},username:{check:$[21],nullable:true},password:{check:$[21],nullable:true},state:{check:[$[152],$[95],$[52],$[56],$[26],$[55],$[53],$[38]],init:$[152],event:$[328],apply:$[359]},requestHeaders:{check:$[106],nullable:true},parameters:{check:$[106],nullable:true},formFields:{check:$[106],nullable:true},responseType:{check:$[21],nullable:true},useBasicHttpAuth:{check:$[2],nullable:true}},members:{send:function(){throw new Error("send is abstract")},abort:function(){this.setState($[55])},timeout:function(){this.setState($[53])},failed:function(){this.setState($[38])},setRequestHeader:function(a,b){throw new Error("setRequestHeader is abstract")},getResponseHeader:function(a){throw new Error("getResponseHeader is abstract")},getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract")},getStatusCode:function(){throw new Error("getStatusCode is abstract")},getStatusText:function(){throw new Error("getStatusText is abstract")},getResponseText:function(){throw new Error("getResponseText is abstract")},getResponseXml:function(){throw new Error("getResponseXml is abstract")},getFetchedLength:function(){throw new Error("getFetchedLength is abstract")},_applyState:function(b,a){switch(b){case $[152]:this.createDispatchEvent($[152]);break;case $[95]:this.createDispatchEvent($[95]);break;case $[52]:this.createDispatchEvent($[52]);break;case $[56]:this.createDispatchEvent($[56]);break;case $[26]:this.createDispatchEvent($[26]);break;case $[55]:this.createDispatchEvent($[55]);break;case $[38]:this.createDispatchEvent($[38]);break;case $[53]:this.createDispatchEvent($[53]);break}return true}}});
+qx.Class.define($[461],{type:$[101],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this)},events:{created:$[3],configured:$[3],sending:$[3],receiving:$[3],completed:$[3],aborted:$[3],failed:$[3],timeout:$[3]},properties:{url:{check:$[21],nullable:true},method:{check:$[21],nullable:true},asynchronous:{check:$[2],nullable:true},data:{check:$[21],nullable:true},username:{check:$[21],nullable:true},password:{check:$[21],nullable:true},state:{check:[$[152],$[95],$[52],$[56],$[27],$[55],$[53],$[38]],init:$[152],event:$[328],apply:$[359]},requestHeaders:{check:$[106],nullable:true},parameters:{check:$[106],nullable:true},formFields:{check:$[106],nullable:true},responseType:{check:$[21],nullable:true},useBasicHttpAuth:{check:$[2],nullable:true}},members:{send:function(){throw new Error("send is abstract")},abort:function(){this.setState($[55])},timeout:function(){this.setState($[53])},failed:function(){this.setState($[38])},setRequestHeader:function(a,b){throw new Error("setRequestHeader is abstract")},getResponseHeader:function(a){throw new Error("getResponseHeader is abstract")},getResponseHeaders:function(){throw new Error("getResponseHeaders is abstract")},getStatusCode:function(){throw new Error("getStatusCode is abstract")},getStatusText:function(){throw new Error("getStatusText is abstract")},getResponseText:function(){throw new Error("getResponseText is abstract")},getResponseXml:function(){throw new Error("getResponseXml is abstract")},getFetchedLength:function(){throw new Error("getFetchedLength is abstract")},_applyState:function(b,a){switch(b){case $[152]:this.createDispatchEvent($[152]);break;case $[95]:this.createDispatchEvent($[95]);break;case $[52]:this.createDispatchEvent($[52]);break;case $[56]:this.createDispatchEvent($[56]);break;case $[27]:this.createDispatchEvent($[27]);break;case $[55]:this.createDispatchEvent($[55]);break;case $[38]:this.createDispatchEvent($[38]);break;case $[53]:this.createDispatchEvent($[53]);break}return true}}});
 qx.Class.define("qx.ui.layout.HorizontalBoxLayout",{extend:qx.ui.layout.BoxLayout});
-qx.Class.define("qx.ui.form.Spinner",{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(c,b,a){arguments.callee.base.call(this);if(org.eclipse.rwt.Client.isMshtml()){this.setStyleProperty($[165],"0px")}this._textfield=new org.eclipse.rwt.widgets.BasicText;this._textfield.setBorder(null);this._textfield.setWidth("1*");this._textfield.setAllowStretchY(true);this._textfield.setHeight(null);this._textfield.setVerticalAlign($[46]);this._textfield.setAppearance("spinner-text-field");this.add(this._textfield);this._buttonlayout=new qx.ui.layout.VerticalBoxLayout;this._buttonlayout.setWidth("auto");this.add(this._buttonlayout);this._upbutton=new qx.ui.form.Button;this._upbutton.setAppearance("spinner-button-up");this._upbutton.setTabIndex(null);this._upbutton.setHeight("1*");this._buttonlayout.add(this._upbutton);this._downbutton=new qx.ui.form.Button;this._downbutton.setAppearance("spinner-button-down");this._downbutton.setTabIndex(null);this._downbutton.setHeight("1*");this._buttonlayout.add(this._downbutton);this._timer=new qx.client.Timer(this.getInterval());this.setManager(new qx.util.range.Range());this.initWrap();this.addEventListener($[4],this._onkeypress,this);this.addEventListener($[10],this._onkeydown,this);this.addEventListener($[40],this._onkeyup,this);this.addEventListener($[47],this._onmousewheel,this);this._textfield.addEventListener($[109],this._ontextchange,this);this._textfield.addEventListener($[89],this._oninput,this);this._textfield.addEventListener("blur",this._onblur,this);this._upbutton.addEventListener($[1],this._onmousedown,this);this._downbutton.addEventListener($[1],this._onmousedown,this);this._timer.addEventListener($[28],this._oninterval,this);if(c!=null){this.setMin(c)}if(a!=null){this.setMax(a)}if(b!=null){this.setValue(b)}this._checkValue=this.__checkValue;this.initWidth();this.initHeight();this._last_value=""},events:{change:$[48]},properties:{appearance:{refine:true,init:"spinner"},width:{refine:true,init:60},height:{refine:true,init:22},incrementAmount:{check:$[59],init:1,apply:"_applyIncrementAmount"},wheelIncrementAmount:{check:$[59],init:1},pageIncrementAmount:{check:$[59],init:10},interval:{check:$[14],init:100},firstInterval:{check:$[14],init:500},minTimer:{check:$[14],init:20},timerDecrease:{check:$[14],init:2},amountGrowth:{check:$[59],init:1.01},wrap:{check:$[2],init:false,apply:$[350]},editable:{check:$[2],init:true,apply:"_applyEditable"},manager:{check:$[402],apply:$[504],dispose:true},checkValueFunction:{apply:"_applyCheckValueFunction"},selectTextOnInteract:{check:$[2],init:true}},members:{_applyIncrementAmount:function(b,a){this._computedIncrementAmount=b},_applyEditable:function(b,a){if(this._textfield){this._textfield.setReadOnly(!b)}},_applyWrap:function(b,a){this.getManager().setWrap(b);this._onchange()},_applyManager:function(b,a){if(a){a.removeEventListener($[67],this._onchange,this)}if(b){b.addEventListener($[67],this._onchange,this)}this._onchange()},_applyCheckValueFunction:function(b,a){this._checkValue=b},_computePreferredInnerWidth:function(){return 50},_computePreferredInnerHeight:function(){return 14},_onkeypress:function(b){var a=b.getKeyIdentifier();if(a==$[54]&&!b.isAltPressed()){this._checkValue(true,false);if(this.getSelectTextOnInteract()){this._textfield.selectAll()}}else{switch(a){case"Up":case"Down":case"Left":case $[39]:case"Shift":case $[239]:case"Alt":case $[103]:case"Delete":case $[311]:case"Insert":case"Home":case"End":case $[42]:case $[43]:case"NumLock":case"Tab":break;default:if((a>="0"&&a<="9")||(a=="-")){return}if(b.getModifiers()==0){b.preventDefault()}}}},_onkeydown:function(b){var a=b.getKeyIdentifier();if(this._intervalIncrease==null){switch(a){case"Up":case"Down":this._intervalIncrease=a=="Up";this._intervalMode="single";this._resetIncrements();this._checkValue(true,false);this._increment();this._timer.startWith(this.getFirstInterval());break;case $[42]:case $[43]:this._intervalIncrease=a==$[42];this._intervalMode="page";this._resetIncrements();this._checkValue(true,false);this._pageIncrement();this._timer.startWith(this.getFirstInterval());break}}},_onkeyup:function(a){if(this._intervalIncrease!=null){switch(a.getKeyIdentifier()){case"Up":case"Down":case $[42]:case $[43]:this._timer.stop();this._intervalIncrease=null;this._intervalMode=null}}},_onmousedown:function(b){if(!b.isLeftButtonPressed()){return}this._checkValue(true);var a=b.getCurrentTarget();a.addState($[11]);a.addEventListener($[5],this._onmouseup,this);a.addEventListener($[8],this._onmouseup,this);this._intervalIncrease=a==this._upbutton;this._resetIncrements();this._increment();if(this.getSelectTextOnInteract()){this._textfield.selectAll()}this._timer.setInterval(this.getFirstInterval());this._timer.start()},_onmouseup:function(b){var a=b.getCurrentTarget();a.removeState($[11]);a.removeEventListener($[5],this._onmouseup,this);a.removeEventListener($[8],this._onmouseup,this);if(this.getSelectTextOnInteract()){this._textfield.selectAll()}this._textfield.setFocused(true);this._timer.stop();this._intervalIncrease=null},_onmousewheel:function(b){this._checkValue(true);if(this.getManager().incrementValue){this.getManager().incrementValue(this.getWheelIncrementAmount()*b.getWheelDelta())}else{var a=this.getManager().getValue()+(this.getWheelIncrementAmount()*b.getWheelDelta());a=this.getManager().limit(a);this.getManager().setValue(a)}this._textfield.selectAll();b.preventDefault();b.stopPropagation()},_ontextchange:function(a){this._last_value=a.getOldValue()},_oninput:function(a){this._checkValue(true,true)},_onchange:function(b){var a=this.getManager().getValue();this._textfield.setValue(String(a));if(a==this.getMin()&&!this.getWrap()){this._downbutton.removeState($[11]);this._downbutton.setEnabled(false);this._timer.stop()}else{this._downbutton.resetEnabled()}if(a==this.getMax()&&!this.getWrap()){this._upbutton.removeState($[11]);this._upbutton.setEnabled(false);this._timer.stop()}else{this._upbutton.resetEnabled()}this.createDispatchDataEvent($[67],a)},_onblur:function(a){this._checkValue(false)},setValue:function(a){this.getManager().setValue(this.getManager().limit(a))},getValue:function(){this._checkValue(true);return this.getManager().getValue()},resetValue:function(){this.getManager().resetValue()},setMax:function(a){return this.getManager().setMax(a)},getMax:function(){return this.getManager().getMax()},setMin:function(a){return this.getManager().setMin(a)},getMin:function(){return this.getManager().getMin()},_intervalIncrease:null,_oninterval:function(b){this._timer.stop();this.setInterval(Math.max(this.getMinTimer(),this.getInterval()-this.getTimerDecrease()));if(this._intervalMode=="page"){this._pageIncrement()}else{if(this.getInterval()==this.getMinTimer()){this._computedIncrementAmount=this.getAmountGrowth()*this._computedIncrementAmount}this._increment()}var a=this.getManager().getWrap();switch(this._intervalIncrease){case true:if(this.getValue()==this.getMax()&&!a){return}case false:if(this.getValue()==this.getMin()&&!a){return}}this._timer.restartWith(this.getInterval())},__checkValue:function(i,c){var b=this._textfield.getInputElement();if(!b){return}if((b.value=="")||(b.value=="-")){if(!i){this.resetValue();return}}else{var h=b.value;var g;g=h;var d=parseFloat(g);var e=this.getManager().limit(d);var a=this.getManager().getValue();var j=e;if(isNaN(d)||(e!=d)||(d!=g)){if(c){this._textfield.setValue(this._last_value)}else{if(isNaN(e)){j=a}else{j=e}}}if(c){return}var f;f=String(j);if((j===a)&&(h!==f)){this._textfield.setValue(f)}this.getManager().setValue(j)}},_increment:function(){if(this.getManager().incrementValue){this.getManager().incrementValue((this._intervalIncrease?1:-1)*this._computedIncrementAmount)}else{var a=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this._computedIncrementAmount);a=this.getManager().limit(a);this.getManager().setValue(a)}},_pageIncrement:function(){if(this.getManager().pageIncrementValue){this.getManager().pageIncrementValue()}else{var a=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this.getPageIncrementAmount());a=this.getManager().limit(a);this.getManager().setValue(a)}},_resetIncrements:function(){this._computedIncrementAmount=this.getIncrementAmount();this.resetInterval()}},destruct:function(){var a=this.getManager();if(a){a.dispose()}this._disposeObjects("_textfield","_buttonlayout","_upbutton","_downbutton","_timer")}});
-qx.Class.define($[434],{extend:qx.ui.basic.Terminator,construct:function(a){arguments.callee.base.call(this);if(a!=null){this.setValue(a)}this.initHideFocus();this.initWidth();this.initHeight();this.initTabIndex();this._selectionStart=0;this._selectionLength=0;this.__oninput=qx.lang.Function.bindEvent(this._oninputDom,this);this.addEventListener("blur",this._onblur);this.addEventListener($[10],this._onkeydown);this.addEventListener($[4],this._onkeypress);this.addEventListener($[40],this._onkeyup,this);this.addEventListener($[1],this._onMouseDownUp,this);this.addEventListener($[5],this._onMouseDownUp,this);this._updateLineHeight();this._typed=null;this._selectionNeedsUpdate=false;this._applyBrowserFixes();this._inputOverflow=$[13]},destruct:function(){if(this._inputElement!=null){if(org.eclipse.rwt.Client.isMshtml()){this._inputElement.onpropertychange=null}else{this._inputElement.removeEventListener($[89],this.__oninput,false)}}this._inputElement=null;this.__font=null;if(this._checkTimer){this._checkTimer.dispose();this._checkTimer=null}},events:{input:$[48]},properties:{allowStretchX:{refine:true,init:true},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:"text-field"},tabIndex:{refine:true,init:1},hideFocus:{refine:true,init:true},width:{refine:true,init:"auto"},height:{refine:true,init:"auto"},selectable:{refine:true,init:true},value:{init:"",nullable:true,event:$[109],apply:"_applyValue",dispose:true},textAlign:{check:["left",$[30],$[15],"justify"],nullable:true,themeable:true,apply:$[353]},maxLength:{check:$[14],apply:"_applyMaxLength",nullable:true},readOnly:{check:$[2],apply:"_applyReadOnly",init:false,event:"changeReadOnly"}},members:{_LINE_HEIGT_FACTOR:1.2,_inputTag:$[89],_inputType:"text",_inputElement:null,setSelection:function(a){this._selectionStart=a[0];this._selectionLength=a[1]-a[0];this._renderSelection()},getSelection:function(){return[this._selectionStart,this._selectionStart+this._selectionLength]},getComputedSelection:function(){var b=this._getSelectionStart();var a=this._getSelectionLength();return[b,b+a]},getComputedValue:function(){var a;if(this._inputElement!=null){a=this._inputElement.value}else{a=this.getValue()}return a},getInputElement:function(){return this._inputElement||null},_renderSelection:function(){if(this.isCreated()&&this.getFocused()){this._setSelectionStart(this._selectionStart);this._setSelectionLength(this._selectionLength);this._selectionNeedsUpdate=false}},_detectSelectionChange:function(){if(this._isCreated){var b=this._getSelectionStart();var a=this._getSelectionLength();if(typeof b===$[7]){b=0}if(typeof a===$[7]){a=0}if(this._selectionStart!==b||this._selectionLength!==a){this._handleSelectionChange(b,a)}}},_handleSelectionChange:function(b,a){this._selectionStart=b;this._selectionLength=a},_setSelectionStart:qx.core.Variant.select($[0],{mshtml:function(d){this._visualPropertyCheck();var c=this._inputElement.value;var b=0;while(b<d){b=c.indexOf("\r\n",b);if(b===-1){break}d--;b++}var a=this._inputElement.createTextRange();a.collapse();a.move("character",d);a.select()},gecko:function(b){this._visualPropertyCheck();try{this._inputElement.selectionStart=b}catch(a){}},"default":function(a){this._visualPropertyCheck();if(this._inputElement.selectionStart!==a){this._inputElement.selectionStart=a}}}),_getSelectionStart:qx.core.Variant.select($[0],{mshtml:function(){this._visualPropertyCheck();var d=window.document.selection.createRange();if(!this._inputElement.contains(d.parentElement())){return -1}var b=this._inputElement.createTextRange();var a=b.duplicate();a.moveToBookmark(d.getBookmark());b.setEndPoint("EndToStart",a);var c=d.text.replace(/[\r\n]/g,".");var e=this._inputElement.value.replace(/[\r\n]/g,".");return e.indexOf(c,b.text.length)},gecko:function(){this._visualPropertyCheck();var c=this._inputElement;var a;try{if(this.isValidString(c.value)){a=c.selectionStart}else{a=0}}catch(b){a=0}return a},"default":function(){this._visualPropertyCheck();return this._inputElement.selectionStart}}),_setSelectionLength:qx.core.Variant.select($[0],{mshtml:function(b){this._visualPropertyCheck();var a=window.document.selection.createRange();if(!this._inputElement.contains(a.parentElement())){return}a.collapse();a.moveEnd("character",b);a.select()},gecko:function(c){this._visualPropertyCheck();var b=this._inputElement;try{if(this.isValidString(b.value)){b.selectionEnd=b.selectionStart+c}}catch(a){}},"default":function(c){this._visualPropertyCheck();var b=this._inputElement;if(this.isValidString(b.value)){var a=b.selectionStart+c;if(b.selectionEnd!=a){b.selectionEnd=b.selectionStart+c}}}}),_getSelectionLength:qx.core.Variant.select($[0],{mshtml:function(){this._visualPropertyCheck();var a=window.document.selection.createRange();if(!this._inputElement.contains(a.parentElement())){return 0}return a.text.length},gecko:function(){this._visualPropertyCheck();var b=this._inputElement;try{return b.selectionEnd-b.selectionStart}catch(a){}},"default":function(){this._visualPropertyCheck();var a=this._inputElement;return a.selectionEnd-a.selectionStart}}),selectAll:function(){this._visualPropertyCheck();if(this.getValue()!=null){this._setSelectionStart(0);this._setSelectionLength(this._inputElement.value.length)}this._inputElement.select();if(this.isEnabled()&&this.isSeeable()){this._inputElement.focus()}this._detectSelectionChange()},_applyElement:function(c,b){arguments.callee.base.call(this,c,b);if(c){this._inputElement=document.createElement(this._inputTag);if(this._inputType){this._inputElement.type=this._inputType}this._inputElement.autoComplete="off";this._inputElement.setAttribute("autoComplete","off");this._inputElement.disabled=this.getEnabled()===false;this._inputElement.readOnly=this.getReadOnly();if(org.eclipse.rwt.Client.isMshtml()){if(this.getValue()!=null&&this.getValue()!==""){this._inputElement.value=this.getValue()}else{this._inputElement.value=" "}}else{this._inputElement.value=this.getValue()!=null?this.getValue().toString():""}if(this.getMaxLength()!=null){this._inputElement.maxLength=this.getMaxLength()}var a=this._inputElement.style;a.padding=0;a.margin=0;a.border="0 none";a.background=$[82];a.overflow=this._inputOverflow;a.outline="none";a.resize="none";a.WebkitAppearance="none";a.MozAppearance="none";this._renderFont();this._renderTextColor();this._renderTextAlign();this._renderCursor();this._renderTextShadow();this._textInit();this._getTargetNode().appendChild(this._inputElement);this._updateLineHeight()}},_textInit:qx.core.Variant.select($[0],{"default":function(){this._inputElement.style.margin="1px 0 1px -1px";this._inputElement.addEventListener($[89],this.__oninput,false);this._applyBrowserFixesOnCreate()},mshtml:function(){this._inputElement.onpropertychange=this.__oninput}}),_postApply:function(){this._syncFieldWidth();this._syncFieldHeight()},_changeInnerWidth:function(b,a){this._syncFieldWidth()},_changeInnerHeight:function(b,a){this._syncFieldHeight();this._centerFieldVertically()},_syncFieldWidth:function(){this._inputElement.style.width=this.getInnerWidth()+"px"},_syncFieldHeight:function(){if(this._inputTag!==$[89]){this._inputElement.style.height=Math.max(0,this.getInnerHeight()-2)+"px"}},_applyCursor:function(b,a){if(this._inputElement!=null){this._renderCursor()}},_renderCursor:function(){var a=this._inputElement.style;var b=this.getCursor();if(b){if(b===$[133]&&org.eclipse.rwt.Client.isMshtml()){a.cursor="hand"}else{a.cursor=b}}else{a.cursor=""}},_applyTextAlign:function(b,a){if(this._inputElement){this._renderTextAlign()}},_renderTextAlign:function(){this._inputElement.style.textAlign=this.getTextAlign()||""},_applyEnabled:function(b,a){if(this._inputElement!=null){this._inputElement.disabled=b===false}return arguments.callee.base.call(this,b,a)},_applyValue:function(b,a){this._renderValue();this._detectSelectionChange()},_renderValue:function(){this._inValueProperty=true;var a=this.getValue();if(this._inputElement!=null){if(a===null){a=""}if(this._inputElement.value!==a){this._inputElement.value=a}}delete this._inValueProperty},_applyMaxLength:function(b,a){if(this._inputElement){this._inputElement.maxLength=b==null?"":b}},_applyReadOnly:function(b,a){if(this._inputElement){this._inputElement.readOnly=b}if(b){this.addState($[300])}else{this.removeState($[300])}},_applyTextColor:function(b,a){this._styleTextColor(b)},_styleTextColor:function(a){this.__textColor=a;this._renderTextColor()},_renderTextColor:function(){if(this._inputElement!=null){this._inputElement.style.color=this.__textColor||""}},_applyFont:function(b,a){this._styleFont(b);this._updateLineHeight()},_styleFont:function(a){this.__font=a;this._renderFont()},_renderFont:function(){if(this._inputElement!=null){if(this.__font!=null){this.__font.renderElement(this._inputElement)}else{qx.ui.core.Font.resetElement(this._inputElement)}}},_updateLineHeight:function(){if(this._inputElement!=null){var b=this.getFont();var a=Math.floor(b.getSize()*this._LINE_HEIGT_FACTOR);this._inputElement.style.lineHeight=a+"px"}},_applyTextShadow:function(b,a){this.__textShadow=b;if(this._inputElement){this._renderTextShadow()}},_renderTextShadow:function(){org.eclipse.rwt.HtmlUtil.setTextShadow(this._inputElement,this.__textShadow)},_visualizeFocus:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.blockFocus){try{this._inputElement.focus()}catch(a){}}},_visualizeBlur:function(){arguments.callee.base.call(this);try{this._inputElement.blur()}catch(a){}},_afterAppear:function(){arguments.callee.base.call(this);this._applyBrowserFixesOnAppear();this._centerFieldVertically();this._renderSelection()},_centerFieldVertically:function(){if(this._inputTag===$[89]&&this._inputElement){var c=this.getInnerHeight();var a=this._getInputElementHeight();if(a!==0){var b=(c-a)/2-1;if(b<0){b=0}b=Math.floor(b);this.setStyleProperty($[181],b+"px")}}},_getInputElementHeight:qx.core.Variant.select($[0],{mshtml:function(){var a=qx.html.Dimension.getBoxHeight(this._inputElement);if(a!==0){a-=2}return a},"default":function(){return qx.html.Dimension.getBoxHeight(this._inputElement)}}),_oninputDom:qx.core.Variant.select($[0],{mshtml:function(a){if(!this._inValueProperty&&a.propertyName==="value"){this._oninput()}},"default":function(a){this._oninput()}}),_oninput:function(){try{var b=this.getComputedValue().toString();var c=true;if(this.hasEventListeners($[89])){c=this.dispatchEvent(new qx.event.type.DataEvent($[89],this._typed),true)}if(c){this.setValue(b)}else{if(org.eclipse.rwt.Client.isWebkit()||org.eclipse.rwt.Client.isMshtml()){qx.client.Timer.once(this._renderSelection,this,0);this._selectionNeedsUpdate=true}}}catch(a){org.eclipse.rwt.ErrorHandler.processJavaScriptError(a)}},_ontabfocus:function(){this.selectAll()},_applyFocused:function(b,a){arguments.callee.base.call(this,b,a);if(!qx.event.handler.FocusHandler.mouseFocus){this._renderSelection()}},_onblur:function(){if(this.getParent()!=null){this._setSelectionLength(0)}},_onkeydown:function(a){if(a.getKeyIdentifier()==$[311]&&this.getReadOnly()){a.preventDefault()}this._detectSelectionChange();this._typed=null},_onkeypress:function(a){if(a.getKeyIdentifier()!=="Tab"){a.stopPropagation()}if(this._selectionNeedsUpdate){this._renderSelection()}this._detectSelectionChange();this._typed=String.fromCharCode(a.getCharCode())},_onkeyup:function(a){if(this._selectionNeedsUpdate){this._renderSelection()}this._detectSelectionChange();this._typed=null},_onMouseDownUp:function(a){this._detectSelectionChange();this._typed=null},_applyBrowserFixes:qx.core.Variant.select($[0],{"default":function(){},newmshtml:function(){this._checkTimer=new qx.client.Timer(0);this._checkTimer.addEventListener($[28],this._checkValueChanged,this);this.addEventListener($[4],this._checkTimer.start,this._checkTimer);this.addEventListener($[40],this._checkTimer.start,this._checkTimer);this.addEventListener($[34],this._checkValueChanged,this);this.addEventListener($[8],this._checkValueChanged,this);this.addEventListener("blur",this._checkValueChanged,this)}}),_checkValueChanged:function(){this._checkTimer.stop();var b=this.getComputedValue();var a=this.getValue();if(b!==a){this._oninput()}},_applyBrowserFixesOnAppear:qx.core.Variant.select($[0],{"default":function(){},mshtml:function(){if(this._firstInputFixApplied!==true&&this._inputElement){qx.client.Timer.once(this._ieFirstInputFix,this,1)}}}),_ieFirstInputFix:function(){if(!this.isDisposed()){this._inValueProperty=true;this._inputElement.value=this.getValue()===null?"":this.getValue().toString();this._renderSelection();this._firstInputFixApplied=true;delete this._inValueProperty}},_applyBrowserFixesOnCreate:qx.core.Variant.select($[0],{"default":function(){},webkit:function(){this.addEventListener($[10],this._preventEnter,this);this.addEventListener($[4],this._preventEnter,this);this.addEventListener($[40],this._preventEnter,this)}}),_preventEnter:function(a){if(a.getKeyIdentifier()===$[54]){a.preventDefault()}},isValidString:function(a){return typeof a===$[9]&&a!==""}}});
+qx.Class.define("qx.ui.form.Spinner",{extend:qx.ui.layout.HorizontalBoxLayout,construct:function(c,b,a){arguments.callee.base.call(this);if(org.eclipse.rwt.Client.isMshtml()){this.setStyleProperty($[165],"0px")}this._textfield=new org.eclipse.rwt.widgets.BasicText;this._textfield.setBorder(null);this._textfield.setWidth("1*");this._textfield.setAllowStretchY(true);this._textfield.setHeight(null);this._textfield.setVerticalAlign($[46]);this._textfield.setAppearance("spinner-text-field");this.add(this._textfield);this._buttonlayout=new qx.ui.layout.VerticalBoxLayout;this._buttonlayout.setWidth("auto");this.add(this._buttonlayout);this._upbutton=new qx.ui.form.Button;this._upbutton.setAppearance("spinner-button-up");this._upbutton.setTabIndex(null);this._upbutton.setHeight("1*");this._buttonlayout.add(this._upbutton);this._downbutton=new qx.ui.form.Button;this._downbutton.setAppearance("spinner-button-down");this._downbutton.setTabIndex(null);this._downbutton.setHeight("1*");this._buttonlayout.add(this._downbutton);this._timer=new qx.client.Timer(this.getInterval());this.setManager(new qx.util.range.Range());this.initWrap();this.addEventListener($[4],this._onkeypress,this);this.addEventListener($[10],this._onkeydown,this);this.addEventListener($[40],this._onkeyup,this);this.addEventListener($[47],this._onmousewheel,this);this._textfield.addEventListener($[109],this._ontextchange,this);this._textfield.addEventListener($[89],this._oninput,this);this._textfield.addEventListener("blur",this._onblur,this);this._upbutton.addEventListener($[1],this._onmousedown,this);this._downbutton.addEventListener($[1],this._onmousedown,this);this._timer.addEventListener($[26],this._oninterval,this);if(c!=null){this.setMin(c)}if(a!=null){this.setMax(a)}if(b!=null){this.setValue(b)}this._checkValue=this.__checkValue;this.initWidth();this.initHeight();this._last_value=""},events:{change:$[48]},properties:{appearance:{refine:true,init:"spinner"},width:{refine:true,init:60},height:{refine:true,init:22},incrementAmount:{check:$[59],init:1,apply:"_applyIncrementAmount"},wheelIncrementAmount:{check:$[59],init:1},pageIncrementAmount:{check:$[59],init:10},interval:{check:$[14],init:100},firstInterval:{check:$[14],init:500},minTimer:{check:$[14],init:20},timerDecrease:{check:$[14],init:2},amountGrowth:{check:$[59],init:1.01},wrap:{check:$[2],init:false,apply:$[350]},editable:{check:$[2],init:true,apply:"_applyEditable"},manager:{check:$[402],apply:$[504],dispose:true},checkValueFunction:{apply:"_applyCheckValueFunction"},selectTextOnInteract:{check:$[2],init:true}},members:{_applyIncrementAmount:function(b,a){this._computedIncrementAmount=b},_applyEditable:function(b,a){if(this._textfield){this._textfield.setReadOnly(!b)}},_applyWrap:function(b,a){this.getManager().setWrap(b);this._onchange()},_applyManager:function(b,a){if(a){a.removeEventListener($[67],this._onchange,this)}if(b){b.addEventListener($[67],this._onchange,this)}this._onchange()},_applyCheckValueFunction:function(b,a){this._checkValue=b},_computePreferredInnerWidth:function(){return 50},_computePreferredInnerHeight:function(){return 14},_onkeypress:function(b){var a=b.getKeyIdentifier();if(a==$[54]&&!b.isAltPressed()){this._checkValue(true,false);if(this.getSelectTextOnInteract()){this._textfield.selectAll()}}else{switch(a){case"Up":case"Down":case"Left":case $[39]:case"Shift":case $[239]:case"Alt":case $[103]:case"Delete":case $[311]:case"Insert":case"Home":case"End":case $[42]:case $[43]:case"NumLock":case"Tab":break;default:if((a>="0"&&a<="9")||(a=="-")){return}if(b.getModifiers()==0){b.preventDefault()}}}},_onkeydown:function(b){var a=b.getKeyIdentifier();if(this._intervalIncrease==null){switch(a){case"Up":case"Down":this._intervalIncrease=a=="Up";this._intervalMode="single";this._resetIncrements();this._checkValue(true,false);this._increment();this._timer.startWith(this.getFirstInterval());break;case $[42]:case $[43]:this._intervalIncrease=a==$[42];this._intervalMode="page";this._resetIncrements();this._checkValue(true,false);this._pageIncrement();this._timer.startWith(this.getFirstInterval());break}}},_onkeyup:function(a){if(this._intervalIncrease!=null){switch(a.getKeyIdentifier()){case"Up":case"Down":case $[42]:case $[43]:this._timer.stop();this._intervalIncrease=null;this._intervalMode=null}}},_onmousedown:function(b){if(!b.isLeftButtonPressed()){return}this._checkValue(true);var a=b.getCurrentTarget();a.addState($[11]);a.addEventListener($[5],this._onmouseup,this);a.addEventListener($[8],this._onmouseup,this);this._intervalIncrease=a==this._upbutton;this._resetIncrements();this._increment();if(this.getSelectTextOnInteract()){this._textfield.selectAll()}this._timer.setInterval(this.getFirstInterval());this._timer.start()},_onmouseup:function(b){var a=b.getCurrentTarget();a.removeState($[11]);a.removeEventListener($[5],this._onmouseup,this);a.removeEventListener($[8],this._onmouseup,this);if(this.getSelectTextOnInteract()){this._textfield.selectAll()}this._textfield.setFocused(true);this._timer.stop();this._intervalIncrease=null},_onmousewheel:function(b){this._checkValue(true);if(this.getManager().incrementValue){this.getManager().incrementValue(this.getWheelIncrementAmount()*b.getWheelDelta())}else{var a=this.getManager().getValue()+(this.getWheelIncrementAmount()*b.getWheelDelta());a=this.getManager().limit(a);this.getManager().setValue(a)}this._textfield.selectAll();b.preventDefault();b.stopPropagation()},_ontextchange:function(a){this._last_value=a.getOldValue()},_oninput:function(a){this._checkValue(true,true)},_onchange:function(b){var a=this.getManager().getValue();this._textfield.setValue(String(a));if(a==this.getMin()&&!this.getWrap()){this._downbutton.removeState($[11]);this._downbutton.setEnabled(false);this._timer.stop()}else{this._downbutton.resetEnabled()}if(a==this.getMax()&&!this.getWrap()){this._upbutton.removeState($[11]);this._upbutton.setEnabled(false);this._timer.stop()}else{this._upbutton.resetEnabled()}this.createDispatchDataEvent($[67],a)},_onblur:function(a){this._checkValue(false)},setValue:function(a){this.getManager().setValue(this.getManager().limit(a))},getValue:function(){this._checkValue(true);return this.getManager().getValue()},resetValue:function(){this.getManager().resetValue()},setMax:function(a){return this.getManager().setMax(a)},getMax:function(){return this.getManager().getMax()},setMin:function(a){return this.getManager().setMin(a)},getMin:function(){return this.getManager().getMin()},_intervalIncrease:null,_oninterval:function(b){this._timer.stop();this.setInterval(Math.max(this.getMinTimer(),this.getInterval()-this.getTimerDecrease()));if(this._intervalMode=="page"){this._pageIncrement()}else{if(this.getInterval()==this.getMinTimer()){this._computedIncrementAmount=this.getAmountGrowth()*this._computedIncrementAmount}this._increment()}var a=this.getManager().getWrap();switch(this._intervalIncrease){case true:if(this.getValue()==this.getMax()&&!a){return}case false:if(this.getValue()==this.getMin()&&!a){return}}this._timer.restartWith(this.getInterval())},__checkValue:function(i,c){var b=this._textfield.getInputElement();if(!b){return}if((b.value=="")||(b.value=="-")){if(!i){this.resetValue();return}}else{var h=b.value;var g;g=h;var d=parseFloat(g);var e=this.getManager().limit(d);var a=this.getManager().getValue();var j=e;if(isNaN(d)||(e!=d)||(d!=g)){if(c){this._textfield.setValue(this._last_value)}else{if(isNaN(e)){j=a}else{j=e}}}if(c){return}var f;f=String(j);if((j===a)&&(h!==f)){this._textfield.setValue(f)}this.getManager().setValue(j)}},_increment:function(){if(this.getManager().incrementValue){this.getManager().incrementValue((this._intervalIncrease?1:-1)*this._computedIncrementAmount)}else{var a=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this._computedIncrementAmount);a=this.getManager().limit(a);this.getManager().setValue(a)}},_pageIncrement:function(){if(this.getManager().pageIncrementValue){this.getManager().pageIncrementValue()}else{var a=this.getManager().getValue()+((this._intervalIncrease?1:-1)*this.getPageIncrementAmount());a=this.getManager().limit(a);this.getManager().setValue(a)}},_resetIncrements:function(){this._computedIncrementAmount=this.getIncrementAmount();this.resetInterval()}},destruct:function(){var a=this.getManager();if(a){a.dispose()}this._disposeObjects("_textfield","_buttonlayout","_upbutton","_downbutton","_timer")}});
+qx.Class.define($[434],{extend:qx.ui.basic.Terminator,construct:function(a){arguments.callee.base.call(this);if(a!=null){this.setValue(a)}this.initHideFocus();this.initWidth();this.initHeight();this.initTabIndex();this._selectionStart=0;this._selectionLength=0;this.__oninput=qx.lang.Function.bindEvent(this._oninputDom,this);this.addEventListener("blur",this._onblur);this.addEventListener($[10],this._onkeydown);this.addEventListener($[4],this._onkeypress);this.addEventListener($[40],this._onkeyup,this);this.addEventListener($[1],this._onMouseDownUp,this);this.addEventListener($[5],this._onMouseDownUp,this);this._updateLineHeight();this._typed=null;this._selectionNeedsUpdate=false;this._applyBrowserFixes();this._inputOverflow=$[13]},destruct:function(){if(this._inputElement!=null){if(org.eclipse.rwt.Client.isMshtml()){this._inputElement.onpropertychange=null}else{this._inputElement.removeEventListener($[89],this.__oninput,false)}}this._inputElement=null;this.__font=null;if(this._checkTimer){this._checkTimer.dispose();this._checkTimer=null}},events:{input:$[48]},properties:{allowStretchX:{refine:true,init:true},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:"text-field"},tabIndex:{refine:true,init:1},hideFocus:{refine:true,init:true},width:{refine:true,init:"auto"},height:{refine:true,init:"auto"},selectable:{refine:true,init:true},value:{init:"",nullable:true,event:$[109],apply:"_applyValue",dispose:true},textAlign:{check:["left",$[30],$[15],"justify"],nullable:true,themeable:true,apply:$[353]},maxLength:{check:$[14],apply:"_applyMaxLength",nullable:true},readOnly:{check:$[2],apply:"_applyReadOnly",init:false,event:"changeReadOnly"}},members:{_LINE_HEIGT_FACTOR:1.2,_inputTag:$[89],_inputType:"text",_inputElement:null,setSelection:function(a){this._selectionStart=a[0];this._selectionLength=a[1]-a[0];this._renderSelection()},getSelection:function(){return[this._selectionStart,this._selectionStart+this._selectionLength]},getComputedSelection:function(){var b=this._getSelectionStart();var a=this._getSelectionLength();return[b,b+a]},getComputedValue:function(){var a;if(this._inputElement!=null){a=this._inputElement.value}else{a=this.getValue()}return a},getInputElement:function(){return this._inputElement||null},_renderSelection:function(){if(this.isCreated()&&this.getFocused()){this._setSelectionStart(this._selectionStart);this._setSelectionLength(this._selectionLength);this._selectionNeedsUpdate=false}},_detectSelectionChange:function(){if(this._isCreated){var b=this._getSelectionStart();var a=this._getSelectionLength();if(typeof b===$[7]){b=0}if(typeof a===$[7]){a=0}if(this._selectionStart!==b||this._selectionLength!==a){this._handleSelectionChange(b,a)}}},_handleSelectionChange:function(b,a){this._selectionStart=b;this._selectionLength=a},_setSelectionStart:qx.core.Variant.select($[0],{mshtml:function(d){this._visualPropertyCheck();var c=this._inputElement.value;var b=0;while(b<d){b=c.indexOf("\r\n",b);if(b===-1){break}d--;b++}var a=this._inputElement.createTextRange();a.collapse();a.move("character",d);a.select()},gecko:function(b){this._visualPropertyCheck();try{this._inputElement.selectionStart=b}catch(a){}},"default":function(a){this._visualPropertyCheck();if(this._inputElement.selectionStart!==a){this._inputElement.selectionStart=a}}}),_getSelectionStart:qx.core.Variant.select($[0],{mshtml:function(){this._visualPropertyCheck();var d=window.document.selection.createRange();if(!this._inputElement.contains(d.parentElement())){return -1}var b=this._inputElement.createTextRange();var a=b.duplicate();a.moveToBookmark(d.getBookmark());b.setEndPoint("EndToStart",a);var c=d.text.replace(/[\r\n]/g,".");var e=this._inputElement.value.replace(/[\r\n]/g,".");return e.indexOf(c,b.text.length)},gecko:function(){this._visualPropertyCheck();var c=this._inputElement;var a;try{if(this.isValidString(c.value)){a=c.selectionStart}else{a=0}}catch(b){a=0}return a},"default":function(){this._visualPropertyCheck();return this._inputElement.selectionStart}}),_setSelectionLength:qx.core.Variant.select($[0],{mshtml:function(b){this._visualPropertyCheck();var a=window.document.selection.createRange();if(!this._inputElement.contains(a.parentElement())){return}a.collapse();a.moveEnd("character",b);a.select()},gecko:function(c){this._visualPropertyCheck();var b=this._inputElement;try{if(this.isValidString(b.value)){b.selectionEnd=b.selectionStart+c}}catch(a){}},"default":function(c){this._visualPropertyCheck();var b=this._inputElement;if(this.isValidString(b.value)){var a=b.selectionStart+c;if(b.selectionEnd!=a){b.selectionEnd=b.selectionStart+c}}}}),_getSelectionLength:qx.core.Variant.select($[0],{mshtml:function(){this._visualPropertyCheck();var a=window.document.selection.createRange();if(!this._inputElement.contains(a.parentElement())){return 0}return a.text.length},gecko:function(){this._visualPropertyCheck();var b=this._inputElement;try{return b.selectionEnd-b.selectionStart}catch(a){}},"default":function(){this._visualPropertyCheck();var a=this._inputElement;return a.selectionEnd-a.selectionStart}}),selectAll:function(){this._visualPropertyCheck();if(this.getValue()!=null){this._setSelectionStart(0);this._setSelectionLength(this._inputElement.value.length)}this._inputElement.select();if(this.isEnabled()&&this.isSeeable()){this._inputElement.focus()}this._detectSelectionChange()},_applyElement:function(c,b){arguments.callee.base.call(this,c,b);if(c){this._inputElement=document.createElement(this._inputTag);if(this._inputType){this._inputElement.type=this._inputType}this._inputElement.autoComplete="off";this._inputElement.setAttribute("autoComplete","off");this._inputElement.disabled=this.getEnabled()===false;this._inputElement.readOnly=this.getReadOnly();if(org.eclipse.rwt.Client.isMshtml()){if(this.getValue()!=null&&this.getValue()!==""){this._inputElement.value=this.getValue()}else{this._inputElement.value=" "}}else{this._inputElement.value=this.getValue()!=null?this.getValue().toString():""}if(this.getMaxLength()!=null){this._inputElement.maxLength=this.getMaxLength()}var a=this._inputElement.style;a.padding=0;a.margin=0;a.border="0 none";a.background=$[82];a.overflow=this._inputOverflow;a.outline="none";a.resize="none";a.WebkitAppearance="none";a.MozAppearance="none";this._renderFont();this._renderTextColor();this._renderTextAlign();this._renderCursor();this._renderTextShadow();this._textInit();this._getTargetNode().appendChild(this._inputElement);this._updateLineHeight()}},_textInit:qx.core.Variant.select($[0],{"default":function(){this._inputElement.style.margin="1px 0 1px -1px";this._inputElement.addEventListener($[89],this.__oninput,false);this._applyBrowserFixesOnCreate()},mshtml:function(){this._inputElement.onpropertychange=this.__oninput}}),_postApply:function(){this._syncFieldWidth();this._syncFieldHeight()},_changeInnerWidth:function(b,a){this._syncFieldWidth()},_changeInnerHeight:function(b,a){this._syncFieldHeight();this._centerFieldVertically()},_syncFieldWidth:function(){this._inputElement.style.width=this.getInnerWidth()+"px"},_syncFieldHeight:function(){if(this._inputTag!==$[89]){this._inputElement.style.height=Math.max(0,this.getInnerHeight()-2)+"px"}},_applyCursor:function(b,a){if(this._inputElement!=null){this._renderCursor()}},_renderCursor:function(){var a=this._inputElement.style;var b=this.getCursor();if(b){if(b===$[133]&&org.eclipse.rwt.Client.isMshtml()){a.cursor="hand"}else{a.cursor=b}}else{a.cursor=""}},_applyTextAlign:function(b,a){if(this._inputElement){this._renderTextAlign()}},_renderTextAlign:function(){this._inputElement.style.textAlign=this.getTextAlign()||""},_applyEnabled:function(b,a){if(this._inputElement!=null){this._inputElement.disabled=b===false}return arguments.callee.base.call(this,b,a)},_applyValue:function(b,a){this._renderValue();this._detectSelectionChange()},_renderValue:function(){this._inValueProperty=true;var a=this.getValue();if(this._inputElement!=null){if(a===null){a=""}if(this._inputElement.value!==a){this._inputElement.value=a}}delete this._inValueProperty},_applyMaxLength:function(b,a){if(this._inputElement){this._inputElement.maxLength=b==null?"":b}},_applyReadOnly:function(b,a){if(this._inputElement){this._inputElement.readOnly=b}if(b){this.addState($[300])}else{this.removeState($[300])}},_applyTextColor:function(b,a){this._styleTextColor(b)},_styleTextColor:function(a){this.__textColor=a;this._renderTextColor()},_renderTextColor:function(){if(this._inputElement!=null){this._inputElement.style.color=this.__textColor||""}},_applyFont:function(b,a){this._styleFont(b);this._updateLineHeight()},_styleFont:function(a){this.__font=a;this._renderFont()},_renderFont:function(){if(this._inputElement!=null){if(this.__font!=null){this.__font.renderElement(this._inputElement)}else{qx.ui.core.Font.resetElement(this._inputElement)}}},_updateLineHeight:function(){if(this._inputElement!=null){var b=this.getFont();var a=Math.floor(b.getSize()*this._LINE_HEIGT_FACTOR);this._inputElement.style.lineHeight=a+"px"}},_applyTextShadow:function(b,a){this.__textShadow=b;if(this._inputElement){this._renderTextShadow()}},_renderTextShadow:function(){org.eclipse.rwt.HtmlUtil.setTextShadow(this._inputElement,this.__textShadow)},_visualizeFocus:function(){arguments.callee.base.call(this);if(!qx.event.handler.FocusHandler.blockFocus){try{this._inputElement.focus()}catch(a){}}},_visualizeBlur:function(){arguments.callee.base.call(this);try{this._inputElement.blur()}catch(a){}},_afterAppear:function(){arguments.callee.base.call(this);this._applyBrowserFixesOnAppear();this._centerFieldVertically();this._renderSelection()},_centerFieldVertically:function(){if(this._inputTag===$[89]&&this._inputElement){var c=this.getInnerHeight();var a=this._getInputElementHeight();if(a!==0){var b=(c-a)/2-1;if(b<0){b=0}b=Math.floor(b);this.setStyleProperty($[181],b+"px")}}},_getInputElementHeight:qx.core.Variant.select($[0],{mshtml:function(){var a=qx.html.Dimension.getBoxHeight(this._inputElement);if(a!==0){a-=2}return a},"default":function(){return qx.html.Dimension.getBoxHeight(this._inputElement)}}),_oninputDom:qx.core.Variant.select($[0],{mshtml:function(a){if(!this._inValueProperty&&a.propertyName==="value"){this._oninput()}},"default":function(a){this._oninput()}}),_oninput:function(){try{var b=this.getComputedValue().toString();var c=true;if(this.hasEventListeners($[89])){c=this.dispatchEvent(new qx.event.type.DataEvent($[89],this._typed),true)}if(c){this.setValue(b)}else{if(org.eclipse.rwt.Client.isWebkit()||org.eclipse.rwt.Client.isMshtml()){qx.client.Timer.once(this._renderSelection,this,0);this._selectionNeedsUpdate=true}}}catch(a){org.eclipse.rwt.ErrorHandler.processJavaScriptError(a)}},_ontabfocus:function(){this.selectAll()},_applyFocused:function(b,a){arguments.callee.base.call(this,b,a);if(!qx.event.handler.FocusHandler.mouseFocus){this._renderSelection()}},_onblur:function(){if(this.getParent()!=null){this._setSelectionLength(0)}},_onkeydown:function(a){if(a.getKeyIdentifier()==$[311]&&this.getReadOnly()){a.preventDefault()}this._detectSelectionChange();this._typed=null},_onkeypress:function(a){if(a.getKeyIdentifier()!=="Tab"){a.stopPropagation()}if(this._selectionNeedsUpdate){this._renderSelection()}this._detectSelectionChange();this._typed=String.fromCharCode(a.getCharCode())},_onkeyup:function(a){if(this._selectionNeedsUpdate){this._renderSelection()}this._detectSelectionChange();this._typed=null},_onMouseDownUp:function(a){this._detectSelectionChange();this._typed=null},_applyBrowserFixes:qx.core.Variant.select($[0],{"default":function(){},newmshtml:function(){this._checkTimer=new qx.client.Timer(0);this._checkTimer.addEventListener($[26],this._checkValueChanged,this);this.addEventListener($[4],this._checkTimer.start,this._checkTimer);this.addEventListener($[40],this._checkTimer.start,this._checkTimer);this.addEventListener($[34],this._checkValueChanged,this);this.addEventListener($[8],this._checkValueChanged,this);this.addEventListener("blur",this._checkValueChanged,this)}}),_checkValueChanged:function(){this._checkTimer.stop();var b=this.getComputedValue();var a=this.getValue();if(b!==a){this._oninput()}},_applyBrowserFixesOnAppear:qx.core.Variant.select($[0],{"default":function(){},mshtml:function(){if(this._firstInputFixApplied!==true&&this._inputElement){qx.client.Timer.once(this._ieFirstInputFix,this,1)}}}),_ieFirstInputFix:function(){if(!this.isDisposed()){this._inValueProperty=true;this._inputElement.value=this.getValue()===null?"":this.getValue().toString();this._renderSelection();this._firstInputFixApplied=true;delete this._inValueProperty}},_applyBrowserFixesOnCreate:qx.core.Variant.select($[0],{"default":function(){},webkit:function(){this.addEventListener($[10],this._preventEnter,this);this.addEventListener($[4],this._preventEnter,this);this.addEventListener($[40],this._preventEnter,this)}}),_preventEnter:function(a){if(a.getKeyIdentifier()===$[54]){a.preventDefault()}},isValidString:function(a){return typeof a===$[9]&&a!==""}}});
 qx.Class.define("qx.ui.layout.VerticalBoxLayout",{extend:qx.ui.layout.BoxLayout,properties:{orientation:{refine:true,init:$[32]}}});
 qx.Class.define($[346],{extend:qx.ui.basic.Atom,construct:function(e,d,c,a,b){arguments.callee.base.call(this,e,d,c,a,b);this.initTabIndex();this.addEventListener($[6],this._onmouseover);this.addEventListener($[8],this._onmouseout);this.addEventListener($[1],this._onmousedown);this.addEventListener($[5],this._onmouseup);this.addEventListener($[10],this._onkeydown);this.addEventListener($[40],this._onkeyup)},properties:{appearance:{refine:true,init:"button"},tabIndex:{refine:true,init:1}},members:{_onmouseover:function(a){if(a.getTarget()!=this){return}if(this.hasState($[33])){this.removeState($[33]);this.addState($[11])}this.addState("over")},_onmouseout:function(a){if(a.getTarget()!=this){return}this.removeState("over");if(this.hasState($[11])){this.setCapture(true);this.removeState($[11]);this.addState($[33])}},_onmousedown:function(a){if(a.getTarget()!=this||!a.isLeftButtonPressed()){return}this.removeState($[33]);this.addState($[11])},_onmouseup:function(b){this.setCapture(false);var a=this.hasState($[11]);var c=this.hasState($[33]);if(a){this.removeState($[11])}if(c){this.removeState($[33])}if(!c){this.addState("over");if(a){this.execute()}}},_onkeydown:function(a){switch(a.getKeyIdentifier()){case $[54]:case $[83]:this.removeState($[33]);this.addState($[11]);a.stopPropagation()}},_onkeyup:function(a){switch(a.getKeyIdentifier()){case $[54]:case $[83]:if(this.hasState($[11])){this.removeState($[33]);this.removeState($[11]);this.execute();a.stopPropagation()}}}}});
 qx.Class.define($[402],{extend:qx.core.Target,events:{change:$[3]},properties:{value:{check:"!isNaN(value)&&value>=this.getMin()&&value<=this.getMax()",nullable:true,event:$[67],init:0},precision:{check:$[14],nullable:true,event:$[67],init:0},min:{check:$[59],apply:"_applyMin",event:$[67],init:0},max:{check:$[59],apply:"_applyMax",event:$[67],init:100},wrap:{check:$[2],init:false}},members:{_applyMax:function(b,a){this.setValue(Math.min(this.getValue(),b))},_applyMin:function(b,a){this.setValue(Math.max(this.getValue(),b))},limit:function(c){var a=this.getPrecision();if(a!=null){var b=Math.pow(10,a)}if(this.getWrap()){if(a!=null){var c=Math.round(c*b)/b}if(c<this.getMin()){return(this.getMax()-(this.getMin()-c))+1}if(c>this.getMax()){return(this.getMin()+(c-this.getMax()))-1}}if(c<this.getMin()){return this.getMin()}if(c>this.getMax()){return this.getMax()}if(a!=null){return Math.round(c*b)/b}else{return c}}}});
@@ -104,23 +104,23 @@
 qx.Class.define($[288],{type:$[37],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this)},members:{update:function(c){if(!(c instanceof qx.ui.core.Widget)){c=null}var a,b;var d=this.getAll();for(b in d){a=d[b];if(!a.getAutoHide()||c==a||a.contains(c)){continue}if(qx.Class.isDefined($[240])&&c instanceof qx.ui.popup.ToolTip&&!(a instanceof qx.ui.popup.ToolTip)){continue}a.hide()}}}});
 qx.Class.define("qx.ui.selection.SelectionManager",{extend:qx.core.Target,construct:function(a){arguments.callee.base.call(this);this._selectedItems=new qx.ui.selection.Selection(this);if(a!=null){this.setBoundedWidget(a)}},events:{changeSelection:$[48]},properties:{boundedWidget:{check:$[124],nullable:true},multiSelection:{check:$[2],init:true},dragSelection:{check:$[2],init:true},canDeselect:{check:$[2],init:true},fireChange:{check:$[2],init:true},anchorItem:{check:$[106],nullable:true,apply:"_applyAnchorItem",event:"changeAnchorItem"},leadItem:{check:$[106],nullable:true,apply:"_applyLeadItem",event:$[316]},multiColumnSupport:{check:$[2],init:false}},members:{_applyAnchorItem:function(b,a){if(a){this.renderItemAnchorState(a,false)}if(b){this.renderItemAnchorState(b,true)}},_applyLeadItem:function(b,a){if(a){this.renderItemLeadState(a,false)}if(b){this.renderItemLeadState(b,true)}},_getFirst:function(){return this.getBoundedWidget().getFirstVisibleChild()},_getLast:function(){return this.getBoundedWidget().getLastVisibleChild()},getFirst:function(){var a=this._getFirst();if(a){return a.getEnabled()?a:this.getNext(a)}},getLast:function(){var a=this._getLast();if(a){return a.getEnabled()?a:this.getPrevious(a)}},getItems:function(){return this.getBoundedWidget().getChildren()},getNextSibling:function(a){return a.getNextSibling()},getPreviousSibling:function(a){return a.getPreviousSibling()},getNext:function(a){while(a){a=this.getNextSibling(a);if(!a){break}if(this.getItemEnabled(a)){return a}}return null},getPrevious:function(a){while(a){a=this.getPreviousSibling(a);if(!a){break}if(this.getItemEnabled(a)){return a}}return null},isBefore:function(b,a){var c=this.getItems();return c.indexOf(b)<c.indexOf(a)},isEqual:function(b,a){return b==a},getItemHashCode:function(a){return a.toHashCode()},scrollItemIntoView:function(b,a){b.scrollIntoView(a)},getItemLeft:function(a){return a.getOffsetLeft()},getItemTop:function(a){return a.getOffsetTop()},getItemWidth:function(a){return a.getOffsetWidth()},getItemHeight:function(a){return a.getOffsetHeight()},getItemEnabled:function(a){return a.getEnabled()},renderItemSelectionState:function(b,a){a?b.addState($[29]):b.removeState($[29]);if(b.handleStateChange){b.handleStateChange()}},renderItemAnchorState:function(a,b){b?a.addState("anchor"):a.removeState("anchor");if(a.handleStateChange!=null){a.handleStateChange()}},renderItemLeadState:function(b,a){a?b.addState("lead"):b.removeState("lead");if(b.handleStateChange!=null){b.handleStateChange()}},getItemSelected:function(a){return this._selectedItems.contains(a)},setItemSelected:function(d,c){switch(this.getMultiSelection()){case true:if(!this.getItemEnabled(d)){return}if(this.getItemSelected(d)==c){return}this.renderItemSelectionState(d,c);c?this._selectedItems.add(d):this._selectedItems.remove(d);this._dispatchChange();break;case false:var b=this.getSelectedItems()[0];if(c){var a=b;if(this.isEqual(d,a)){return}if(a!=null){this.renderItemSelectionState(a,false)}this.renderItemSelectionState(d,true);this._selectedItems.removeAll();this._selectedItems.add(d);this._dispatchChange()}else{if(!this.isEqual(b,d)){this.renderItemSelectionState(d,false);this._dispatchChange()}}break}},getSelectedItems:function(){return this._selectedItems.toArray()},getSelectedItem:function(){return this._selectedItems.getFirst()},setSelectedItems:function(c){var b=this._getChangeValue();var a=this.getFireChange();this.setFireChange(false);this._deselectAll();var e;var f=c.length;for(var d=0;d<f;d++){e=c[d];if(!this.getItemEnabled(e)){continue}this._selectedItems.add(e);this.renderItemSelectionState(e,true)}this.setFireChange(a);if(a&&this._hasChanged(b)){this._dispatchChange()}},setSelectedItem:function(c){if(!c){return}if(!this.getItemEnabled(c)){return}var b=this._getChangeValue();var a=this.getFireChange();this.setFireChange(false);this._deselectAll();this._selectedItems.add(c);this.renderItemSelectionState(c,true);this.setFireChange(a);if(a&&this._hasChanged(b)){this._dispatchChange()}},selectAll:function(){var b=this._getChangeValue();var a=this.getFireChange();this.setFireChange(false);this._selectAll();this.setFireChange(a);if(a&&this._hasChanged(b)){this._dispatchChange()}},_selectAll:function(){if(!this.getMultiSelection()){return}var c;var a=this.getItems();var d=a.length;this._selectedItems.removeAll();for(var b=0;b<d;b++){c=a[b];if(!this.getItemEnabled(c)){continue}this._selectedItems.add(c);this.renderItemSelectionState(c,true)}return true},deselectAll:function(){var b=this._getChangeValue();var a=this.getFireChange();this.setFireChange(false);this._deselectAll();this.setFireChange(a);if(a&&this._hasChanged(b)){this._dispatchChange()}},_deselectAll:function(){var a=this._selectedItems.toArray();for(var b=0;b<a.length;b++){this.renderItemSelectionState(a[b],false)}this._selectedItems.removeAll();return true},selectItemRange:function(d,b){var c=this._getChangeValue();var a=this.getFireChange();this.setFireChange(false);this._selectItemRange(d,b,true);this.setFireChange(a);if(a&&this._hasChanged(c)){this._dispatchChange()}},_selectItemRange:function(b,a,c){if(this.isBefore(a,b)){return this._selectItemRange(a,b,c)}if(c){this._deselectAll()}var d=b;while(d!=null){if(this.getItemEnabled(d)){this._selectedItems.add(d);this.renderItemSelectionState(d,true)}if(this.isEqual(d,a)){break}d=this.getNext(d)}return true},_deselectItemRange:function(b,a){if(this.isBefore(a,b)){return this._deselectItemRange(a,b)}var c=b;while(c!=null){this._selectedItems.remove(c);this.renderItemSelectionState(c,false);if(this.isEqual(c,a)){break}c=this.getNext(c)}},_activeDragSession:false,handleMouseDown:function(a,b){b.stopPropagation();if(!b.isLeftButtonPressed()&&!b.isRightButtonPressed()){return}if(b.isRightButtonPressed()&&this.getItemSelected(a)){return}if(b.isShiftPressed()||this.getDragSelection()||(!this.getItemSelected(a)&&!b.isCtrlPressed())){this._onmouseevent(a,b)}else{this.setLeadItem(a)}this._activeDragSession=this.getDragSelection();if(this._activeDragSession){this.getBoundedWidget().addEventListener($[5],this._ondragup,this);this.getBoundedWidget().setCapture(true)}},_ondragup:function(a){this.getBoundedWidget().removeEventListener($[5],this._ondragup,this);this.getBoundedWidget().setCapture(false);this._activeDragSession=false},handleMouseUp:function(a,b){if(!b.isLeftButtonPressed()){return}if(b.isCtrlPressed()||this.getItemSelected(a)&&!this._activeDragSession){this._onmouseevent(a,b)}if(this._activeDragSession){this._activeDragSession=false;this.getBoundedWidget().setCapture(false)}},handleMouseOver:function(b,a){if(!this.getDragSelection()||!this._activeDragSession){return}this._onmouseevent(b,a,true)},handleClick:function(a,b){},handleDblClick:function(a,b){},_onmouseevent:function(h,g,d){if(!this.getItemEnabled(h)){return}var k=this._getChangeValue();var j=this.getLeadItem();var a=this.getFireChange();this.setFireChange(false);var c=this.getSelectedItems();var b=c.length;this.setLeadItem(h);var l=this.getAnchorItem();var i=g.isCtrlPressed();var f=g.isShiftPressed();if(!l||b==0||(i&&!f&&this.getMultiSelection()&&!this.getDragSelection())){this.setAnchorItem(h);l=h}if((!i&&!f&&!this._activeDragSession||!this.getMultiSelection())){if(!this.getItemEnabled(h)){return}this._deselectAll();this.setAnchorItem(h);if(this._activeDragSession){this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop(h)-1)?this.getPrevious(h):this.getNext(h))||h)}if(!this.getItemSelected(h)){this.renderItemSelectionState(h,true)}this._selectedItems.add(h);this._addToCurrentSelection=true}else{if(this._activeDragSession&&d){if(j){this._deselectItemRange(l,j)}if(this.isBefore(l,h)){if(this._addToCurrentSelection){this._selectItemRange(l,h,false)}else{this._deselectItemRange(l,h)}}else{if(this._addToCurrentSelection){this._selectItemRange(h,l,false)}else{this._deselectItemRange(h,l)}}this.scrollItemIntoView((this.getBoundedWidget().getScrollTop()>(this.getItemTop(h)-1)?this.getPrevious(h):this.getNext(h))||h)}else{if(this.getMultiSelection()&&i&&!f){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected(h))}this.setItemSelected(h,this._addToCurrentSelection);this.setAnchorItem(h)}else{if(this.getMultiSelection()&&i&&f){if(!this._activeDragSession){this._addToCurrentSelection=!(this.getCanDeselect()&&this.getItemSelected(h))}if(this._addToCurrentSelection){this._selectItemRange(l,h,false)}else{this._deselectItemRange(l,h)}}else{if(this.getMultiSelection()&&!i&&f){if(this.getCanDeselect()){this._selectItemRange(l,h,true)}else{if(j){this._deselectItemRange(l,j)}this._selectItemRange(l,h,false)}}}}}}this.setFireChange(a);if(a&&this._hasChanged(k)){this._dispatchChange()}},handleKeyPress:function(d){var c=this._getChangeValue();var a=this.getFireChange();this.setFireChange(false);if(d.getKeyIdentifier()=="A"&&d.isCtrlPressed()){if(this.getMultiSelection()){this._selectAll();this.setLeadItem(this.getFirst())}}else{var b=this.getAnchorItem();var e=this.getItemToSelect(d);if(e&&this.getItemEnabled(e)){this.setLeadItem(e);this.scrollItemIntoView(e);d.preventDefault();if(d.isShiftPressed()&&this.getMultiSelection()){if(b==null){this.setAnchorItem(e)}this._selectItemRange(this.getAnchorItem(),e,true)}else{if(!d.isCtrlPressed()){this._deselectAll();this.renderItemSelectionState(e,true);this._selectedItems.add(e);this.setAnchorItem(e)}else{if(d.getKeyIdentifier()==$[83]){if(this._selectedItems.contains(e)){this.renderItemSelectionState(e,false);this._selectedItems.remove(e);this.setAnchorItem(this._selectedItems.getFirst())}else{if(!d.isCtrlPressed()||!this.getMultiSelection()){this._deselectAll()}this.renderItemSelectionState(e,true);this._selectedItems.add(e);this.setAnchorItem(e)}}}}}}this.setFireChange(a);if(a&&this._hasChanged(c)){this._dispatchChange()}},getItemToSelect:function(a){if(a.isAltPressed()){return null}switch(a.getKeyIdentifier()){case"Home":return this.getHome(this.getLeadItem());case"End":return this.getEnd(this.getLeadItem());case"Down":return this.getDown(this.getLeadItem());case"Up":return this.getUp(this.getLeadItem());case"Left":return this.getLeft(this.getLeadItem());case $[39]:return this.getRight(this.getLeadItem());case $[42]:return this.getPageUp(this.getLeadItem())||this.getHome(this.getLeadItem());case $[43]:return this.getPageDown(this.getLeadItem())||this.getEnd(this.getLeadItem());case $[83]:if(a.isCtrlPressed()){return this.getLeadItem()}}return null},_dispatchChange:function(){if(!this.getFireChange()){return}if(this.hasEventListeners($[255])){this.dispatchEvent(new qx.event.type.DataEvent($[255],this.getSelectedItems()),true)}},_hasChanged:function(a){return a!=this._getChangeValue()},_getChangeValue:function(){return this._selectedItems.getChangeValue()},getHome:function(){return this.getFirst()},getEnd:function(){return this.getLast()},getDown:function(a){if(!a){return this.getFirst()}return this.getMultiColumnSupport()?(this.getUnder(a)||this.getLast()):this.getNext(a)},getUp:function(a){if(!a){return this.getLast()}return this.getMultiColumnSupport()?(this.getAbove(a)||this.getFirst()):this.getPrevious(a)},getLeft:function(a){if(!this.getMultiColumnSupport()){return null}return !a?this.getLast():this.getPrevious(a)},getRight:function(a){if(!this.getMultiColumnSupport()){return null}return !a?this.getFirst():this.getNext(a)},getAbove:function(a){throw new Error("getAbove(): Not implemented yet")},getUnder:function(a){throw new Error("getUnder(): Not implemented yet")},getPageUp:function(e){var c=this.getLeadItem();if(!c){c=this.getFirst()}var b=this.getBoundedWidget();if(b.isCreated()){var a=b.getScrollTop();var f=b.getClientHeight();var d=0;while(d<2){while(c&&(this.getItemTop(c)-this.getItemHeight(c)>=a)){c=this.getUp(c)}if(c==null){break}if(c!=this.getLeadItem()){this.scrollItemIntoView(c,true);break}b.setScrollTop(a-f-this.getItemHeight(c));a=b.getScrollTop();d++}}return c},getPageDown:function(e){var c=this.getLeadItem();if(!c){c=this.getFirst()}var b=this.getBoundedWidget();if(b.isCreated()){var a=b.getScrollTop();var f=b.getClientHeight();var d=0;while(d<2){while(c&&((this.getItemTop(c)+(2*this.getItemHeight(c)))<=(a+f))){c=this.getDown(c)}if(c==null){break}if(c!=this.getLeadItem()){break}b.setScrollTop(a+f-2*this.getItemHeight(c));a=b.getScrollTop();d++}}return c}},destruct:function(){this._disposeObjects("_selectedItems")}});
 qx.Class.define("qx.ui.selection.Selection",{extend:qx.core.Object,construct:function(a){arguments.callee.base.call(this);this.__manager=a;this.removeAll()},members:{add:function(a){this.__storage[this.getItemHashCode(a)]=a},remove:function(a){delete this.__storage[this.getItemHashCode(a)]},removeAll:function(){this.__storage={}},contains:function(a){return this.getItemHashCode(a) in this.__storage},toArray:function(){var b=[];for(var a in this.__storage){b.push(this.__storage[a])}return b},getFirst:function(){for(var a in this.__storage){return this.__storage[a]}return null},getChangeValue:function(){var b=[];for(var a in this.__storage){b.push(a)}b.sort();return b.join(";")},getItemHashCode:function(a){return this.__manager.getItemHashCode(a)},isEmpty:function(){return qx.lang.Object.isEmpty(this.__storage)}},destruct:function(){this._disposeFields("__storage","__manager")}});
-qx.Class.define("org.eclipse.swt.widgets.AbstractSlider",{extend:qx.ui.layout.CanvasLayout,construct:function(a){arguments.callee.base.call(this);this.setOverflow($[13]);this._horizontal=a;this._selection=0;this._minimum=0;this._maximum=100;this._increment=1;this._pageIncrement=10;this._thumbLength=10;this._pxStep=1.38;this._thumbDragOffset=0;this._autoRepeat="";this._mouseOffset=0;this._delayTimer=new qx.client.Timer(250);this._repeatTimer=new qx.client.Timer(100);this._thumb=new org.eclipse.rwt.widgets.BasicButton("push",true);this._minButton=new org.eclipse.rwt.widgets.BasicButton("push",true);this._maxButton=new org.eclipse.rwt.widgets.BasicButton("push",true);this.add(this._thumb);this.add(this._minButton);this.add(this._maxButton);this._configureSubwidgets();this._configureAppearance();this._setStates();this._registerListeners()},destruct:function(){this._delayTimer.stop();this._delayTimer.dispose();this._delayTimer=null;this._repeatTimer.stop();this._repeatTimer.dispose();this._repeatTimer=null;this._thumb=null;this._minButton=null;this._maxButton=null},members:{_setSelection:function(b){var a=this._limitSelection(b);if(a!==this._selection){this._selection=a;this._selectionChanged()}},_setMinimum:function(a){this._minimum=a;this._updateThumbSize()},_setMaximum:function(a){this._maximum=a;this._updateThumbSize()},_setIncrement:function(a){this._increment=a},_setPageIncrement:function(a){this._pageIncrement=a},_setThumb:function(a){this._thumbLength=a;this._updateThumbSize()},_registerListeners:function(){this._repeatTimer.addEventListener($[28],this._onRepeatTimerInterval,this);this._delayTimer.addEventListener($[28],this._repeatTimerStart,this);this.addEventListener($[63],this._onChangeSize,this);this.addEventListener($[71],this._onChangeSize,this);this.addEventListener($[180],this._onChangeEnabled,this);this.addEventListener($[1],this._onMouseDown,this);this.addEventListener($[5],this._onMouseUp,this);this.addEventListener($[8],this._onMouseOut,this);this.addEventListener($[6],this._onMouseOver,this);this.addEventListener($[34],this._onMouseMove,this);this.addEventListener($[47],this._onMouseWheel,this);this._thumb.addEventListener($[1],this._onThumbMouseDown,this);this._thumb.addEventListener($[34],this._onThumbMouseMove,this);this._thumb.addEventListener($[5],this._onThumbMouseUp,this);this._minButton.addEventListener($[1],this._onMinButtonMouseEvent,this);this._maxButton.addEventListener($[1],this._onMaxButtonMouseEvent,this);this._minButton.addEventListener($[164],this._onMinButtonMouseEvent,this);this._maxButton.addEventListener($[164],this._onMaxButtonMouseEvent,this)},_selectionChanged:function(){this._updateThumbPosition();if(this._autoRepeat!==""&&!this._repeatTimer.isEnabled()){this._delayTimer.start()}},_onChangeSize:function(a){this._updateThumbSize()},_onChangeEnabled:function(a){this._thumb.setVisibility(a.getValue())},_onMouseWheel:function(a){if(a.getTarget()===this){a.preventDefault();a.stopPropagation();var c=a.getWheelDelta();var d=(c/Math.abs(c))*this._increment;var b=this._selection-d;if(b<this._minimum){b=this._minimum}if(b>(this._maximum-this._thumbWidth)){b=this._maximum-this._thumbWidth}this._setSelection(b)}},_onMouseDown:function(a){if(a.isLeftButtonPressed()){this._mouseOffset=this._getMouseOffset(a);this._handleLineMouseDown()}},_onMouseUp:function(a){this.setCapture(false);this._autoRepeat="";this._delayTimer.stop();this._repeatTimer.stop()},_onMouseOver:function(a){var b=a.getOriginalTarget();if(b===this&&this._autoRepeat.slice(0,4)==="line"){this.setCapture(false);this._repeatTimerStart()}},_onMouseOut:function(b){var c=b.getRelatedTarget();var a=c!==this&&!this.contains(c);if(a&&this._autoRepeat.slice(0,4)==="line"){this.setCapture(true);this._delayTimer.stop();this._repeatTimer.stop()}},_onMouseMove:function(a){this._mouseOffset=this._getMouseOffset(a)},_onMinButtonMouseEvent:function(a){a.stopPropagation();if(this._minButton.hasState($[11])){this._autoRepeat="minButton";this._setSelection(this._selection-this._increment)}else{this._autoRepeat=""}},_onMaxButtonMouseEvent:function(a){a.stopPropagation();if(this._maxButton.hasState($[11])){this._autoRepeat="maxButton";this._setSelection(this._selection+this._increment)}else{this._autoRepeat=""}},_onThumbMouseDown:function(b){b.stopPropagation();this._thumb.addState($[11]);if(b.isLeftButtonPressed()){var a=this._getMouseOffset(b);this._thumbDragOffset=a-this._getThumbPosition();this._thumb.setCapture(true)}},_onThumbMouseMove:function(c){c.stopPropagation();if(this._thumb.getCapture()){var b=this._getMouseOffset(c);var a=this._getSelectionFromPosition(b-this._thumbDragOffset);this._setSelection(a)}},_onThumbMouseUp:function(a){if(this._thumb.hasState($[11])){a.stopPropagation();this._repeatTimer.stop();this._thumb.setCapture(false);this._thumb.removeState($[11])}},_configureSubwidgets:function(){if(this._horizontal){this._thumb.setHeight("100%");this._minButton.setHeight("100%");this._maxButton.setHeight("100%");this._maxButton.setRight(0)}else{this._thumb.setWidth("100%");this._minButton.setWidth("100%");this._maxButton.setWidth("100%");this._maxButton.setBottom(0)}org.eclipse.swt.WidgetUtil.fixIEBoxHeight(this._thumb);org.eclipse.swt.WidgetUtil.fixIEBoxHeight(this._minButton);org.eclipse.swt.WidgetUtil.fixIEBoxHeight(this._maxButton);this._minButton.setTabIndex(null);this._maxButton.setTabIndex(null);this._thumb.setTabIndex(null)},_setStates:function(){var a=this._horizontal?$[429]:$[220];var b=this._horizontal?$[41]:$[32];this.addState(a);this._minButton.addState(a);this._minButton.addState(b);this._maxButton.addState(a);this._maxButton.addState(b);this._thumb.addState(a);this._renderAppearance();this._minButton._renderAppearance();this._maxButton._renderAppearance();this._thumb._renderAppearance()},_visualizeFocus:function(){arguments.callee.base.call(this);this._thumb.addState($[75])},_visualizeBlur:function(){arguments.callee.base.call(this);this._thumb.removeState($[75])},_repeatTimerStart:function(){this._delayTimer.stop();if(this._autoRepeat!==""){this._repeatTimer.start()}},_onRepeatTimerInterval:function(a){switch(this._autoRepeat){case"minButton":this._setSelection(this._selection-this._increment);break;case"maxButton":this._setSelection(this._selection+this._increment);break;case"linePlus":case"lineMinus":this._handleLineMouseDown();break}},_handleLineMouseDown:function(){var e;var b=this._getThumbSize()/2;var c=this._getThumbPosition()+b;var a;if(this._mouseOffset>c){a=this._selection+this._pageIncrement;e="linePlus"}else{e="lineMinus";a=this._selection-this._pageIncrement}if(this._autoRepeat===""||this._autoRepeat===e){this._autoRepeat=e;var d=this._pageIncrement*this._pxStep+b;this._setSelection(a)}},_updateThumbPosition:function(){var a=this._getMinButtonWidth();a+=this._pxStep*(this._selection-this._minimum);if(this._horizontal){this._thumb.setLeft(a)}else{this._thumb.setTop(a)}},_updateThumbSize:function(){var a=this._thumbLength*this._getLineSize()/(this._maximum-this._minimum);a=Math.round(a);if(this._horizontal){this._thumb.setWidth(a)}else{this._thumb.setHeight(a)}this._updateStepsize()},_updateStepsize:function(){var a=this._maximum-this._minimum-this._thumbLength;if(a!==0){var b=this._getLineSize()-this._getThumbSize();this._pxStep=b/a}else{this._pxStep=0}this._selection=this._limitSelection(this._selection);this._updateThumbPosition()},_getSelectionFromPosition:function(a){var b=this._getMinButtonWidth();var c=(a-b)/this._pxStep+this._minimum;return this._limitSelection(Math.round(c))},_limitSelection:function(b){var a=b;if(b>=(this._maximum-this._thumbLength)){a=this._maximum-this._thumbLength}if(a<=this._minimum){a=this._minimum}return a},_getMouseOffset:function(c){var b=qx.bom.element.Location;var a;if(this._horizontal){a=c.getPageX()-b.getLeft(this.getElement())}else{a=c.getPageY()-b.getTop(this.getElement())}return a},_getThumbPosition:function(){var a;if(this._horizontal){a=this._thumb.getLeft()}else{a=this._thumb.getTop()}return a},_getThumbSize:function(){var a;if(this._horizontal){a=this._thumb.getWidth()}else{a=this._thumb.getHeight()}return a},_getLineSize:function(){var b=this._getMinButtonWidth()+this._getMaxButtonWidth();var a=this._getSliderSize()-this.getFrameWidth()-b;return a},_getSliderSize:function(){var a;if(this._horizontal){a=this.getWidth()}else{a=this.getHeight()}return a},_getMinButtonWidth:function(){var a;if(this._horizontal){a=this._minButton.getWidth()}else{a=this._minButton.getHeight()}return a},_getMaxButtonWidth:function(){var a;if(this._horizontal){a=this._maxButton.getWidth()}else{a=this._maxButton.getHeight()}return a}}});
-qx.Class.define("org.eclipse.rwt.widgets.ScrollBar",{extend:org.eclipse.swt.widgets.AbstractSlider,construct:function(a){arguments.callee.base.call(this,a);this._idealValue=0;this._selectionFactor=1;this._lastDispatchedValue=0;this._mergeEvents=false;this._renderSum=0;this._renderSamples=0;this._eventTimerId=null;this._setMinimum(0);this._minThumbSize=this._getMinThumbSize();this.setIncrement(20);this.addEventListener($[16],this._stopEvent,this);this.addEventListener($[51],this._stopEvent,this);this._eventTimer=null},destruct:function(){if(this._eventTimer!=null){this._eventTimer.dispose();this._eventTimer=null}},statics:{MERGE_THRESHOLD:4},events:{changeValue:$[3]},members:{_configureAppearance:function(){this.setAppearance("scrollbar");this._thumb.setAppearance($[188]);this._minButton.setAppearance("scrollbar-min-button");this._maxButton.setAppearance("scrollbar-max-button")},setValue:function(a){this._idealValue=a;this._setSelection(a*this._selectionFactor)},getValue:function(a){return Math.round(this._selection/this._selectionFactor)},setMaximum:function(a){this._setMaximum(a);if(this._idealValue!==null){this._setSelection(this._idealValue)}this._updateThumbLength()},getMaximum:function(){return this._maximum},setIncrement:function(a){this._setIncrement(a);this._updatePageIncrement()},setMergeEvents:function(a){if(!a&&this._mergeEvents){throw new Error("mergeEvents can not be set to false")}else{if(a){this._mergeEvents=true;this._eventTimer=new qx.client.Timer(125);this._eventTimer.addEventListener($[28],this._dispatchValueChanged,this)}}},getMergeEvents:function(){return this._mergeEvents},autoEnableMerge:function(c){if(!this._mergeEvents&&c>0){this._renderSamples++;this._renderSum+=c;var b=this._renderSum/this._renderSamples;var a=false;if(this._renderSamples>2){a=b>200}else{a=c>1000}if(a){this.setMergeEvents(true)}}},_onChangeSize:function(){arguments.callee.base.call(this);this._updateThumbLength();this._updatePageIncrement();if(this._idealValue!==null){this._setSelection(this._idealValue)}},_updateThumbSize:function(){arguments.callee.base.call(this);var a=this._getThumbSize();if(a<this._minThumbSize){this.addToQueue($[398])}else{this._selectionFactor=1}if(this._horizontal){var b=this._thumb.getCellWidth(1);var d=a>=(b+6);this._thumb.setCellVisible(1,d)}else{var c=this._thumb.getCellHeight(1);var d=a>=(c+6);this._thumb.setCellVisible(1,d)}},_layoutPost:function(b){arguments.callee.base.call(this,b);if(b[$[398]]){if(this._maximum>0&&this._getLineSize()>0){var a=this._getThumbSize();if(a<this._minThumbSize){var d=this._getSliderSize();var c=this._minThumbSize*this._maximum/this._getLineSize();this._setThumb(c);if(this._maximum===d){this._selectionFactor=1}else{this._selectionFactor=(this._maximum-c)/(this._maximum-d)}}}}},_setSelection:function(a){if(a!==this._idealValue){this._idealValue=null}arguments.callee.base.call(this,a)},_selectionChanged:function(){arguments.callee.base.call(this);if(this._getMergeCurrentEvent()){this._eventTimer.stop();this._eventTimer.start()}else{this._dispatchValueChanged()}},_getMinThumbSize:function(){var a=new org.eclipse.swt.theme.ThemeValues(this.__states);return a.getCssDimension("ScrollBar-Thumb","min-height")},_updateThumbLength:function(){this._setThumb(this._getSliderSize())},_updatePageIncrement:function(){this._setPageIncrement(this._getSliderSize()-this._increment)},_stopEvent:function(a){a.stopPropagation();a.preventDefault()},_getMergeCurrentEvent:function(){var a=false;if(this._mergeEvents){var b=org.eclipse.rwt.widgets.ScrollBar.MERGE_THRESHOLD;var c=Math.abs(this._lastDispatchedValue-this._selection);if(c>=this._increment*b){a=true}}return a},_dispatchValueChanged:function(){if(this._mergeEvents){this._eventTimer.stop()}this._lastDispatchedValue=this._selection;this.createDispatchEvent($[109])},_updateStepsize:function(){var a=this._selection;arguments.callee.base.call(this);if(a!==this._selection){this._dispatchValueChanged()}}}});
-qx.Class.define("qx.io.image.PreloaderSystem",{extend:qx.core.Target,construct:function(c,b,a){arguments.callee.base.call(this);if(c instanceof Array){this._list=qx.lang.Object.fromArray(c)}else{this._list=c}this._timer=new qx.client.Timer(3000);this._timer.addEventListener($[28],this.__oninterval,this);if(b){this.addEventListener($[26],b,a||null)}},events:{completed:$[3]},members:{_stopped:false,start:function(){if(qx.lang.Object.isEmpty(this._list)){this.createDispatchEvent($[26]);return}for(var a in this._list){var b=qx.io.image.PreloaderManager.getInstance().create(qx.io.Alias.getInstance().resolve(a));if(b.isErroneous()||b.isLoaded()){delete this._list[a]}else{b._origSource=a;b.addEventListener("load",this.__onload,this);b.addEventListener($[140],this.__onerror,this)}}this._check()},__onload:function(a){if(this.getDisposed()){return}delete this._list[a.getTarget()._origSource];this._check()},__onerror:function(a){if(this.getDisposed()){return}delete this._list[a.getTarget()._origSource];this._check()},__oninterval:function(a){this._stopped=true;this._timer.stop();this.createDispatchEvent($[26])},_check:function(){if(this._stopped){return}if(qx.lang.Object.isEmpty(this._list)){this._timer.stop();this.createDispatchEvent($[26])}else{this._timer.restart()}}},destruct:function(){if(this._timer){this._timer.removeEventListener($[28],this.__oninterval,this);this._disposeObjects("_timer")}this._disposeFields("_list")}});
-qx.Class.define("qx.io.remote.RequestQueue",{type:$[37],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._queue=[];this._active=[];this._totalRequests=0;this._timer=new qx.client.Timer(500);this._timer.addEventListener($[28],this._oninterval,this)},properties:{enabled:{init:true,check:$[2],apply:$[334]},maxTotalRequests:{check:$[14],nullable:true},maxConcurrentRequests:{check:$[14],init:3},defaultTimeout:{check:$[14],init:5000}},members:{_debug:function(){},_check:function(){this._debug();if(this._active.length==0&&this._queue.length==0){this._timer.stop()}if(!this.getEnabled()){return}if(this._active.length>=this.getMaxConcurrentRequests()||this._queue.length==0){return}if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return}var c=this._queue.shift();var e=new qx.io.remote.Exchange(c);this._totalRequests++;this._active.push(e);this._debug();e.addEventListener($[52],this._onsending,this);e.addEventListener($[56],this._onreceiving,this);e.addEventListener($[26],this._oncompleted,this);e.addEventListener($[55],this._oncompleted,this);e.addEventListener($[53],this._oncompleted,this);e.addEventListener($[38],this._oncompleted,this);var d=true;try{d=e.send()}catch(a){d=a}if(d!==true){var b=new qx.io.remote.Response($[38]);b.setContent(d);e.dispatchEvent(b)}else{e._start=(new Date()).valueOf()}if(this._queue.length>0){this._check()}},_remove:function(a){qx.lang.Array.remove(this._active,a);this._check()},_activeCount:0,_onsending:function(b){var a=b.getTarget();a.getRequest()._onsending(b)},_onreceiving:function(a){a.getTarget().getRequest()._onreceiving(a)},_oncompleted:function(c){var b=c.getTarget();this._remove(b);var a=b.getRequest();if(a["_on"+c.getType()]){a["_on"+c.getType()](c)}b.dispose()},_oninterval:function(g){var j=this._active;if(j.length==0){this._timer.stop();return}var f;var d;var a=this.getDefaultTimeout();var b;var h;for(var c=j.length-1;c>=0;c--){f=j[c];d=f.getRequest();if(d.isAsynchronous()){b=d.getTimeout();if(b==0||f._start==null){continue}if(b==null){b=a}h=(new Date).valueOf()-f._start;if(h>b){f.timeout()}}}},_applyEnabled:function(b,a){if(b){this._check()}this._timer.setEnabled(b)},add:function(a){a.setState($[167]);this._queue.push(a);this._check();if(this.getEnabled()){this._timer.start()}},abort:function(a){var b=a.getTransport();if(b){b.abort()}else{if(qx.lang.Array.contains(this._queue,a)){qx.lang.Array.remove(this._queue,a)}}}},destruct:function(){this._disposeObjectDeep("_active",1);this._disposeObjects("_timer");this._disposeFields("_queue")}});
-qx.Class.define($[387],{extend:qx.core.Target,construct:function(a){arguments.callee.base.call(this);this.setRequest(a);a.setTransport(this)},events:{sending:$[3],receiving:$[3],completed:$[119],aborted:$[119],failed:$[119],timeout:$[119]},statics:{typesOrder:[$[290],"qx.io.remote.IframeTransport","qx.io.remote.ScriptTransport"],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function(b,a){qx.io.remote.Exchange.typesAvailable[a]=b},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return}for(var a in qx.io.remote.Exchange.typesAvailable){var b=qx.io.remote.Exchange.typesAvailable[a];if(b.isSupported()){qx.io.remote.Exchange.typesSupported[a]=b}}qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!")}},canHandle:function(a,b,c){if(!qx.lang.Array.contains(a.handles.responseTypes,c)){return false}for(var d in b){if(!a.handles[d]){return false}}return true},_nativeMap:{0:$[152],1:$[95],2:$[52],3:$[56],4:$[26]},wasSuccessful:function(c,a,b){if(b){switch(c){case null:case 0:return true;case -1:return a<4;default:return typeof c===$[7]}}else{switch(c){case -1:return a<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:return a!==4;case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:return false;case 12002:case 12007:case 12029:case 12030:case 12031:case 12152:case 13030:return false;default:if(c>206&&c<300){return true}return false}}},statusCodeToString:function(a){switch(a){case -1:return"Not available";case 200:return"Ok";case 304:return"Not modified";case 206:return"Partial content";case 204:return"No content";case 300:return"Multiple choices";case 301:return"Moved permanently";case 302:return"Moved temporarily";case 303:return"See other";case 305:return"Use proxy";case 400:return"Bad request";case 401:return"Unauthorized";case 402:return"Payment required";case 403:return"Forbidden";case 404:return"Not found";case 405:return"Method not allowed";case 406:return"Not acceptable";case 407:return"Proxy authentication required";case 408:return"Request time-out";case 409:return"Conflict";case 410:return"Gone";case 411:return"Length required";case 412:return"Precondition failed";case 413:return"Request entity too large";case 414:return"Request-URL too large";case 415:return"Unsupported media type";case 500:return"Server error";case 501:return"Not implemented";case 502:return"Bad gateway";case 503:return"Out of resources";case 504:return"Gateway time-out";case 505:return"HTTP version not supported";case 12002:return"Server timeout";case 12007:return"Internet name not resolved";case 12029:return $[285];case 12030:return $[285];case 12031:return $[285];case 12152:return"Connection closed by server";case 13030:return"MSHTML-specific HTTP status code";default:return"Unknown status code"}}},properties:{request:{check:$[462],nullable:true},implementation:{check:$[461],nullable:true,apply:"_applyImplementation"},state:{check:[$[95],$[52],$[56],$[26],$[55],$[53],$[38]],init:$[95],event:$[328],apply:$[359]}},members:{send:function(){var m=this.getRequest();if(!m){throw new Error("Please attach a request object first")}qx.io.remote.Exchange.initTypes();var f=qx.io.remote.Exchange.typesOrder;var k=qx.io.remote.Exchange.typesSupported;var c=m.getResponseType();var a={};if(m.getAsynchronous()){a.asynchronous=true}else{a.synchronous=true}if(m.getCrossDomain()){a.crossDomain=true}if(m.getFileUpload()){a.fileUpload=true}for(var h in m.getFormFields()){a.programaticFormFields=true;break}var g,j;for(var d=0,b=f.length;d<b;d++){g=k[f[d]];if(g){if(!qx.io.remote.Exchange.canHandle(g,a,c)){continue}try{j=new g;this.setImplementation(j);j.setUseBasicHttpAuth(m.getUseBasicHttpAuth());j.send();return true}catch(e){throw new Error("Request handler throws error "+e)}}}throw new Error("There is no transport implementation available to handle this request: "+m)},abort:function(){var a=this.getImplementation();if(a){a.abort()}else{this.setState($[55])}},timeout:function(){var a=this.getImplementation();if(a){a.timeout()}else{this.setState($[53])}if(this.getRequest()){this.getRequest().setTimeout(0)}},_onsending:function(a){this.setState($[52])},_onreceiving:function(a){this.setState($[56])},_oncompleted:function(a){this.setState($[26])},_onabort:function(a){this.setState($[55])},_onfailed:function(a){this.setState($[38])},_ontimeout:function(a){this.setState($[53])},_applyImplementation:function(c,a){if(a){a.removeEventListener($[52],this._onsending,this);a.removeEventListener($[56],this._onreceiving,this);a.removeEventListener($[26],this._oncompleted,this);a.removeEventListener($[55],this._onabort,this);a.removeEventListener($[53],this._ontimeout,this);a.removeEventListener($[38],this._onfailed,this)}if(c){var b=this.getRequest();c.setUrl(b.getUrl());c.setMethod(b.getMethod());c.setAsynchronous(b.getAsynchronous());c.setUsername(b.getUsername());c.setPassword(b.getPassword());c.setParameters(b.getParameters());c.setFormFields(b.getFormFields());c.setRequestHeaders(b.getRequestHeaders());c.setData(b.getData());c.setResponseType(b.getResponseType());c.addEventListener($[52],this._onsending,this);c.addEventListener($[56],this._onreceiving,this);c.addEventListener($[26],this._oncompleted,this);c.addEventListener($[55],this._onabort,this);c.addEventListener($[53],this._ontimeout,this);c.addEventListener($[38],this._onfailed,this)}},_applyState:function(e,b){switch(e){case $[52]:case $[56]:this.createDispatchEvent(e);break;case $[26]:case $[55]:case $[53]:case $[38]:var d=this.getImplementation();if(!d){break}if(this.hasEventListeners(e)){var a=new qx.io.remote.Response(e);if(e==$[26]){var c=d.getResponseContent();a.setContent(c);if(c===null){e=$[38]}}a.setStatusCode(d.getStatusCode());a.setResponseHeaders(d.getResponseHeaders());this.dispatchEvent(a)}this.setImplementation(null);d.dispose();break}}},destruct:function(){var a=this.getImplementation();if(a){this.setImplementation(null);a.dispose()}this.setRequest(null)}});
+qx.Class.define("org.eclipse.swt.widgets.AbstractSlider",{extend:qx.ui.layout.CanvasLayout,construct:function(a){arguments.callee.base.call(this);this.setOverflow($[13]);this._horizontal=a;this._selection=0;this._minimum=0;this._maximum=100;this._increment=1;this._pageIncrement=10;this._thumbLength=10;this._pxStep=1.38;this._thumbDragOffset=0;this._autoRepeat="";this._mouseOffset=0;this._delayTimer=new qx.client.Timer(250);this._repeatTimer=new qx.client.Timer(100);this._thumb=new org.eclipse.rwt.widgets.BasicButton("push",true);this._minButton=new org.eclipse.rwt.widgets.BasicButton("push",true);this._maxButton=new org.eclipse.rwt.widgets.BasicButton("push",true);this.add(this._thumb);this.add(this._minButton);this.add(this._maxButton);this._configureSubwidgets();this._configureAppearance();this._setStates();this._registerListeners()},destruct:function(){this._delayTimer.stop();this._delayTimer.dispose();this._delayTimer=null;this._repeatTimer.stop();this._repeatTimer.dispose();this._repeatTimer=null;this._thumb=null;this._minButton=null;this._maxButton=null},members:{_setSelection:function(b){var a=this._limitSelection(b);if(a!==this._selection){this._selection=a;this._selectionChanged()}},_setMinimum:function(a){this._minimum=a;this._updateThumbSize()},_setMaximum:function(a){this._maximum=a;this._updateThumbSize()},_setIncrement:function(a){this._increment=a},_setPageIncrement:function(a){this._pageIncrement=a},_setThumb:function(a){this._thumbLength=a;this._updateThumbSize()},_registerListeners:function(){this._repeatTimer.addEventListener($[26],this._onRepeatTimerInterval,this);this._delayTimer.addEventListener($[26],this._repeatTimerStart,this);this.addEventListener($[63],this._onChangeSize,this);this.addEventListener($[71],this._onChangeSize,this);this.addEventListener($[180],this._onChangeEnabled,this);this.addEventListener($[1],this._onMouseDown,this);this.addEventListener($[5],this._onMouseUp,this);this.addEventListener($[8],this._onMouseOut,this);this.addEventListener($[6],this._onMouseOver,this);this.addEventListener($[34],this._onMouseMove,this);this.addEventListener($[47],this._onMouseWheel,this);this._thumb.addEventListener($[1],this._onThumbMouseDown,this);this._thumb.addEventListener($[34],this._onThumbMouseMove,this);this._thumb.addEventListener($[5],this._onThumbMouseUp,this);this._minButton.addEventListener($[1],this._onMinButtonMouseEvent,this);this._maxButton.addEventListener($[1],this._onMaxButtonMouseEvent,this);this._minButton.addEventListener($[164],this._onMinButtonMouseEvent,this);this._maxButton.addEventListener($[164],this._onMaxButtonMouseEvent,this)},_selectionChanged:function(){this._updateThumbPosition();if(this._autoRepeat!==""&&!this._repeatTimer.isEnabled()){this._delayTimer.start()}},_onChangeSize:function(a){this._updateThumbSize()},_onChangeEnabled:function(a){this._thumb.setVisibility(a.getValue())},_onMouseWheel:function(a){if(a.getTarget()===this){a.preventDefault();a.stopPropagation();var c=a.getWheelDelta();var d=(c/Math.abs(c))*this._increment;var b=this._selection-d;if(b<this._minimum){b=this._minimum}if(b>(this._maximum-this._thumbWidth)){b=this._maximum-this._thumbWidth}this._setSelection(b)}},_onMouseDown:function(a){if(a.isLeftButtonPressed()){this._mouseOffset=this._getMouseOffset(a);this._handleLineMouseDown()}},_onMouseUp:function(a){this.setCapture(false);this._autoRepeat="";this._delayTimer.stop();this._repeatTimer.stop()},_onMouseOver:function(a){var b=a.getOriginalTarget();if(b===this&&this._autoRepeat.slice(0,4)==="line"){this.setCapture(false);this._repeatTimerStart()}},_onMouseOut:function(b){var c=b.getRelatedTarget();var a=c!==this&&!this.contains(c);if(a&&this._autoRepeat.slice(0,4)==="line"){this.setCapture(true);this._delayTimer.stop();this._repeatTimer.stop()}},_onMouseMove:function(a){this._mouseOffset=this._getMouseOffset(a)},_onMinButtonMouseEvent:function(a){a.stopPropagation();if(this._minButton.hasState($[11])){this._autoRepeat="minButton";this._setSelection(this._selection-this._increment)}else{this._autoRepeat=""}},_onMaxButtonMouseEvent:function(a){a.stopPropagation();if(this._maxButton.hasState($[11])){this._autoRepeat="maxButton";this._setSelection(this._selection+this._increment)}else{this._autoRepeat=""}},_onThumbMouseDown:function(b){b.stopPropagation();this._thumb.addState($[11]);if(b.isLeftButtonPressed()){var a=this._getMouseOffset(b);this._thumbDragOffset=a-this._getThumbPosition();this._thumb.setCapture(true)}},_onThumbMouseMove:function(c){c.stopPropagation();if(this._thumb.getCapture()){var b=this._getMouseOffset(c);var a=this._getSelectionFromPosition(b-this._thumbDragOffset);this._setSelection(a)}},_onThumbMouseUp:function(a){if(this._thumb.hasState($[11])){a.stopPropagation();this._repeatTimer.stop();this._thumb.setCapture(false);this._thumb.removeState($[11])}},_configureSubwidgets:function(){if(this._horizontal){this._thumb.setHeight("100%");this._minButton.setHeight("100%");this._maxButton.setHeight("100%");this._maxButton.setRight(0)}else{this._thumb.setWidth("100%");this._minButton.setWidth("100%");this._maxButton.setWidth("100%");this._maxButton.setBottom(0)}org.eclipse.swt.WidgetUtil.fixIEBoxHeight(this._thumb);org.eclipse.swt.WidgetUtil.fixIEBoxHeight(this._minButton);org.eclipse.swt.WidgetUtil.fixIEBoxHeight(this._maxButton);this._minButton.setTabIndex(null);this._maxButton.setTabIndex(null);this._thumb.setTabIndex(null)},_setStates:function(){var a=this._horizontal?$[429]:$[220];var b=this._horizontal?$[41]:$[32];this.addState(a);this._minButton.addState(a);this._minButton.addState(b);this._maxButton.addState(a);this._maxButton.addState(b);this._thumb.addState(a);this._renderAppearance();this._minButton._renderAppearance();this._maxButton._renderAppearance();this._thumb._renderAppearance()},_visualizeFocus:function(){arguments.callee.base.call(this);this._thumb.addState($[75])},_visualizeBlur:function(){arguments.callee.base.call(this);this._thumb.removeState($[75])},_repeatTimerStart:function(){this._delayTimer.stop();if(this._autoRepeat!==""){this._repeatTimer.start()}},_onRepeatTimerInterval:function(a){switch(this._autoRepeat){case"minButton":this._setSelection(this._selection-this._increment);break;case"maxButton":this._setSelection(this._selection+this._increment);break;case"linePlus":case"lineMinus":this._handleLineMouseDown();break}},_handleLineMouseDown:function(){var e;var b=this._getThumbSize()/2;var c=this._getThumbPosition()+b;var a;if(this._mouseOffset>c){a=this._selection+this._pageIncrement;e="linePlus"}else{e="lineMinus";a=this._selection-this._pageIncrement}if(this._autoRepeat===""||this._autoRepeat===e){this._autoRepeat=e;var d=this._pageIncrement*this._pxStep+b;this._setSelection(a)}},_updateThumbPosition:function(){var a=this._getMinButtonWidth();a+=this._pxStep*(this._selection-this._minimum);if(this._horizontal){this._thumb.setLeft(a)}else{this._thumb.setTop(a)}},_updateThumbSize:function(){var a=this._thumbLength*this._getLineSize()/(this._maximum-this._minimum);a=Math.round(a);if(this._horizontal){this._thumb.setWidth(a)}else{this._thumb.setHeight(a)}this._updateStepsize()},_updateStepsize:function(){var a=this._maximum-this._minimum-this._thumbLength;if(a!==0){var b=this._getLineSize()-this._getThumbSize();this._pxStep=b/a}else{this._pxStep=0}this._selection=this._limitSelection(this._selection);this._updateThumbPosition()},_getSelectionFromPosition:function(a){var b=this._getMinButtonWidth();var c=(a-b)/this._pxStep+this._minimum;return this._limitSelection(Math.round(c))},_limitSelection:function(b){var a=b;if(b>=(this._maximum-this._thumbLength)){a=this._maximum-this._thumbLength}if(a<=this._minimum){a=this._minimum}return a},_getMouseOffset:function(c){var b=qx.bom.element.Location;var a;if(this._horizontal){a=c.getPageX()-b.getLeft(this.getElement())}else{a=c.getPageY()-b.getTop(this.getElement())}return a},_getThumbPosition:function(){var a;if(this._horizontal){a=this._thumb.getLeft()}else{a=this._thumb.getTop()}return a},_getThumbSize:function(){var a;if(this._horizontal){a=this._thumb.getWidth()}else{a=this._thumb.getHeight()}return a},_getLineSize:function(){var b=this._getMinButtonWidth()+this._getMaxButtonWidth();var a=this._getSliderSize()-this.getFrameWidth()-b;return a},_getSliderSize:function(){var a;if(this._horizontal){a=this.getWidth()}else{a=this.getHeight()}return a},_getMinButtonWidth:function(){var a;if(this._horizontal){a=this._minButton.getWidth()}else{a=this._minButton.getHeight()}return a},_getMaxButtonWidth:function(){var a;if(this._horizontal){a=this._maxButton.getWidth()}else{a=this._maxButton.getHeight()}return a}}});
+qx.Class.define("org.eclipse.rwt.widgets.ScrollBar",{extend:org.eclipse.swt.widgets.AbstractSlider,construct:function(a){arguments.callee.base.call(this,a);this._idealValue=0;this._selectionFactor=1;this._lastDispatchedValue=0;this._mergeEvents=false;this._renderSum=0;this._renderSamples=0;this._eventTimerId=null;this._setMinimum(0);this._minThumbSize=this._getMinThumbSize();this.setIncrement(20);this.addEventListener($[16],this._stopEvent,this);this.addEventListener($[51],this._stopEvent,this);this._eventTimer=null},destruct:function(){if(this._eventTimer!=null){this._eventTimer.dispose();this._eventTimer=null}},statics:{MERGE_THRESHOLD:4},events:{changeValue:$[3]},members:{_configureAppearance:function(){this.setAppearance("scrollbar");this._thumb.setAppearance($[188]);this._minButton.setAppearance("scrollbar-min-button");this._maxButton.setAppearance("scrollbar-max-button")},setValue:function(a){this._idealValue=a;this._setSelection(a*this._selectionFactor)},getValue:function(a){return Math.round(this._selection/this._selectionFactor)},setMaximum:function(a){this._setMaximum(a);if(this._idealValue!==null){this._setSelection(this._idealValue)}this._updateThumbLength()},getMaximum:function(){return this._maximum},setIncrement:function(a){this._setIncrement(a);this._updatePageIncrement()},setMergeEvents:function(a){if(!a&&this._mergeEvents){throw new Error("mergeEvents can not be set to false")}else{if(a){this._mergeEvents=true;this._eventTimer=new qx.client.Timer(125);this._eventTimer.addEventListener($[26],this._dispatchValueChanged,this)}}},getMergeEvents:function(){return this._mergeEvents},autoEnableMerge:function(c){if(!this._mergeEvents&&c>0){this._renderSamples++;this._renderSum+=c;var b=this._renderSum/this._renderSamples;var a=false;if(this._renderSamples>2){a=b>200}else{a=c>1000}if(a){this.setMergeEvents(true)}}},_onChangeSize:function(){arguments.callee.base.call(this);this._updateThumbLength();this._updatePageIncrement();if(this._idealValue!==null){this._setSelection(this._idealValue)}},_updateThumbSize:function(){arguments.callee.base.call(this);var a=this._getThumbSize();if(a<this._minThumbSize){this.addToQueue($[398])}else{this._selectionFactor=1}if(this._horizontal){var b=this._thumb.getCellWidth(1);var d=a>=(b+6);this._thumb.setCellVisible(1,d)}else{var c=this._thumb.getCellHeight(1);var d=a>=(c+6);this._thumb.setCellVisible(1,d)}},_layoutPost:function(b){arguments.callee.base.call(this,b);if(b[$[398]]){if(this._maximum>0&&this._getLineSize()>0){var a=this._getThumbSize();if(a<this._minThumbSize){var d=this._getSliderSize();var c=this._minThumbSize*this._maximum/this._getLineSize();this._setThumb(c);if(this._maximum===d){this._selectionFactor=1}else{this._selectionFactor=(this._maximum-c)/(this._maximum-d)}}}}},_setSelection:function(a){if(a!==this._idealValue){this._idealValue=null}arguments.callee.base.call(this,a)},_selectionChanged:function(){arguments.callee.base.call(this);if(this._getMergeCurrentEvent()){this._eventTimer.stop();this._eventTimer.start()}else{this._dispatchValueChanged()}},_getMinThumbSize:function(){var a=new org.eclipse.swt.theme.ThemeValues(this.__states);return a.getCssDimension("ScrollBar-Thumb","min-height")},_updateThumbLength:function(){this._setThumb(this._getSliderSize())},_updatePageIncrement:function(){this._setPageIncrement(this._getSliderSize()-this._increment)},_stopEvent:function(a){a.stopPropagation();a.preventDefault()},_getMergeCurrentEvent:function(){var a=false;if(this._mergeEvents){var b=org.eclipse.rwt.widgets.ScrollBar.MERGE_THRESHOLD;var c=Math.abs(this._lastDispatchedValue-this._selection);if(c>=this._increment*b){a=true}}return a},_dispatchValueChanged:function(){if(this._mergeEvents){this._eventTimer.stop()}this._lastDispatchedValue=this._selection;this.createDispatchEvent($[109])},_updateStepsize:function(){var a=this._selection;arguments.callee.base.call(this);if(a!==this._selection){this._dispatchValueChanged()}}}});
+qx.Class.define("qx.io.image.PreloaderSystem",{extend:qx.core.Target,construct:function(c,b,a){arguments.callee.base.call(this);if(c instanceof Array){this._list=qx.lang.Object.fromArray(c)}else{this._list=c}this._timer=new qx.client.Timer(3000);this._timer.addEventListener($[26],this.__oninterval,this);if(b){this.addEventListener($[27],b,a||null)}},events:{completed:$[3]},members:{_stopped:false,start:function(){if(qx.lang.Object.isEmpty(this._list)){this.createDispatchEvent($[27]);return}for(var a in this._list){var b=qx.io.image.PreloaderManager.getInstance().create(qx.io.Alias.getInstance().resolve(a));if(b.isErroneous()||b.isLoaded()){delete this._list[a]}else{b._origSource=a;b.addEventListener("load",this.__onload,this);b.addEventListener($[140],this.__onerror,this)}}this._check()},__onload:function(a){if(this.getDisposed()){return}delete this._list[a.getTarget()._origSource];this._check()},__onerror:function(a){if(this.getDisposed()){return}delete this._list[a.getTarget()._origSource];this._check()},__oninterval:function(a){this._stopped=true;this._timer.stop();this.createDispatchEvent($[27])},_check:function(){if(this._stopped){return}if(qx.lang.Object.isEmpty(this._list)){this._timer.stop();this.createDispatchEvent($[27])}else{this._timer.restart()}}},destruct:function(){if(this._timer){this._timer.removeEventListener($[26],this.__oninterval,this);this._disposeObjects("_timer")}this._disposeFields("_list")}});
+qx.Class.define("qx.io.remote.RequestQueue",{type:$[37],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._queue=[];this._active=[];this._totalRequests=0;this._timer=new qx.client.Timer(500);this._timer.addEventListener($[26],this._oninterval,this)},properties:{enabled:{init:true,check:$[2],apply:$[334]},maxTotalRequests:{check:$[14],nullable:true},maxConcurrentRequests:{check:$[14],init:3},defaultTimeout:{check:$[14],init:5000}},members:{_debug:function(){},_check:function(){this._debug();if(this._active.length==0&&this._queue.length==0){this._timer.stop()}if(!this.getEnabled()){return}if(this._active.length>=this.getMaxConcurrentRequests()||this._queue.length==0){return}if(this.getMaxTotalRequests()!=null&&this._totalRequests>=this.getMaxTotalRequests()){return}var c=this._queue.shift();var e=new qx.io.remote.Exchange(c);this._totalRequests++;this._active.push(e);this._debug();e.addEventListener($[52],this._onsending,this);e.addEventListener($[56],this._onreceiving,this);e.addEventListener($[27],this._oncompleted,this);e.addEventListener($[55],this._oncompleted,this);e.addEventListener($[53],this._oncompleted,this);e.addEventListener($[38],this._oncompleted,this);var d=true;try{d=e.send()}catch(a){d=a}if(d!==true){var b=new qx.io.remote.Response($[38]);b.setContent(d);e.dispatchEvent(b)}else{e._start=(new Date()).valueOf()}if(this._queue.length>0){this._check()}},_remove:function(a){qx.lang.Array.remove(this._active,a);this._check()},_activeCount:0,_onsending:function(b){var a=b.getTarget();a.getRequest()._onsending(b)},_onreceiving:function(a){a.getTarget().getRequest()._onreceiving(a)},_oncompleted:function(c){var b=c.getTarget();this._remove(b);var a=b.getRequest();if(a["_on"+c.getType()]){a["_on"+c.getType()](c)}b.dispose()},_oninterval:function(g){var j=this._active;if(j.length==0){this._timer.stop();return}var f;var d;var a=this.getDefaultTimeout();var b;var h;for(var c=j.length-1;c>=0;c--){f=j[c];d=f.getRequest();if(d.isAsynchronous()){b=d.getTimeout();if(b==0||f._start==null){continue}if(b==null){b=a}h=(new Date).valueOf()-f._start;if(h>b){f.timeout()}}}},_applyEnabled:function(b,a){if(b){this._check()}this._timer.setEnabled(b)},add:function(a){a.setState($[167]);this._queue.push(a);this._check();if(this.getEnabled()){this._timer.start()}},abort:function(a){var b=a.getTransport();if(b){b.abort()}else{if(qx.lang.Array.contains(this._queue,a)){qx.lang.Array.remove(this._queue,a)}}}},destruct:function(){this._disposeObjectDeep("_active",1);this._disposeObjects("_timer");this._disposeFields("_queue")}});
+qx.Class.define($[387],{extend:qx.core.Target,construct:function(a){arguments.callee.base.call(this);this.setRequest(a);a.setTransport(this)},events:{sending:$[3],receiving:$[3],completed:$[119],aborted:$[119],failed:$[119],timeout:$[119]},statics:{typesOrder:[$[290],"qx.io.remote.IframeTransport","qx.io.remote.ScriptTransport"],typesReady:false,typesAvailable:{},typesSupported:{},registerType:function(b,a){qx.io.remote.Exchange.typesAvailable[a]=b},initTypes:function(){if(qx.io.remote.Exchange.typesReady){return}for(var a in qx.io.remote.Exchange.typesAvailable){var b=qx.io.remote.Exchange.typesAvailable[a];if(b.isSupported()){qx.io.remote.Exchange.typesSupported[a]=b}}qx.io.remote.Exchange.typesReady=true;if(qx.lang.Object.isEmpty(qx.io.remote.Exchange.typesSupported)){throw new Error("No supported transport types were found!")}},canHandle:function(a,b,c){if(!qx.lang.Array.contains(a.handles.responseTypes,c)){return false}for(var d in b){if(!a.handles[d]){return false}}return true},_nativeMap:{0:$[152],1:$[95],2:$[52],3:$[56],4:$[27]},wasSuccessful:function(c,a,b){if(b){switch(c){case null:case 0:return true;case -1:return a<4;default:return typeof c===$[7]}}else{switch(c){case -1:return a<4;case 200:case 304:return true;case 201:case 202:case 203:case 204:case 205:return true;case 206:return a!==4;case 300:case 301:case 302:case 303:case 305:case 400:case 401:case 402:case 403:case 404:case 405:case 406:case 407:case 408:case 409:case 410:case 411:case 412:case 413:case 414:case 415:case 500:case 501:case 502:case 503:case 504:case 505:return false;case 12002:case 12007:case 12029:case 12030:case 12031:case 12152:case 13030:return false;default:if(c>206&&c<300){return true}return false}}},statusCodeToString:function(a){switch(a){case -1:return"Not available";case 200:return"Ok";case 304:return"Not modified";case 206:return"Partial content";case 204:return"No content";case 300:return"Multiple choices";case 301:return"Moved permanently";case 302:return"Moved temporarily";case 303:return"See other";case 305:return"Use proxy";case 400:return"Bad request";case 401:return"Unauthorized";case 402:return"Payment required";case 403:return"Forbidden";case 404:return"Not found";case 405:return"Method not allowed";case 406:return"Not acceptable";case 407:return"Proxy authentication required";case 408:return"Request time-out";case 409:return"Conflict";case 410:return"Gone";case 411:return"Length required";case 412:return"Precondition failed";case 413:return"Request entity too large";case 414:return"Request-URL too large";case 415:return"Unsupported media type";case 500:return"Server error";case 501:return"Not implemented";case 502:return"Bad gateway";case 503:return"Out of resources";case 504:return"Gateway time-out";case 505:return"HTTP version not supported";case 12002:return"Server timeout";case 12007:return"Internet name not resolved";case 12029:return $[285];case 12030:return $[285];case 12031:return $[285];case 12152:return"Connection closed by server";case 13030:return"MSHTML-specific HTTP status code";default:return"Unknown status code"}}},properties:{request:{check:$[462],nullable:true},implementation:{check:$[461],nullable:true,apply:"_applyImplementation"},state:{check:[$[95],$[52],$[56],$[27],$[55],$[53],$[38]],init:$[95],event:$[328],apply:$[359]}},members:{send:function(){var m=this.getRequest();if(!m){throw new Error("Please attach a request object first")}qx.io.remote.Exchange.initTypes();var f=qx.io.remote.Exchange.typesOrder;var k=qx.io.remote.Exchange.typesSupported;var c=m.getResponseType();var a={};if(m.getAsynchronous()){a.asynchronous=true}else{a.synchronous=true}if(m.getCrossDomain()){a.crossDomain=true}if(m.getFileUpload()){a.fileUpload=true}for(var h in m.getFormFields()){a.programaticFormFields=true;break}var g,j;for(var d=0,b=f.length;d<b;d++){g=k[f[d]];if(g){if(!qx.io.remote.Exchange.canHandle(g,a,c)){continue}try{j=new g;this.setImplementation(j);j.setUseBasicHttpAuth(m.getUseBasicHttpAuth());j.send();return true}catch(e){throw new Error("Request handler throws error "+e)}}}throw new Error("There is no transport implementation available to handle this request: "+m)},abort:function(){var a=this.getImplementation();if(a){a.abort()}else{this.setState($[55])}},timeout:function(){var a=this.getImplementation();if(a){a.timeout()}else{this.setState($[53])}if(this.getRequest()){this.getRequest().setTimeout(0)}},_onsending:function(a){this.setState($[52])},_onreceiving:function(a){this.setState($[56])},_oncompleted:function(a){this.setState($[27])},_onabort:function(a){this.setState($[55])},_onfailed:function(a){this.setState($[38])},_ontimeout:function(a){this.setState($[53])},_applyImplementation:function(c,a){if(a){a.removeEventListener($[52],this._onsending,this);a.removeEventListener($[56],this._onreceiving,this);a.removeEventListener($[27],this._oncompleted,this);a.removeEventListener($[55],this._onabort,this);a.removeEventListener($[53],this._ontimeout,this);a.removeEventListener($[38],this._onfailed,this)}if(c){var b=this.getRequest();c.setUrl(b.getUrl());c.setMethod(b.getMethod());c.setAsynchronous(b.getAsynchronous());c.setUsername(b.getUsername());c.setPassword(b.getPassword());c.setParameters(b.getParameters());c.setFormFields(b.getFormFields());c.setRequestHeaders(b.getRequestHeaders());c.setData(b.getData());c.setResponseType(b.getResponseType());c.addEventListener($[52],this._onsending,this);c.addEventListener($[56],this._onreceiving,this);c.addEventListener($[27],this._oncompleted,this);c.addEventListener($[55],this._onabort,this);c.addEventListener($[53],this._ontimeout,this);c.addEventListener($[38],this._onfailed,this)}},_applyState:function(e,b){switch(e){case $[52]:case $[56]:this.createDispatchEvent(e);break;case $[27]:case $[55]:case $[53]:case $[38]:var d=this.getImplementation();if(!d){break}if(this.hasEventListeners(e)){var a=new qx.io.remote.Response(e);if(e==$[27]){var c=d.getResponseContent();a.setContent(c);if(c===null){e=$[38]}}a.setStatusCode(d.getStatusCode());a.setResponseHeaders(d.getResponseHeaders());this.dispatchEvent(a)}this.setImplementation(null);d.dispose();break}}},destruct:function(){var a=this.getImplementation();if(a){this.setImplementation(null);a.dispose()}this.setRequest(null)}});
 qx.Class.define($[119],{extend:qx.event.type.Event,construct:function(a){arguments.callee.base.call(this,a)},properties:{state:{check:$[14],nullable:true},statusCode:{check:$[14],nullable:true},content:{nullable:true},responseHeaders:{check:$[106],nullable:true}},members:{getResponseHeader:function(a){var b=this.getResponseHeaders();if(b){return b[a]||null}return null},getData:function(){return this}}});
 qx.Class.define("qx.util.Mime",{statics:{JAVASCRIPT:$[282],JSON:"application/json",XML:"application/xml",TEXT:"text/plain",HTML:"text/html"}});
-qx.Class.define($[290],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);this._req=qx.io.remote.XmlHttpTransport.createRequestObject();this._req.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this)},events:{created:$[3],configured:$[3],sending:$[3],receiving:$[3],completed:$[3],aborted:$[3],failed:$[3],timeout:$[3]},statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},requestObjects:[],requestObjectCount:0,isSupported:function(){return qx.net.HttpRequest.create()!=null?true:false},createRequestObject:function(){return qx.net.HttpRequest.create()},__dummy:function(){}},members:{_localRequest:false,_lastReadyState:0,getRequest:function(){return this._req},send:function(){this._lastReadyState=0;var m=this.getRequest();var a=this.getMethod();var f=this.getAsynchronous();var b=this.getUrl();var h=(org.eclipse.rwt.Client.getRunsLocally()&&!(/^http(s){0,1}\:/.test(b)));this._localRequest=h;var k=this.getParameters();var e=[];for(var l in k){var j=k[l];if(j instanceof Array){for(var c=0;c<j.length;c++){e.push(encodeURIComponent(l)+"="+encodeURIComponent(j[c]))}}else{e.push(encodeURIComponent(l)+"="+encodeURIComponent(j))}}if(e.length>0){b+=(b.indexOf("?")>=0?"&":"?")+e.join("&")}var n=function(r){var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var o="";var y,w,u;var x,v,t,s;var q=0;do{y=r.charCodeAt(q++);w=r.charCodeAt(q++);u=r.charCodeAt(q++);x=y>>2;v=((y&3)<<4)|(w>>4);t=((w&15)<<2)|(u>>6);s=u&63;if(isNaN(w)){t=s=64}else{if(isNaN(u)){s=64}}o+=p.charAt(x)+p.charAt(v)+p.charAt(t)+p.charAt(s)}while(q<r.length);return o};m.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);if(this.getUsername()){if(this.getUseBasicHttpAuth()){m.open(a,b,f);m.setRequestHeader("Authorization","Basic "+n(this.getUsername()+":"+this.getPassword()))}else{m.open(a,b,f,this.getUsername(),this.getPassword())}}else{m.open(a,b,f)}if(!org.eclipse.rwt.Client.isWebkit()){m.setRequestHeader("Referer",window.location.href)}var d=this.getRequestHeaders();for(var l in d){m.setRequestHeader(l,d[l])}try{m.send(this.getData())}catch(g){if(h){this.failedLocally()}else{throw new Error("Failed to send data: "+g);this.failed()}return}if(!f){this._onreadystatechange()}},failedLocally:function(){if(this.getState()===$[38]){return}this.failed()},_onreadystatechange:function(b){switch(this.getState()){case $[26]:case $[55]:case $[38]:case $[53]:return}var a=this.getReadyState();if(a==4){if(!qx.io.remote.Exchange.wasSuccessful(this.getStatusCode(),a,this._localRequest)){return this.failed()}}while(this._lastReadyState<a){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState])}},getReadyState:function(){var a=null;try{a=this._req.readyState}catch(b){}return a},setRequestHeader:function(a,b){this._req.setRequestHeader(a,b)},getResponseHeader:function(a){var c=null;try{this.getRequest().getResponseHeader(a)||null}catch(b){}return c},getStringResponseHeaders:function(){var c=null;try{var b=this._req.getAllResponseHeaders();if(b){c=b}}catch(a){}return c},getResponseHeaders:function(){var e=this.getStringResponseHeaders();var a={};if(e){var c=e.split(/[\r\n]+/g);for(var d=0,b=c.length;d<b;d++){var f=c[d].match(/^([^:]+)\s*:\s*(.+)$/i);if(f){a[f[1]]=f[2]}}}return a},getStatusCode:function(){var b=-1;try{b=this.getRequest().status}catch(a){}return b},getStatusText:function(){var a="";try{a=this.getRequest().statusText}catch(b){}return a},getResponseText:function(){var d=null;var a=this.getStatusCode();var b=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful(a,b,this._localRequest)){try{d=this.getRequest().responseText}catch(c){}}return d},getResponseXml:function(){var d=null;var a=this.getStatusCode();var b=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful(a,b,this._localRequest)){try{d=this.getRequest().responseXML}catch(c){}}if(typeof d==$[19]&&d!=null){if(!d.documentElement){var e=String(this.getRequest().responseText).replace(/<\?xml[^\?]*\?>/,"");d.loadXML(e)}if(!d.documentElement){throw new Error("Missing Document Element!")}if(d.documentElement.tagName=="parseerror"){throw new Error("XML-File is not well-formed!")}}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]")}return d},getFetchedLength:function(){var a=this.getResponseText();return typeof a==$[9]?a.length:0},getResponseContent:function(){var a=null;if(this.getState()===$[26]){a=this.getResponseText()}return a},_applyState:function(b,a){switch(b){case $[152]:this.createDispatchEvent($[152]);break;case $[95]:this.createDispatchEvent($[95]);break;case $[52]:this.createDispatchEvent($[52]);break;case $[56]:this.createDispatchEvent($[56]);break;case $[26]:this.createDispatchEvent($[26]);break;case $[38]:this.createDispatchEvent($[38]);break;case $[55]:this.getRequest().abort();this.createDispatchEvent($[55]);break;case $[53]:this.getRequest().abort();this.createDispatchEvent($[53]);break}}},defer:function(b,a){qx.io.remote.Exchange.registerType(qx.io.remote.XmlHttpTransport,$[290])},destruct:function(){var a=this.getRequest();if(a){a.onreadystatechange=qx.io.remote.XmlHttpTransport.__dummy;switch(a.readyState){case 1:case 2:case 3:a.abort()}}this._disposeFields("_req")}});
+qx.Class.define($[290],{extend:qx.io.remote.AbstractRemoteTransport,construct:function(){arguments.callee.base.call(this);this._req=qx.io.remote.XmlHttpTransport.createRequestObject();this._req.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this)},events:{created:$[3],configured:$[3],sending:$[3],receiving:$[3],completed:$[3],aborted:$[3],failed:$[3],timeout:$[3]},statics:{handles:{synchronous:true,asynchronous:true,crossDomain:false,fileUpload:false,programaticFormFields:false,responseTypes:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML]},requestObjects:[],requestObjectCount:0,isSupported:function(){return qx.net.HttpRequest.create()!=null?true:false},createRequestObject:function(){return qx.net.HttpRequest.create()},__dummy:function(){}},members:{_localRequest:false,_lastReadyState:0,getRequest:function(){return this._req},send:function(){this._lastReadyState=0;var m=this.getRequest();var a=this.getMethod();var f=this.getAsynchronous();var b=this.getUrl();var h=(org.eclipse.rwt.Client.getRunsLocally()&&!(/^http(s){0,1}\:/.test(b)));this._localRequest=h;var k=this.getParameters();var e=[];for(var l in k){var j=k[l];if(j instanceof Array){for(var c=0;c<j.length;c++){e.push(encodeURIComponent(l)+"="+encodeURIComponent(j[c]))}}else{e.push(encodeURIComponent(l)+"="+encodeURIComponent(j))}}if(e.length>0){b+=(b.indexOf("?")>=0?"&":"?")+e.join("&")}var n=function(r){var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var o="";var y,w,u;var x,v,t,s;var q=0;do{y=r.charCodeAt(q++);w=r.charCodeAt(q++);u=r.charCodeAt(q++);x=y>>2;v=((y&3)<<4)|(w>>4);t=((w&15)<<2)|(u>>6);s=u&63;if(isNaN(w)){t=s=64}else{if(isNaN(u)){s=64}}o+=p.charAt(x)+p.charAt(v)+p.charAt(t)+p.charAt(s)}while(q<r.length);return o};m.onreadystatechange=qx.lang.Function.bind(this._onreadystatechange,this);if(this.getUsername()){if(this.getUseBasicHttpAuth()){m.open(a,b,f);m.setRequestHeader("Authorization","Basic "+n(this.getUsername()+":"+this.getPassword()))}else{m.open(a,b,f,this.getUsername(),this.getPassword())}}else{m.open(a,b,f)}if(!org.eclipse.rwt.Client.isWebkit()){m.setRequestHeader("Referer",window.location.href)}var d=this.getRequestHeaders();for(var l in d){m.setRequestHeader(l,d[l])}try{m.send(this.getData())}catch(g){if(h){this.failedLocally()}else{throw new Error("Failed to send data: "+g);this.failed()}return}if(!f){this._onreadystatechange()}},failedLocally:function(){if(this.getState()===$[38]){return}this.failed()},_onreadystatechange:function(b){switch(this.getState()){case $[27]:case $[55]:case $[38]:case $[53]:return}var a=this.getReadyState();if(a==4){if(!qx.io.remote.Exchange.wasSuccessful(this.getStatusCode(),a,this._localRequest)){return this.failed()}}while(this._lastReadyState<a){this.setState(qx.io.remote.Exchange._nativeMap[++this._lastReadyState])}},getReadyState:function(){var a=null;try{a=this._req.readyState}catch(b){}return a},setRequestHeader:function(a,b){this._req.setRequestHeader(a,b)},getResponseHeader:function(a){var c=null;try{this.getRequest().getResponseHeader(a)||null}catch(b){}return c},getStringResponseHeaders:function(){var c=null;try{var b=this._req.getAllResponseHeaders();if(b){c=b}}catch(a){}return c},getResponseHeaders:function(){var e=this.getStringResponseHeaders();var a={};if(e){var c=e.split(/[\r\n]+/g);for(var d=0,b=c.length;d<b;d++){var f=c[d].match(/^([^:]+)\s*:\s*(.+)$/i);if(f){a[f[1]]=f[2]}}}return a},getStatusCode:function(){var b=-1;try{b=this.getRequest().status}catch(a){}return b},getStatusText:function(){var a="";try{a=this.getRequest().statusText}catch(b){}return a},getResponseText:function(){var d=null;var a=this.getStatusCode();var b=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful(a,b,this._localRequest)){try{d=this.getRequest().responseText}catch(c){}}return d},getResponseXml:function(){var d=null;var a=this.getStatusCode();var b=this.getReadyState();if(qx.io.remote.Exchange.wasSuccessful(a,b,this._localRequest)){try{d=this.getRequest().responseXML}catch(c){}}if(typeof d==$[19]&&d!=null){if(!d.documentElement){var e=String(this.getRequest().responseText).replace(/<\?xml[^\?]*\?>/,"");d.loadXML(e)}if(!d.documentElement){throw new Error("Missing Document Element!")}if(d.documentElement.tagName=="parseerror"){throw new Error("XML-File is not well-formed!")}}else{throw new Error("Response was not a valid xml document ["+this.getRequest().responseText+"]")}return d},getFetchedLength:function(){var a=this.getResponseText();return typeof a==$[9]?a.length:0},getResponseContent:function(){var a=null;if(this.getState()===$[27]){a=this.getResponseText()}return a},_applyState:function(b,a){switch(b){case $[152]:this.createDispatchEvent($[152]);break;case $[95]:this.createDispatchEvent($[95]);break;case $[52]:this.createDispatchEvent($[52]);break;case $[56]:this.createDispatchEvent($[56]);break;case $[27]:this.createDispatchEvent($[27]);break;case $[38]:this.createDispatchEvent($[38]);break;case $[55]:this.getRequest().abort();this.createDispatchEvent($[55]);break;case $[53]:this.getRequest().abort();this.createDispatchEvent($[53]);break}}},defer:function(b,a){qx.io.remote.Exchange.registerType(qx.io.remote.XmlHttpTransport,$[290])},destruct:function(){var a=this.getRequest();if(a){a.onreadystatechange=qx.io.remote.XmlHttpTransport.__dummy;switch(a.readyState){case 1:case 2:case 3:a.abort()}}this._disposeFields("_req")}});
 qx.Class.define("qx.net.HttpRequest",{statics:{create:qx.core.Variant.select($[0],{"default":function(){return new XMLHttpRequest},mshtml:qx.lang.Object.select(location.protocol!=="file:"&&window.XMLHttpRequest?"native":"activeX",{"native":function(){return new XMLHttpRequest},activeX:function(){if(this.__server){return new ActiveXObject(this.__server)}var f=["MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.4.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];var e;var d;for(var c=0,a=f.length;c<a;c++){d=f[c];try{e=new ActiveXObject(d);break}catch(b){e=null}}if(e){this.__server=d}return e}})})}});
 qx.Class.define("qx.html.Iframe",{statics:{getWindow:qx.core.Variant.select($[0],{mshtml:function(b){try{return b.contentWindow}catch(a){return null}},"default":function(c){try{var a=qx.html.Iframe.getDocument(c);return a?a.defaultView:null}catch(b){return null}}}),getDocument:qx.core.Variant.select($[0],{mshtml:function(c){try{var a=qx.html.Iframe.getWindow(c);return a?a.document:null}catch(b){return null}},"default":function(b){try{return b.contentDocument}catch(a){return null}}}),getBody:function(b){var a=qx.html.Iframe.getDocument(b);return a?a.getElementsByTagName("body")[0]:null}}});
 qx.Class.define("qx.net.Http",{statics:{METHOD_GET:"GET",METHOD_POST:"POST",METHOD_PUT:"PUT",METHOD_HEAD:"HEAD",METHOD_DELETE:"DELETE"}});
-qx.Class.define($[462],{extend:qx.core.Target,construct:function(c,a,b){arguments.callee.base.call(this);this._requestHeaders={};this._parameters={};this._formFields={};if(c!==undefined){this.setUrl(c)}if(a!==undefined){this.setMethod(a)}if(b!==undefined){this.setResponseType(b)}this.setProhibitCaching(true);this._seqNum=++qx.io.remote.Request._seqNum},events:{created:$[3],configured:$[3],sending:$[3],receiving:$[3],completed:$[119],aborted:$[119],failed:$[119],timeout:$[119]},statics:{_seqNum:0},properties:{url:{check:$[21],init:""},method:{check:[qx.net.Http.METHOD_GET,qx.net.Http.METHOD_POST,qx.net.Http.METHOD_PUT,qx.net.Http.METHOD_HEAD,qx.net.Http.METHOD_DELETE],apply:"_applyMethod",init:qx.net.Http.METHOD_GET},asynchronous:{check:$[2],init:true},data:{check:$[21],nullable:true},username:{check:$[21],nullable:true},password:{check:$[21],nullable:true},state:{check:[$[95],$[167],$[52],$[56],$[26],$[55],$[53],$[38]],init:$[95],event:$[328]},responseType:{check:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML],init:qx.util.Mime.TEXT},timeout:{check:$[14],nullable:true},prohibitCaching:{check:$[2],init:true,apply:"_applyProhibitCaching"},crossDomain:{check:$[2],init:false},fileUpload:{check:$[2],init:false},transport:{check:$[387],nullable:true},useBasicHttpAuth:{check:$[2],init:false}},members:{send:function(){qx.io.remote.RequestQueue.getInstance().add(this)},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this)},reset:function(){switch(this.getState()){case $[52]:case $[56]:throw new Error("Aborting already sent request!");case $[167]:this.abort();break}},isConfigured:function(){return this.getState()===$[95]},isQueued:function(){return this.getState()===$[167]},isSending:function(){return this.getState()===$[52]},isReceiving:function(){return this.getState()===$[56]},isCompleted:function(){return this.getState()===$[26]},isAborted:function(){return this.getState()===$[55]},isTimeout:function(){return this.getState()===$[53]},isFailed:function(){return this.getState()===$[38]},_onqueued:function(a){this.setState($[167]);this.dispatchEvent(a)},_onsending:function(a){this.setState($[52]);this.dispatchEvent(a)},_onreceiving:function(a){this.setState($[56]);this.dispatchEvent(a)},_oncompleted:function(a){this.setState($[26]);this.dispatchEvent(a);this.dispose()},_onaborted:function(a){this.setState($[55]);this.dispatchEvent(a);this.dispose()},_ontimeout:function(a){this.setState($[53]);this.dispatchEvent(a);this.dispose()},_onfailed:function(a){this.setState($[38]);this.dispatchEvent(a);this.dispose()},_applyProhibitCaching:function(b,a){if(b){this.setParameter("nocache",new Date().valueOf());this.setRequestHeader("Pragma","no-cache");this.setRequestHeader($[443],"no-cache")}else{this.removeParameter("nocache");this.removeRequestHeader("Pragma");this.removeRequestHeader($[443])}},_applyMethod:function(b,a){if(b===qx.net.Http.METHOD_POST){this.setRequestHeader($[348],"application/x-www-form-urlencoded; charset=UTF-8")}else{this.removeRequestHeader($[348])}},setRequestHeader:function(a,b){this._requestHeaders[a]=b},removeRequestHeader:function(a){delete this._requestHeaders[a]},getRequestHeader:function(a){return this._requestHeaders[a]||null},getRequestHeaders:function(){return this._requestHeaders},setParameter:function(a,b){this._parameters[a]=b},removeParameter:function(a){delete this._parameters[a]},getParameter:function(a){return this._parameters[a]||null},getParameters:function(){return this._parameters},setFormField:function(a,b){this._formFields[a]=b},removeFormField:function(a){delete this._formFields[a]},getFormField:function(a){return this._formFields[a]||null},getFormFields:function(){return this._formFields},getSequenceNumber:function(){return this._seqNum}},destruct:function(){this.setTransport(null);this._disposeFields("_requestHeaders","_parameters","_formFields")}});
+qx.Class.define($[462],{extend:qx.core.Target,construct:function(c,a,b){arguments.callee.base.call(this);this._requestHeaders={};this._parameters={};this._formFields={};if(c!==undefined){this.setUrl(c)}if(a!==undefined){this.setMethod(a)}if(b!==undefined){this.setResponseType(b)}this.setProhibitCaching(true);this._seqNum=++qx.io.remote.Request._seqNum},events:{created:$[3],configured:$[3],sending:$[3],receiving:$[3],completed:$[119],aborted:$[119],failed:$[119],timeout:$[119]},statics:{_seqNum:0},properties:{url:{check:$[21],init:""},method:{check:[qx.net.Http.METHOD_GET,qx.net.Http.METHOD_POST,qx.net.Http.METHOD_PUT,qx.net.Http.METHOD_HEAD,qx.net.Http.METHOD_DELETE],apply:"_applyMethod",init:qx.net.Http.METHOD_GET},asynchronous:{check:$[2],init:true},data:{check:$[21],nullable:true},username:{check:$[21],nullable:true},password:{check:$[21],nullable:true},state:{check:[$[95],$[167],$[52],$[56],$[27],$[55],$[53],$[38]],init:$[95],event:$[328]},responseType:{check:[qx.util.Mime.TEXT,qx.util.Mime.JAVASCRIPT,qx.util.Mime.JSON,qx.util.Mime.XML,qx.util.Mime.HTML],init:qx.util.Mime.TEXT},timeout:{check:$[14],nullable:true},prohibitCaching:{check:$[2],init:true,apply:"_applyProhibitCaching"},crossDomain:{check:$[2],init:false},fileUpload:{check:$[2],init:false},transport:{check:$[387],nullable:true},useBasicHttpAuth:{check:$[2],init:false}},members:{send:function(){qx.io.remote.RequestQueue.getInstance().add(this)},abort:function(){qx.io.remote.RequestQueue.getInstance().abort(this)},reset:function(){switch(this.getState()){case $[52]:case $[56]:throw new Error("Aborting already sent request!");case $[167]:this.abort();break}},isConfigured:function(){return this.getState()===$[95]},isQueued:function(){return this.getState()===$[167]},isSending:function(){return this.getState()===$[52]},isReceiving:function(){return this.getState()===$[56]},isCompleted:function(){return this.getState()===$[27]},isAborted:function(){return this.getState()===$[55]},isTimeout:function(){return this.getState()===$[53]},isFailed:function(){return this.getState()===$[38]},_onqueued:function(a){this.setState($[167]);this.dispatchEvent(a)},_onsending:function(a){this.setState($[52]);this.dispatchEvent(a)},_onreceiving:function(a){this.setState($[56]);this.dispatchEvent(a)},_oncompleted:function(a){this.setState($[27]);this.dispatchEvent(a);this.dispose()},_onaborted:function(a){this.setState($[55]);this.dispatchEvent(a);this.dispose()},_ontimeout:function(a){this.setState($[53]);this.dispatchEvent(a);this.dispose()},_onfailed:function(a){this.setState($[38]);this.dispatchEvent(a);this.dispose()},_applyProhibitCaching:function(b,a){if(b){this.setParameter("nocache",new Date().valueOf());this.setRequestHeader("Pragma","no-cache");this.setRequestHeader($[443],"no-cache")}else{this.removeParameter("nocache");this.removeRequestHeader("Pragma");this.removeRequestHeader($[443])}},_applyMethod:function(b,a){if(b===qx.net.Http.METHOD_POST){this.setRequestHeader($[348],"application/x-www-form-urlencoded; charset=UTF-8")}else{this.removeRequestHeader($[348])}},setRequestHeader:function(a,b){this._requestHeaders[a]=b},removeRequestHeader:function(a){delete this._requestHeaders[a]},getRequestHeader:function(a){return this._requestHeaders[a]||null},getRequestHeaders:function(){return this._requestHeaders},setParameter:function(a,b){this._parameters[a]=b},removeParameter:function(a){delete this._parameters[a]},getParameter:function(a){return this._parameters[a]||null},getParameters:function(){return this._parameters},setFormField:function(a,b){this._formFields[a]=b},removeFormField:function(a){delete this._formFields[a]},getFormField:function(a){return this._formFields[a]||null},getFormFields:function(){return this._formFields},getSequenceNumber:function(){return this._seqNum}},destruct:function(){this.setTransport(null);this._disposeFields("_requestHeaders","_parameters","_formFields")}});
 qx.Class.define("qx.ui.popup.PopupAtom",{extend:qx.ui.popup.Popup,construct:function(a,b){arguments.callee.base.call(this);this._atom=new qx.ui.basic.Atom(a,b);this._atom.setParent(this)},members:{_isFocusRoot:false,getAtom:function(){return this._atom}},destruct:function(){this._disposeObjects("_atom")}});
-qx.Class.define($[240],{extend:qx.ui.popup.PopupAtom,construct:function(a,b){arguments.callee.base.call(this,a,b);this._showTimer=new qx.client.Timer(this.getShowInterval());this._showTimer.addEventListener($[28],this._onshowtimer,this);this._hideTimer=new qx.client.Timer(this.getHideInterval());this._hideTimer.addEventListener($[28],this._onhidetimer,this);this.addEventListener($[6],this._onmouseover);this.addEventListener($[8],this._onmouseover)},properties:{appearance:{refine:true,init:"widget-tool-tip"},hideOnHover:{check:$[2],init:true},mousePointerOffsetX:{check:$[14],init:1},mousePointerOffsetY:{check:$[14],init:20},showInterval:{check:$[14],init:1000,apply:"_applyShowInterval"},hideInterval:{check:$[14],init:4000,apply:"_applyHideInterval"},boundToWidget:{check:$[124],apply:"_applyBoundToWidget"}},members:{_minZIndex:10000000,_applyHideInterval:function(b,a){this._hideTimer.setInterval(b)},_applyShowInterval:function(b,a){this._showTimer.setInterval(b)},_applyBoundToWidget:function(b,a){if(b){this.setParent(b.getTopLevelWidget())}else{if(a){this.setParent(null)}}},_beforeAppear:function(){arguments.callee.base.call(this);this._stopShowTimer();this._startHideTimer()},_beforeDisappear:function(){arguments.callee.base.call(this);this._stopHideTimer()},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var z=qx.ui.core.ClientDocument.getInstance();var j=z.getClientWidth();var f=z.getClientHeight();var c=parseInt(this.getRestrictToPageLeft());var t=parseInt(this.getRestrictToPageRight());var y=parseInt(this.getRestrictToPageTop());var d=parseInt(this.getRestrictToPageBottom());var i=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var p=this.getTop();var s=this.getBoxWidth();var r=this.getBoxHeight();var m=qx.event.type.MouseEvent.getPageX();var l=qx.event.type.MouseEvent.getPageY();var h=this.getLeft();var a=p;if(i+s>j-t){i=j-t-s}if(p+r>f-d){p=f-d-r}if(i<c){i=c}if(p<y){p=y}if(i<=m&&m<=i+s&&p<=l&&l<=p+r){var e=l-p;var v=e-r;var u=m-i;var k=u-s;var b=Math.max(0,y-(p+v));var n=Math.max(0,p+r+e-(f-d));var g=Math.max(0,c-(i+k));var o=Math.max(0,i+s+u-(j-t));var x=[[0,v,b],[0,e,n],[k,0,g],[u,0,o]];x.sort(function(B,A){return B[2]-A[2]||(Math.abs(B[0])+Math.abs(B[1]))-(Math.abs(A[0])+Math.abs(A[1]))});var w=x[0];i=i+w[0];p=p+w[1]}if(i!=h||p!=a){var q=this;window.setTimeout(function(){q.setLeft(i);q.setTop(p)},0)}}},_startShowTimer:function(){if(!this._showTimer.getEnabled()){this._showTimer.start()}},_startHideTimer:function(){if(!this._hideTimer.getEnabled()){this._hideTimer.start()}},_stopShowTimer:function(){if(this._showTimer.getEnabled()){this._showTimer.stop()}},_stopHideTimer:function(){if(this._hideTimer.getEnabled()){this._hideTimer.stop()}},_onmouseover:function(a){if(this.getHideOnHover()){this.hide()}},_onshowtimer:function(a){this.setLeft(qx.event.type.MouseEvent.getPageX()+this.getMousePointerOffsetX());this.setTop(qx.event.type.MouseEvent.getPageY()+this.getMousePointerOffsetY());this.show()},_onhidetimer:function(a){return this.hide()}},destruct:function(){var a=qx.ui.popup.ToolTipManager.getInstance();a.remove(this);if(a.getCurrentToolTip()==this){a.resetCurrentToolTip()}this._disposeObjects("_showTimer","_hideTimer")}});
+qx.Class.define($[240],{extend:qx.ui.popup.PopupAtom,construct:function(a,b){arguments.callee.base.call(this,a,b);this._showTimer=new qx.client.Timer(this.getShowInterval());this._showTimer.addEventListener($[26],this._onshowtimer,this);this._hideTimer=new qx.client.Timer(this.getHideInterval());this._hideTimer.addEventListener($[26],this._onhidetimer,this);this.addEventListener($[6],this._onmouseover);this.addEventListener($[8],this._onmouseover)},properties:{appearance:{refine:true,init:"widget-tool-tip"},hideOnHover:{check:$[2],init:true},mousePointerOffsetX:{check:$[14],init:1},mousePointerOffsetY:{check:$[14],init:20},showInterval:{check:$[14],init:1000,apply:"_applyShowInterval"},hideInterval:{check:$[14],init:4000,apply:"_applyHideInterval"},boundToWidget:{check:$[124],apply:"_applyBoundToWidget"}},members:{_minZIndex:10000000,_applyHideInterval:function(b,a){this._hideTimer.setInterval(b)},_applyShowInterval:function(b,a){this._showTimer.setInterval(b)},_applyBoundToWidget:function(b,a){if(b){this.setParent(b.getTopLevelWidget())}else{if(a){this.setParent(null)}}},_beforeAppear:function(){arguments.callee.base.call(this);this._stopShowTimer();this._startHideTimer()},_beforeDisappear:function(){arguments.callee.base.call(this);this._stopHideTimer()},_afterAppear:function(){arguments.callee.base.call(this);if(this.getRestrictToPageOnOpen()){var z=qx.ui.core.ClientDocument.getInstance();var j=z.getClientWidth();var f=z.getClientHeight();var c=parseInt(this.getRestrictToPageLeft());var t=parseInt(this.getRestrictToPageRight());var y=parseInt(this.getRestrictToPageTop());var d=parseInt(this.getRestrictToPageBottom());var i=(this._wantedLeft==null)?this.getLeft():this._wantedLeft;var p=this.getTop();var s=this.getBoxWidth();var r=this.getBoxHeight();var m=qx.event.type.MouseEvent.getPageX();var l=qx.event.type.MouseEvent.getPageY();var h=this.getLeft();var a=p;if(i+s>j-t){i=j-t-s}if(p+r>f-d){p=f-d-r}if(i<c){i=c}if(p<y){p=y}if(i<=m&&m<=i+s&&p<=l&&l<=p+r){var e=l-p;var v=e-r;var u=m-i;var k=u-s;var b=Math.max(0,y-(p+v));var n=Math.max(0,p+r+e-(f-d));var g=Math.max(0,c-(i+k));var o=Math.max(0,i+s+u-(j-t));var x=[[0,v,b],[0,e,n],[k,0,g],[u,0,o]];x.sort(function(B,A){return B[2]-A[2]||(Math.abs(B[0])+Math.abs(B[1]))-(Math.abs(A[0])+Math.abs(A[1]))});var w=x[0];i=i+w[0];p=p+w[1]}if(i!=h||p!=a){var q=this;window.setTimeout(function(){q.setLeft(i);q.setTop(p)},0)}}},_startShowTimer:function(){if(!this._showTimer.getEnabled()){this._showTimer.start()}},_startHideTimer:function(){if(!this._hideTimer.getEnabled()){this._hideTimer.start()}},_stopShowTimer:function(){if(this._showTimer.getEnabled()){this._showTimer.stop()}},_stopHideTimer:function(){if(this._hideTimer.getEnabled()){this._hideTimer.stop()}},_onmouseover:function(a){if(this.getHideOnHover()){this.hide()}},_onshowtimer:function(a){this.setLeft(qx.event.type.MouseEvent.getPageX()+this.getMousePointerOffsetX());this.setTop(qx.event.type.MouseEvent.getPageY()+this.getMousePointerOffsetY());this.show()},_onhidetimer:function(a){return this.hide()}},destruct:function(){var a=qx.ui.popup.ToolTipManager.getInstance();a.remove(this);if(a.getCurrentToolTip()==this){a.resetCurrentToolTip()}this._disposeObjects("_showTimer","_hideTimer")}});
 qx.Class.define("qx.ui.popup.ToolTipManager",{type:$[37],extend:qx.util.manager.Object,properties:{currentToolTip:{check:$[240],nullable:true,apply:"_applyCurrentToolTip"}},members:{_applyCurrentToolTip:function(b,a){if(a&&a.contains(b)){return}if(a&&!a.isDisposed()){a.hide();a._stopShowTimer();a._stopHideTimer()}if(b){b._startShowTimer()}},handleMouseEvent:function(b){var a=b.getType();if(a===$[6]){this._handleMouseOver(b)}else{if(a===$[8]){this._handleMouseOut(b)}}},_handleMouseOver:function(b){var c=b.getTarget();var a;if(!(c instanceof qx.ui.core.Widget)&&c.nodeType==1){c=org.eclipse.rwt.EventHandlerUtil.getTargetObject(c)}while(c!=null&&!(a=c.getToolTip())){c=c.getParent()}if(a!=null){a.setBoundToWidget(c)}this.setCurrentToolTip(a)},_handleMouseOut:function(c){var d=c.getTarget();var b=c.getRelatedTarget();var a=this.getCurrentToolTip();if(a&&(b==a||a.contains(b))){return}if(b&&d&&d.contains(b)){return}if(a&&!b){this.setCurrentToolTip(null)}},handleFocus:function(a){},handleBlur:function(b){var c=b.getTarget();if(!c){return}var a=this.getCurrentToolTip();if(a&&a==c.getToolTip()){this.setCurrentToolTip(null)}}}});
 qx.Class.define("qx.html.Window",{statics:{getInnerWidth:qx.core.Variant.select($[0],{"mshtml|webkit":function(a){if(a.document.documentElement&&a.document.documentElement.clientWidth){return a.document.documentElement.clientWidth}else{if(a.document.body){return a.document.body.clientWidth}}return 0},"default":function(a){return a.innerWidth}}),getInnerHeight:qx.core.Variant.select($[0],{"mshtml|webkit":function(a){if(a.document.documentElement&&a.document.documentElement.clientHeight){return a.document.documentElement.clientHeight}else{if(a.document.body){return a.document.body.clientHeight}}return 0},"default":function(a){return a.innerHeight}}),getScrollLeft:qx.core.Variant.select($[0],{mshtml:function(a){if(a.document.documentElement&&a.document.documentElement.scrollLeft){return a.document.documentElement.scrollLeft}else{if(a.document.body){return a.document.body.scrollTop}}return 0},"default":function(a){return a.document.body.scrollLeft}}),getScrollTop:qx.core.Variant.select($[0],{mshtml:function(a){if(a.document.documentElement&&a.document.documentElement.scrollTop){return a.document.documentElement.scrollTop}else{if(a.document.body){return a.document.body.scrollTop}}return 0},"default":function(a){return a.document.body.scrollTop}})}});
-qx.Class.define("qx.client.History",{type:$[37],extend:qx.core.Target,construct:qx.core.Variant.select($[0],{mshtml:function(){arguments.callee.base.call(this);this._hasNavigationListener=false;this._iframe=document.createElement("iframe");this._iframe.style.visibility=$[13];this._iframe.style.position=$[17];this._iframe.style.left="-1000px";this._iframe.style.top="-1000px";var a=qx.io.Alias.getInstance().resolve($[481]);this._iframe.src=a;document.body.appendChild(this._iframe);this._titles={};this._state=decodeURIComponent(this.__getHash());this._locationState=decodeURIComponent(this.__getHash());this.__waitForIFrame(function(){this.__storeState(this._state);this.__startTimer()},this)},"default":function(){arguments.callee.base.call(this);this._hasNavigationListener=false;this._titles={};this._state=this.__getState();this.__startTimer()}}),events:{request:$[48]},properties:{timeoutInterval:{check:$[59],init:100,apply:"_applyTimeoutInterval"}},members:{addToHistory:function(a,b){if(b!=null){document.title=b}this._titles[a]=document.title;if(a!=this._state){this._state=a;this.__storeState(a)}},getState:function(){return this._state},navigateBack:function(){qx.client.Timer.once(function(){history.back()},0)},navigateForward:function(){qx.client.Timer.once(function(){history.forward()},0)},_applyTimeoutInterval:function(a){this._timer.setInterval(a)},__onHistoryLoad:function(a){this._state=a;this.createDispatchDataEvent("request",a);if(this._titles[a]!=null){document.title=this._titles[a]}},__startTimer:function(){this._timer=new qx.client.Timer(this.getTimeoutInterval());this._timer.addEventListener($[28],function(b){var a=this.__getState();if(a!=this._state&&this._titles[a]!=null){this.__onHistoryLoad(a)}},this);if(this._hasNavigationListener){this._timer.start()}},__getHash:function(){var b=window.location.href;var a=b.indexOf("#");return a>=0?b.substring(a+1):""},__getState:qx.core.Variant.select($[0],{mshtml:function(){var d=decodeURIComponent(this.__getHash());if(d!=this._locationState){this._locationState=d;this.__storeState(d);return d}var c=this._iframe.contentWindow.document;var b=c.getElementById("state");var a=b?decodeURIComponent(b.innerText):"";return a},"default":function(){return decodeURIComponent(this.__getHash())}}),__storeState:qx.core.Variant.select($[0],{mshtml:function(c){var b='<html><body><div id="state">'+encodeURIComponent(c)+"</div></body></html>";try{var d=this._iframe.contentWindow.document;d.open();d.write(b);d.close()}catch(a){return false}return true},"default":function(a){window.location.hash="#"+encodeURIComponent(a);return true}}),__waitForIFrame:qx.core.Variant.select($[0],{mshtml:function(b,a){if(!this._iframe.contentWindow||!this._iframe.contentWindow.document){qx.client.Timer.once(function(){this.__waitForIFrame(b,a)},this,10);return}b.call(a||window)},"default":null}),setHasNavigationListener:function(a){this._hasNavigationListener=a;if(a){this.addEventListener("request",this._historyNavigated,this);if(this._timer){this._timer.start()}}else{this.removeEventListener("request",this._historyNavigated,this);if(this._timer){this._timer.stop()}}},_historyNavigated:function(c){var a=c.getData();var b=org.eclipse.swt.Request.getInstance();b.addParameter($[426],"true");b.addParameter($[472],a);b.send()}},destruct:function(){this._timer.stop();this._disposeObjects("_timer");this._disposeFields("_iframe","_titles")}});
+qx.Class.define("qx.client.History",{type:$[37],extend:qx.core.Target,construct:qx.core.Variant.select($[0],{mshtml:function(){arguments.callee.base.call(this);this._hasNavigationListener=false;this._iframe=document.createElement("iframe");this._iframe.style.visibility=$[13];this._iframe.style.position=$[17];this._iframe.style.left="-1000px";this._iframe.style.top="-1000px";var a=qx.io.Alias.getInstance().resolve($[481]);this._iframe.src=a;document.body.appendChild(this._iframe);this._titles={};this._state=decodeURIComponent(this.__getHash());this._locationState=decodeURIComponent(this.__getHash());this.__waitForIFrame(function(){this.__storeState(this._state);this.__startTimer()},this)},"default":function(){arguments.callee.base.call(this);this._hasNavigationListener=false;this._titles={};this._state=this.__getState();this.__startTimer()}}),events:{request:$[48]},properties:{timeoutInterval:{check:$[59],init:100,apply:"_applyTimeoutInterval"}},members:{addToHistory:function(a,b){if(b!=null){document.title=b}this._titles[a]=document.title;if(a!=this._state){this._state=a;this.__storeState(a)}},getState:function(){return this._state},navigateBack:function(){qx.client.Timer.once(function(){history.back()},0)},navigateForward:function(){qx.client.Timer.once(function(){history.forward()},0)},_applyTimeoutInterval:function(a){this._timer.setInterval(a)},__onHistoryLoad:function(a){this._state=a;this.createDispatchDataEvent("request",a);if(this._titles[a]!=null){document.title=this._titles[a]}},__startTimer:function(){this._timer=new qx.client.Timer(this.getTimeoutInterval());this._timer.addEventListener($[26],function(b){var a=this.__getState();if(a!=this._state&&this._titles[a]!=null){this.__onHistoryLoad(a)}},this);if(this._hasNavigationListener){this._timer.start()}},__getHash:function(){var b=window.location.href;var a=b.indexOf("#");return a>=0?b.substring(a+1):""},__getState:qx.core.Variant.select($[0],{mshtml:function(){var d=decodeURIComponent(this.__getHash());if(d!=this._locationState){this._locationState=d;this.__storeState(d);return d}var c=this._iframe.contentWindow.document;var b=c.getElementById("state");var a=b?decodeURIComponent(b.innerText):"";return a},"default":function(){return decodeURIComponent(this.__getHash())}}),__storeState:qx.core.Variant.select($[0],{mshtml:function(c){var b='<html><body><div id="state">'+encodeURIComponent(c)+"</div></body></html>";try{var d=this._iframe.contentWindow.document;d.open();d.write(b);d.close()}catch(a){return false}return true},"default":function(a){window.location.hash="#"+encodeURIComponent(a);return true}}),__waitForIFrame:qx.core.Variant.select($[0],{mshtml:function(b,a){if(!this._iframe.contentWindow||!this._iframe.contentWindow.document){qx.client.Timer.once(function(){this.__waitForIFrame(b,a)},this,10);return}b.call(a||window)},"default":null}),setHasNavigationListener:function(a){this._hasNavigationListener=a;if(a){this.addEventListener("request",this._historyNavigated,this);if(this._timer){this._timer.start()}}else{this.removeEventListener("request",this._historyNavigated,this);if(this._timer){this._timer.stop()}}},_historyNavigated:function(c){var a=c.getData();var b=org.eclipse.swt.Request.getInstance();b.addParameter($[426],"true");b.addParameter($[472],a);b.send()}},destruct:function(){this._timer.stop();this._disposeObjects("_timer");this._disposeFields("_iframe","_titles")}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.BrowserHistory",{factory:function(a){return qx.client.History.getInstance()},destructor:qx.lang.Function.returnTrue,properties:[],propertyHandler:{},listeners:["navigation"],listenerHandler:{},methods:["add"],methodHandler:{add:function(b,d){var a=d.entries;for(var c=0;c<a.length;c++){b.addToHistory(a[c][0],a[c][1])}}}});
 qx.Class.define($[250],{type:$[37],extend:qx.util.manager.Object,construct:function(){arguments.callee.base.call(this);this.__data={};this.__actions={};this.__cursors={};var e,d;var c=["move","copy",$[100],"nodrop"];for(var b=0,a=c.length;b<a;b++){d=c[b];e=this.__cursors[d]=new qx.ui.basic.Image;e.setAppearance("cursor-dnd-"+d);e.setZIndex(100000000)}},properties:{sourceWidget:{check:$[124],nullable:true},destinationWidget:{check:$[124],nullable:true,apply:"_applyDestinationWidget"},currentAction:{check:$[21],nullable:true,event:"changeCurrentAction"},defaultCursorDeltaX:{check:$[14],init:5},defaultCursorDeltaY:{check:$[14],init:15}},members:{__lastDestinationEvent:null,_applyDestinationWidget:function(b,a){if(b){b.dispatchEvent(new qx.event.type.DragEvent($[199],this.__lastDestinationEvent,b,this.getSourceWidget()));this.__lastDestinationEvent=null}},addData:function(a,b){this.__data[a]=b},getData:function(a){return this.__data[a]},clearData:function(){this.__data={}},getDropDataTypes:function(){var d=this.getDestinationWidget();var a=[];if(!d){return a}var e=d.getDropDataTypes();for(var c=0,b=e.length;c<b;c++){if(e[c] in this.__data){a.push(e[c])}}return a},getDropTarget:qx.core.Variant.select($[0],{"default":function(b){var a=b.getTarget();while(a!=null){if(!a.supportsDrop(this.__dragCache)){return null}if(this.supportsDrop(a)){return a}a=a.getParent()}return null}}),startDrag:function(){if(!this.__dragCache){throw new Error("Invalid usage of startDrag. Missing dragInfo!")}this.__dragCache.dragHandlerActive=true;this.setSourceWidget(this.__dragCache.sourceWidget);if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(false);var a=qx.ui.core.ClientDocument.getInstance();a.add(this.__feedbackWidget);this.__feedbackWidget.setZIndex(100000000)}},_fireUserEvents:function(b,a,c){if(b&&b!=a&&b.hasEventListeners($[271])){b.dispatchEvent(new qx.event.type.DragEvent($[271],c,b,a),true)}if(a){if(b!=a&&a.hasEventListeners($[136])){a.dispatchEvent(new qx.event.type.DragEvent($[136],c,a,b),true)}if(a.hasEventListeners($[243])){a.dispatchEvent(new qx.event.type.DragEvent($[243],c,a,null),true)}}},handleMouseEvent:function(a){switch(a.getType()){case $[1]:return this._handleMouseDown(a);case $[5]:return this._handleMouseUp(a);case $[34]:return this._handleMouseMove(a)}},_handleMouseDown:function(a){if(a.getDefaultPrevented()||!a.isLeftButtonPressed()){return}if(this.__dragCache==null){this.__dragCache={startScreenX:a.getScreenX(),startScreenY:a.getScreenY(),pageX:a.getPageX(),pageY:a.getPageY(),sourceWidget:a.getTarget(),sourceTopLevel:a.getTarget().getTopLevelWidget(),dragHandlerActive:false,hasFiredDragStart:false}}},_handleMouseMove:function(b){if(!this.__dragCache){return}if(this.__dragCache.dragHandlerActive){this.__dragCache.pageX=b.getPageX();this.__dragCache.pageY=b.getPageY();var a=this.getDropTarget(b);this.setCurrentAction(a?this._evalNewAction(b.isShiftPressed(),b.isCtrlPressed(),b.isAltPressed()):null);this._fireUserEvents(this.__dragCache.currentDropWidget,a,b);this.__dragCache.currentDropWidget=a;this._renderCursor();this._renderFeedbackWidget()}else{if(!this.__dragCache.hasFiredDragStart){if(Math.abs(b.getScreenX()-this.__dragCache.startScreenX)>5||Math.abs(b.getScreenY()-this.__dragCache.startScreenY)>5){this.__dragCache.sourceWidget.dispatchEvent(new qx.event.type.DragEvent($[79],b,this.__dragCache.sourceWidget),true);this.__dragCache.hasFiredDragStart=true;if(this.__dragCache.dragHandlerActive){var c=this.getDropTarget(b);this._fireUserEvents(null,c,b);this.__dragCache.currentDropWidget=c;qx.ui.core.ClientDocument.getInstance().setCapture(true)}}}}},_handleMouseUp:function(a){if(!this.__dragCache){return}if(this.__dragCache.dragHandlerActive){this._endDrag(this.getDropTarget(a),a)}else{this.__dragCache=null}},handleKeyEvent:function(a){if(!this.__dragCache){return}switch(a.getType()){case $[10]:this._handleKeyDown(a);return;case $[40]:this._handleKeyUp(a);return}},_handleKeyDown:function(a){if(a.getKeyIdentifier()==$[103]){this.cancelDrag(a)}else{if(this.getCurrentAction()!=null){switch(a.getKeyIdentifier()){case"Shift":case $[239]:case"Alt":this.setAction(this._evalNewAction(a.isShiftPressed(),a.isCtrlPressed(),a.isAltPressed()));this._renderCursor();a.preventDefault()}}}},_handleKeyUp:function(d){var c=d.getKeyIdentifier()=="Shift";var b=d.getKeyIdentifier()==$[239];var a=d.getKeyIdentifier()=="Alt";if(c||b||a){if(this.getCurrentAction()!=null){this.setAction(this._evalNewAction(!c&&d.isShiftPressed(),!b&&d.isCtrlPressed(),!a&&d.isAltPressed()));this._renderCursor();d.preventDefault()}}},cancelDrag:function(a){if(!this.__dragCache){return}if(this.__dragCache.dragHandlerActive){this._endDrag(null,a)}else{this.__dragCache=null}},globalCancelDrag:function(){if(this.__dragCache&&this.__dragCache.dragHandlerActive){this._endDragCore()}},_endDrag:function(a,b){if(a){this.__lastDestinationEvent=b;this.setDestinationWidget(a)}this.getSourceWidget().dispatchEvent(new qx.event.type.DragEvent($[258],b,this.getSourceWidget(),a),true);this._endDragCore()},_endDragCore:function(){if(this.__feedbackWidget){var b=qx.ui.core.ClientDocument.getInstance();b.remove(this.__feedbackWidget);if(this.__feedbackAutoDispose){this.__feedbackWidget.destroy()}this.__feedbackWidget=null}var a=this.__cursor;if(a){a._style.display="none";this.__cursor=null}this._cursorDeltaX=null;this._cursorDeltaY=null;if(this.__dragCache){this.__dragCache.currentDropWidget=null;this.__dragCache=null}qx.ui.core.ClientDocument.getInstance().setCapture(false);this.clearData();this.clearActions();this.setSourceWidget(null);this.setDestinationWidget(null)},setCursorPosition:function(b,a){this._cursorDeltaX=b;this._cursorDeltaY=a},_renderCursor:function(){var b;var a=this.__cursor;switch(this.getCurrentAction()){case"move":b=this.__cursors.move;break;case"copy":b=this.__cursors.copy;break;case $[100]:b=this.__cursors.alias;break;default:b=this.__cursors.nodrop}if(b!=a&&a!=null){a._style.display="none"}if(!b._initialLayoutDone){qx.ui.core.ClientDocument.getInstance().add(b);qx.ui.core.Widget.flushGlobalQueues()}b._renderRuntimeLeft(this.__dragCache.pageX+((this._cursorDeltaX!=null)?this._cursorDeltaX:this.getDefaultCursorDeltaX()));b._renderRuntimeTop(this.__dragCache.pageY+((this._cursorDeltaY!=null)?this._cursorDeltaY:this.getDefaultCursorDeltaY()));if(b!=a){b._style.display=""}this.__cursor=b},supportsDrop:function(c){var b=c.getDropDataTypes();if(!b){return false}for(var a=0;a<b.length;a++){if(b[a] in this.__data){return true}}return false},addAction:function(b,a){this.__actions[b]=true;if(a||this.getCurrentAction()==null){this.setCurrentAction(b)}},clearActions:function(){this.__actions={};this.setCurrentAction(null)},removeAction:function(a){delete this.__actions[a];if(this.getCurrentAction()==a){this.setCurrentAction(null)}},setAction:function(a){if(a!=null&&!(a in this.__actions)){this.addAction(a,true)}else{this.setCurrentAction(a)}},_evalNewAction:function(d,b,a){if(d&&b&&$[100] in this.__actions){return $[100]}else{if(d&&a&&"copy" in this.__actions){return"copy"}else{if(d&&"move" in this.__actions){return"move"}else{if(a&&$[100] in this.__actions){return $[100]}else{if(b&&"copy" in this.__actions){return"copy"}else{for(var c in this.__actions){return c}}}}}}return null},setFeedbackWidget:function(d,c,b,a){this.__feedbackWidget=d;this.__feedbackDeltaX=(c!=null)?c:10;this.__feedbackDeltaY=(b!=null)?b:10;this.__feedbackAutoDispose=a?true:false},_renderFeedbackWidget:function(){if(this.__feedbackWidget){this.__feedbackWidget.setVisibility(true);this.__feedbackWidget._renderRuntimeLeft(this.__dragCache.pageX+this.__feedbackDeltaX);this.__feedbackWidget._renderRuntimeTop(this.__dragCache.pageY+this.__feedbackDeltaY)}}},destruct:function(){this._disposeObjectDeep("__cursors",1);this._disposeObjects("__feedbackWidget");this._disposeFields("__dragCache","__data","__actions","__lastDestinationEvent")}});
 qx.Class.define($[149],{extend:qx.event.type.MouseEvent,construct:function(d,a,e,c){this._mouseEvent=a;var b=null;switch(d){case $[79]:case $[136]:b=a.getOriginalTarget()}arguments.callee.base.call(this,d,a.getDomEvent(),e.getElement(),e,b,c)},members:{getMouseEvent:function(){return this._mouseEvent},startDrag:function(){if(this.getType()!=$[79]){throw new Error("qx.event.type.DragEvent startDrag can only be called during the dragstart event: "+this.getType())}this.stopPropagation();qx.event.handler.DragAndDropHandler.getInstance().startDrag()},addData:function(b,a){qx.event.handler.DragAndDropHandler.getInstance().addData(b,a)},getData:function(a){return qx.event.handler.DragAndDropHandler.getInstance().getData(a)},clearData:function(){qx.event.handler.DragAndDropHandler.getInstance().clearData()},getDropDataTypes:function(){return qx.event.handler.DragAndDropHandler.getInstance().getDropDataTypes()},addAction:function(a){qx.event.handler.DragAndDropHandler.getInstance().addAction(a)},removeAction:function(a){qx.event.handler.DragAndDropHandler.getInstance().removeAction(a)},getAction:function(){return qx.event.handler.DragAndDropHandler.getInstance().getCurrentAction()},clearActions:function(){qx.event.handler.DragAndDropHandler.getInstance().clearActions()},setFeedbackWidget:function(d,c,b,a){qx.event.handler.DragAndDropHandler.getInstance().setFeedbackWidget(d,c,b,a)},setCursorPosition:function(b,a){qx.event.handler.DragAndDropHandler.getInstance().setCursorPosition(b,a)}},destruct:function(){this._disposeFields("_mouseEvent")}});
@@ -138,19 +138,19 @@
 qx.Class.define("qx.ui.pageview.tabview.Page",{extend:qx.ui.pageview.AbstractPage,properties:{appearance:{refine:true,init:"tab-view-page"}}});
 qx.Class.define("qx.ui.pageview.tabview.Button",{extend:qx.ui.pageview.AbstractButton,events:{closetab:$[3]},properties:{appearance:{refine:true,init:"tab-view-button"},showCloseButton:{check:$[2],init:false,apply:"_applyShowCloseButton",event:"changeShowCloseButton"},closeButtonImage:{check:$[21],init:"icon/16/actions/dialog-cancel.png",apply:"_applyCloseButtonImage"}},members:{_onkeydown:function(b){var a=b.getKeyIdentifier();if(a==$[54]||a==$[83]){this.setChecked(true)}},_onkeypress:function(c){switch(c.getKeyIdentifier()){case"Left":var b=this.getPreviousActiveSibling();if(b&&b!=this){delete qx.event.handler.FocusHandler.mouseFocus;b.setFocused(true);b.setChecked(true)}break;case $[39]:var a=this.getNextActiveSibling();if(a&&a!=this){delete qx.event.handler.FocusHandler.mouseFocus;a.setFocused(true);a.setChecked(true)}break}},_ontabclose:function(a){this.createDispatchDataEvent("closetab",this);a.stopPropagation()},_applyChecked:function(b,a){arguments.callee.base.call(this,b,a);this.setZIndex(b?1:0)},_applyShowCloseButton:function(b,a){if(!this._closeButtonImage){this._closeButtonImage=new qx.ui.basic.Image(this.getCloseButtonImage())}if(b){this._closeButtonImage.addEventListener($[16],this._ontabclose,this);this.add(this._closeButtonImage)}else{this.remove(this._closeButtonImage);this._closeButtonImage.removeEventListener($[16],this._ontabclose,this)}},_applyCloseButtonImage:function(b,a){if(this._closeButtonImage){this._closeButtonImage.setSource(b)}},_renderAppearance:function(){if(this.getView()){if(this.isFirstVisibleChild()){this.addState("firstChild")}else{this.removeState($[247])}if(this.isLastVisibleChild()){this.addState($[247])}else{this.removeState($[247])}if(this.getView().getAlignTabsToLeft()){this.addState("alignLeft")}else{this.removeState("alignLeft")}if(!this.getView().getAlignTabsToLeft()){this.addState("alignRight")}else{this.removeState("alignRight")}if(this.getView().getPlaceBarOnTop()){this.addState($[156])}else{this.removeState($[156])}if(!this.getView().getPlaceBarOnTop()){this.addState("barBottom")}else{this.removeState("barBottom")}}arguments.callee.base.call(this)}},destruct:function(){this._disposeObjects("_closeButtonImage")}});
 qx.Class.define("org.eclipse.rwt.ErrorHandler",{statics:{_overlay:null,_box:null,processJavaScriptErrorInResponse:function(a,b,c){var d="<p>Could not process server response:</p><pre>";d+=this._gatherErrorInfo(b,a,c);d+="</pre>";this.showErrorPage(d)},processJavaScriptError:function(b){this.errorObject=b;if(typeof console===$[19]){var e="Error: "+(b.message?b.message:b);if(typeof console.error!==$[7]){console.error(e)}else{if(typeof console.log!==$[7]){console.log(e)}}if(typeof console.log===$[45]&&b.stack){console.log("Error stack:\n"+b.stack)}else{if(typeof console.trace!==$[7]){console.trace()}}}var a=true;try{a=qx.core.Variant.isSet($[25],"on")}catch(c){}if(a){var d="<p>Javascript error occurred:</p><pre>";d+=this._gatherErrorInfo(b);d+="</pre>";this.showErrorPage(d);throw b}},showErrorPage:function(a){this._enableTextSelection();this._freezeApplication();document.title="Error Page";this._createErrorPageArea().innerHTML=a},showErrorBox:function(e,f){var b=String(window.location);var c=b.indexOf("#");if(c!=-1){b=b.substring(0,c)}var a='href="'+b+'"';var d=e.replace(/\{HREF_URL\}/,a);d=org.eclipse.rwt.protocol.EncodingUtil.replaceNewLines(d,$[107]);if(f){this._freezeApplication()}this._overlay=this._createOverlay();this._box=this._createErrorBoxArea(400,100);this._box.innerHTML=d;this._box.style.backgroundColor="#dae9f7";this._box.style.border="1px solid black";this._box.style.overflow="auto";var g=this._box.getElementsByTagName("a")[0];if(g){g.style.outline="none";g.focus()}},showWaitHint:function(){this.hideErrorBox();this._overlay=this._createOverlay();var c=org.eclipse.swt.theme.ThemeStore.getInstance();var a=$[318];var b=c.getSizedImage(a,{},"background-image");if(b&&b[0]){this._box=this._createErrorBoxArea(b[1],b[2]);org.eclipse.rwt.HtmlUtil.setBackgroundImage(this._box,b[0]);this._box.style.backgroundColor=$[82];this._box.style.border="none";this._box.style.overflow=$[13]}},hideErrorBox:function(){if(this._box){this._box.parentNode.removeChild(this._box);this._box=null}if(this._overlay){this._overlay.parentNode.removeChild(this._overlay);this._overlay=null}},_gatherErrorInfo:function(b,a,e){var g=[];try{g.push("Error: "+b+"\n");if(a){g.push("Script: "+a)}if(b instanceof Error){for(var d in b){g.push(d+": "+b[d])}if(b.stack){g.push("Stack: "+b.stack)}}g.push("Debug: "+qx.core.Variant.get($[25]));if(e){g.push("Request: "+e.getData())}var f=qx.ui.core.Widget._inFlushGlobalQueues;if(f){g.push("Phase: "+qx.ui.core.Widget._flushGlobalQueuesPhase)}}catch(c){}return g.join("\n  ")},_createOverlay:function(){var b=document.createElement("div");var d=org.eclipse.swt.theme.ThemeStore.getInstance();var a=d.getColor($[318],{},$[193]);var e=d.getAlpha($[318],{},$[193]);var c=b.style;c.position=$[17];c.width="100%";c.height="100%";c.backgroundColor=a===$[7]?$[82]:a;org.eclipse.rwt.HtmlUtil.setOpacity(b,e);c.zIndex=100000000;document.body.appendChild(b);return b},_createErrorPageArea:function(){var a=document.createElement("div");var b=a.style;b.position=$[17];b.width="100%";b.height="100%";b.backgroundColor="#ffffff";b.zIndex=100000001;b.overflow="auto";b.padding="10px";document.body.appendChild(a);return a},_createErrorBoxArea:function(d,a){var b=document.createElement("div");var c=b.style;c.position=$[17];c.width=d+"px";c.height=a+"px";var g=qx.ui.core.ClientDocument.getInstance();var f=(g.getClientWidth()-d)/2;var e=(g.getClientHeight()-a)/2;c.left=(f<0?0:f)+"px";c.top=(e<0?0:e)+"px";c.zIndex=100000001;c.padding="10px";c.textAlign=$[30];c.fontFamily='verdana,"lucida sans",arial,helvetica,sans-serif';c.fontSize="12px";c.fontStyle=$[61];c.fontWeight=$[61];document.body.appendChild(b);return b},_freezeApplication:function(){try{var b=org.eclipse.rwt.Display.getCurrent();b.setExitConfirmation(null);qx.io.remote.RequestQueue.getInstance().setEnabled(false);org.eclipse.rwt.EventHandler.detachEvents();qx.core.Target.prototype.dispatchEvent=function(){};org.eclipse.rwt.Animation._stopLoop()}catch(a){try{console.log("_freezeApplication exception: "+a)}catch(a){}}},_enableTextSelection:function(){var b=qx.ui.core.ClientDocument.getInstance();b.setSelectable(true);if(org.eclipse.rwt.Client.isGecko()){var a=org.eclipse.rwt.EventHandlerUtil;qx.html.EventRegistration.removeEventListener(document.documentElement,$[1],a._ffMouseFixListener)}}}});
-qx.Class.define("org.eclipse.rwt.widgets.TreeRowContainer",{extend:qx.ui.layout.VerticalBoxLayout,construct:function(){arguments.callee.base.call(this);this.setOverflow($[13]);this._scrollLeft=0;this._rowHeight=16;this._rowWidth=0;this._horzGridBorder=null;this._rowBorder=null;this._baseAppearance=null;this._topItem=null;this._vertGridLines=[];this._vertGridBorder=null;this._renderTime=null;this._topItemIndex=0;this._items=[];this._asyncQueue={};this._asyncTimer=new qx.client.Timer(0);this._asyncTimer.addEventListener($[28],this._onAsyncTimer,this);this._hoverItem=null;this._hoverElement=null;this._config=org.eclipse.rwt.widgets.TreeRowContainer.createRenderConfig();this.addEventListener($[6],this._onRowOver,this);this.addEventListener($[8],this._onRowOver,this);this.addEventListener($[237],this._onElementOver,this)},destruct:function(){this._rowBorder=null;this._topItem=null;this._renderTime=null;this._items=null;this._hoverItem=null;this._hoverElement=null;this._asyncTimer.dispose();this._asyncTimer=null},statics:{createRenderConfig:function(){var a={textColor:null,font:null,enabled:true,focused:false,linesVisible:false,fullSelection:false,hideSelection:false,alwaysHideSelection:false,variant:null,selectionPadding:null,indentionWidth:16,hasCheckBoxes:false,checkBoxLeft:null,checkBoxWidth:null,columnCount:0,treeColumn:0,alignment:[],itemLeft:[],itemWidth:[],itemImageLeft:[],itemImageWidth:[],itemTextLeft:[],itemTextWidth:[]};return a}},members:{getRenderConfig:function(){return this._config},setPostRenderFunction:function(b,a){this._postRender=[b,a]},setSelectionProvider:function(b,a){this._selectionProvider=[b,a]},setBaseAppearance:function(a){this._baseAppearance=a},setRowWidth:function(b){this._rowWidth=b;for(var a=0;a<this._children.length;a++){this._children[a].setWidth(b)}},setRowHeight:function(a){this._rowHeight=a;for(var b=0;b<this._children.length;b++){this._children[b].setHeight(a)}this._updateRowCount()},updateRowLines:function(){var a=this._config.linesVisible?this._getHorizontalGridBorder():null;this._rowBorder=a;for(var b=0;b<this._children.length;b++){this._children[b].setBorder(a);this._children[b].setState($[185],this._config.linesVisible)}},_renderGridVertical:function(){var a=this._config.linesVisible?this._config.columnCount:0;for(var b=0;b<a;b++){this._renderVerticalGridline(b)}for(var b=a;b<this._vertGridLines.length;b++){this._removeGridLine(b)}},_renderVerticalGridline:function(c){var e=this.getWidth();var b=this._config.itemWidth[c];var d=this._config.itemLeft[c]+b-1;if(b>0){var a=this._getVerticalGridline(c);a.style.left=d+"px";a.style.height=this.getHeight()+"px"}else{this._removeGridLine(c)}},_getVerticalGridline:function(b){if(typeof this._vertGridLines[b]===$[7]){var a=document.createElement("div");a.style.zIndex=1;a.style.position=$[17];a.style.top="0px";a.style.width="0px";this._getVerticalGridBorder().renderElement(a);if(this._isCreated){this._getTargetNode().appendChild(a)}else{this.addEventListener($[44],function(){this._getTargetNode().appendChild(a)},this)}this._vertGridLines[b]=a}return this._vertGridLines[b]},_removeGridLine:function(a){if(this._vertGridLines[a]){this._getTargetNode().removeChild(this._vertGridLines[a]);delete this._vertGridLines[a]}},_getVerticalGridBorder:function(){if(this._vertGridBorder===null){this._vertGridBorder=this._getGridBorder({vertical:true})}return this._vertGridBorder},_getHorizontalGridBorder:function(){if(this._horzGridBorder===null){this._horzGridBorder=this._getGridBorder({horizontal:true})}return this._horzGridBorder},_getGridBorder:function(d){var a=new org.eclipse.swt.theme.ThemeValues(d);var b=qx.lang.String.toFirstUp(this._baseAppearance)+"-GridLine";var c=a.getCssColor(b,$[65]);a.dispose();var e=[0,0,0,0];c=c==$[7]?$[82]:c;if(d.horizontal){e[2]=1}else{if(d.vertical){e[1]=1}}return new org.eclipse.rwt.Border(e,$[72],c)},_getRowAppearance:function(){return this._baseAppearance+"-row"},setTopItem:function(g,a,d){this._topItem=g;if(d){var h=a-this._topItemIndex;this._topItemIndex=a;var f=h>0;h=Math.abs(h);if(h>=this._children.length){this._renderAll(true)}else{var e=this._children.length-h;var c=f?e:0;var b=f?h:e;this._switchRows(b);this._updateRows(c,h,true)}}else{this._topItemIndex=a}},renderAll:function(){this._renderAll(false)},renderItemQueue:function(a){for(var c in a){var d=a[c];var b=this._items.indexOf(d);if(b!==-1){this._renderRow(this._children[b],d)}}},renderItem:function(a){if(this._isCreated&&a!=null){var b=this._findRowByItem(a);if(b!=null){this._renderRow(b,a)}}},setScrollLeft:function(a){this._scrollLeft=a;if(this.isSeeable()){arguments.callee.base.call(this,a)}},findItemByRow:function(b){var a=this._children.indexOf(b);return a!==-1?this._items[a]:null},getHoverItem:function(){return this._hoverItem},setHoverItem:function(a){if(a){this._hoverElement=$[139]}this._setHoverItem(a)},_renderAll:function(b){if(!b){this._renderGridVertical()}var c=(new Date()).getTime();this._updateRows(0,this._children.length,b);var a=(new Date()).getTime()-c;if(this._postRender){this._postRender[0].call(this._postRender[1],a)}},_updateRowCount:function(){var a=this.getHeight();var b=Math.round((this.getHeight()/this._rowHeight)+0.5);while(this._children.length<b){var c=new org.eclipse.rwt.widgets.TreeRow(this.getParent());c.setAppearance(this._getRowAppearance());c.setZIndex(0);c.setWidth(this._rowWidth);c.setHeight(this._rowHeight);c.setBorder(this._rowBorder);c.setState($[185],this._config.linesVisible);this.add(c)}while(this._children.length>b){this._children[this._children.length-1].destroy()}this._items.length=this._children.length;this._updateRowsEvenState()},_updateRowsEvenState:function(){for(var a=0;a<this._children.length;a++){this._children[a].updateEvenState(this._topItemIndex+a)}},_findRowByItem:function(b){var a=this._items.indexOf(b);return a!==-1?this._children[a]:null},_updateRows:function(g,f,c){this._updateRowsEvenState();var b=this._topItem;var e=g+f;var d=0;while(b!=null&&d<this._children.length){if(d>=g&&d<=e){this._renderRow(this._children[d],b,c);this._items[d]=b}b=b.getNextItem();d++}for(var a=d;a<this._children.length;a++){this._renderRow(this._children[a],null,c);this._items[a]=null}},_renderRow:function(c,a,b){c.renderItem(a,this._config,this._isSelected(a),this._getHoverElement(a),b)},_switchRows:function(c){var a=this._children.slice(c);var e=this._items.slice(c);this._children=a.concat(this._children.slice(0,c));this._items=e.concat(this._items.slice(0,c));this._invalidateVisibleChildren();var d={locationY:true};for(var b=0;b<this._children.length;b++){this.getLayoutImpl().layoutChild(this._children[b],d)}},_onElementOver:function(c){var d=c.getTarget();var a=d===c.getRelatedTarget();if(d instanceof org.eclipse.rwt.widgets.TreeRow&&a&&this._hoverItem){var b=d.getTargetIdentifier(c);if(this._hoverElement!==b){this._hoverElement=b;this._setHoverItem(this._hoverItem)}}},_onRowOver:function(b){var c=b.getOriginalTarget();if(c instanceof org.eclipse.rwt.widgets.TreeRow){if(b.getType()===$[8]){this._hoverElement=null;this._setHoverItem(null)}else{this._hoverElement=c.getTargetIdentifier(b);var a=this.findItemByRow(c);if(a!==this._hoverItem){this._setHoverItem(a)}}}},_setHoverItem:function(a){var b=this._hoverItem;this._hoverItem=a;if(b!==a){this._renderAsync(b)}this._renderAsync(a)},_getHoverElement:function(b){var a=null;if(this._hoverItem===b){a=this._hoverElement}return a},_renderAsync:function(a){if(a!==null){this._asyncQueue[a.toHashCode()]=a;this._asyncTimer.start()}},_onAsyncTimer:function(){this._asyncTimer.stop();this.renderItemQueue(this._asyncQueue);this._asyncQueue={}},_isSelected:function(a){return this._selectionProvider[0].call(this._selectionProvider[1],a)},_applyHeight:function(b,a){arguments.callee.base.call(this,b,a);this._updateRowCount()},_afterAppear:function(){arguments.callee.base.call(this);this.setScrollLeft(this._scrollLeft)}}});
+qx.Class.define("org.eclipse.rwt.widgets.TreeRowContainer",{extend:qx.ui.layout.VerticalBoxLayout,construct:function(){arguments.callee.base.call(this);this.setOverflow($[13]);this._scrollLeft=0;this._rowHeight=16;this._rowWidth=0;this._horzGridBorder=null;this._rowBorder=null;this._baseAppearance=null;this._topItem=null;this._vertGridLines=[];this._vertGridBorder=null;this._renderTime=null;this._topItemIndex=0;this._items=[];this._asyncQueue={};this._asyncTimer=new qx.client.Timer(0);this._asyncTimer.addEventListener($[26],this._onAsyncTimer,this);this._hoverItem=null;this._hoverElement=null;this._config=org.eclipse.rwt.widgets.TreeRowContainer.createRenderConfig();this.addEventListener($[6],this._onRowOver,this);this.addEventListener($[8],this._onRowOver,this);this.addEventListener($[237],this._onElementOver,this)},destruct:function(){this._rowBorder=null;this._topItem=null;this._renderTime=null;this._items=null;this._hoverItem=null;this._hoverElement=null;this._asyncTimer.dispose();this._asyncTimer=null},statics:{createRenderConfig:function(){var a={textColor:null,font:null,enabled:true,focused:false,linesVisible:false,fullSelection:false,hideSelection:false,alwaysHideSelection:false,variant:null,selectionPadding:null,indentionWidth:16,hasCheckBoxes:false,checkBoxLeft:null,checkBoxWidth:null,columnCount:0,treeColumn:0,alignment:[],itemLeft:[],itemWidth:[],itemImageLeft:[],itemImageWidth:[],itemTextLeft:[],itemTextWidth:[]};return a}},members:{getRenderConfig:function(){return this._config},setPostRenderFunction:function(b,a){this._postRender=[b,a]},setSelectionProvider:function(b,a){this._selectionProvider=[b,a]},setBaseAppearance:function(a){this._baseAppearance=a},setRowWidth:function(b){this._rowWidth=b;for(var a=0;a<this._children.length;a++){this._children[a].setWidth(b)}},setRowHeight:function(a){this._rowHeight=a;for(var b=0;b<this._children.length;b++){this._children[b].setHeight(a)}this._updateRowCount()},updateRowLines:function(){var a=this._config.linesVisible?this._getHorizontalGridBorder():null;this._rowBorder=a;for(var b=0;b<this._children.length;b++){this._children[b].setBorder(a);this._children[b].setState($[185],this._config.linesVisible)}},_renderGridVertical:function(){var a=this._config.linesVisible?this._config.columnCount:0;for(var b=0;b<a;b++){this._renderVerticalGridline(b)}for(var b=a;b<this._vertGridLines.length;b++){this._removeGridLine(b)}},_renderVerticalGridline:function(c){var e=this.getWidth();var b=this._config.itemWidth[c];var d=this._config.itemLeft[c]+b-1;if(b>0){var a=this._getVerticalGridline(c);a.style.left=d+"px";a.style.height=this.getHeight()+"px"}else{this._removeGridLine(c)}},_getVerticalGridline:function(b){if(typeof this._vertGridLines[b]===$[7]){var a=document.createElement("div");a.style.zIndex=1;a.style.position=$[17];a.style.top="0px";a.style.width="0px";this._getVerticalGridBorder().renderElement(a);if(this._isCreated){this._getTargetNode().appendChild(a)}else{this.addEventListener($[44],function(){this._getTargetNode().appendChild(a)},this)}this._vertGridLines[b]=a}return this._vertGridLines[b]},_removeGridLine:function(a){if(this._vertGridLines[a]){this._getTargetNode().removeChild(this._vertGridLines[a]);delete this._vertGridLines[a]}},_getVerticalGridBorder:function(){if(this._vertGridBorder===null){this._vertGridBorder=this._getGridBorder({vertical:true})}return this._vertGridBorder},_getHorizontalGridBorder:function(){if(this._horzGridBorder===null){this._horzGridBorder=this._getGridBorder({horizontal:true})}return this._horzGridBorder},_getGridBorder:function(d){var a=new org.eclipse.swt.theme.ThemeValues(d);var b=qx.lang.String.toFirstUp(this._baseAppearance)+"-GridLine";var c=a.getCssColor(b,$[65]);a.dispose();var e=[0,0,0,0];c=c==$[7]?$[82]:c;if(d.horizontal){e[2]=1}else{if(d.vertical){e[1]=1}}return new org.eclipse.rwt.Border(e,$[72],c)},_getRowAppearance:function(){return this._baseAppearance+"-row"},setTopItem:function(g,a,d){this._topItem=g;if(d){var h=a-this._topItemIndex;this._topItemIndex=a;var f=h>0;h=Math.abs(h);if(h>=this._children.length){this._renderAll(true)}else{var e=this._children.length-h;var c=f?e:0;var b=f?h:e;this._switchRows(b);this._updateRows(c,h,true)}}else{this._topItemIndex=a}},renderAll:function(){this._renderAll(false)},renderItemQueue:function(a){for(var c in a){var d=a[c];var b=this._items.indexOf(d);if(b!==-1){this._renderRow(this._children[b],d)}}},renderItem:function(a){if(this._isCreated&&a!=null){var b=this._findRowByItem(a);if(b!=null){this._renderRow(b,a)}}},setScrollLeft:function(a){this._scrollLeft=a;if(this.isSeeable()){arguments.callee.base.call(this,a)}},findItemByRow:function(b){var a=this._children.indexOf(b);return a!==-1?this._items[a]:null},getHoverItem:function(){return this._hoverItem},setHoverItem:function(a){if(a){this._hoverElement=$[139]}this._setHoverItem(a)},_renderAll:function(b){if(!b){this._renderGridVertical()}var c=(new Date()).getTime();this._updateRows(0,this._children.length,b);var a=(new Date()).getTime()-c;if(this._postRender){this._postRender[0].call(this._postRender[1],a)}},_updateRowCount:function(){var a=this.getHeight();var b=Math.round((this.getHeight()/this._rowHeight)+0.5);while(this._children.length<b){var c=new org.eclipse.rwt.widgets.TreeRow(this.getParent());c.setAppearance(this._getRowAppearance());c.setZIndex(0);c.setWidth(this._rowWidth);c.setHeight(this._rowHeight);c.setBorder(this._rowBorder);c.setState($[185],this._config.linesVisible);this.add(c)}while(this._children.length>b){this._children[this._children.length-1].destroy()}this._items.length=this._children.length;this._updateRowsEvenState()},_updateRowsEvenState:function(){for(var a=0;a<this._children.length;a++){this._children[a].updateEvenState(this._topItemIndex+a)}},_findRowByItem:function(b){var a=this._items.indexOf(b);return a!==-1?this._children[a]:null},_updateRows:function(g,f,c){this._updateRowsEvenState();var b=this._topItem;var e=g+f;var d=0;while(b!=null&&d<this._children.length){if(d>=g&&d<=e){this._renderRow(this._children[d],b,c);this._items[d]=b}b=b.getNextItem();d++}for(var a=d;a<this._children.length;a++){this._renderRow(this._children[a],null,c);this._items[a]=null}},_renderRow:function(c,a,b){c.renderItem(a,this._config,this._isSelected(a),this._getHoverElement(a),b)},_switchRows:function(c){var a=this._children.slice(c);var e=this._items.slice(c);this._children=a.concat(this._children.slice(0,c));this._items=e.concat(this._items.slice(0,c));this._invalidateVisibleChildren();var d={locationY:true};for(var b=0;b<this._children.length;b++){this.getLayoutImpl().layoutChild(this._children[b],d)}},_onElementOver:function(c){var d=c.getTarget();var a=d===c.getRelatedTarget();if(d instanceof org.eclipse.rwt.widgets.TreeRow&&a&&this._hoverItem){var b=d.getTargetIdentifier(c);if(this._hoverElement!==b){this._hoverElement=b;this._setHoverItem(this._hoverItem)}}},_onRowOver:function(b){var c=b.getOriginalTarget();if(c instanceof org.eclipse.rwt.widgets.TreeRow){if(b.getType()===$[8]){this._hoverElement=null;this._setHoverItem(null)}else{this._hoverElement=c.getTargetIdentifier(b);var a=this.findItemByRow(c);if(a!==this._hoverItem){this._setHoverItem(a)}}}},_setHoverItem:function(a){var b=this._hoverItem;this._hoverItem=a;if(b!==a){this._renderAsync(b)}this._renderAsync(a)},_getHoverElement:function(b){var a=null;if(this._hoverItem===b){a=this._hoverElement}return a},_renderAsync:function(a){if(a!==null){this._asyncQueue[a.toHashCode()]=a;this._asyncTimer.start()}},_onAsyncTimer:function(){this._asyncTimer.stop();this.renderItemQueue(this._asyncQueue);this._asyncQueue={}},_isSelected:function(a){return this._selectionProvider[0].call(this._selectionProvider[1],a)},_applyHeight:function(b,a){arguments.callee.base.call(this,b,a);this._updateRowCount()},_afterAppear:function(){arguments.callee.base.call(this);this.setScrollLeft(this._scrollLeft)}}});
 namespace($[217]);org.eclipse.rwt.TreeRowContainerWrapper=function(){this._fixedColumns=0;this._container=[];this._container[0]=new org.eclipse.rwt.widgets.TreeRowContainer();this._container[1]=new org.eclipse.rwt.widgets.TreeRowContainer();this._config=org.eclipse.rwt.widgets.TreeRowContainer.createRenderConfig();this._width=0;this._splitOffset=0;this._rowWidth=0;this.addEventListener($[6],this._onRowOver,this);this.addEventListener($[8],this._onRowOver,this)};org.eclipse.rwt.TreeRowContainerWrapper.createInstance=function(){if(!this.prototype._protoInit){for(var a=0;a<this._CONTAINER_DELEGATES.length;a++){this._createContainerDelegater(this._CONTAINER_DELEGATES[a])}for(var a=0;a<this._CONTAINER_GETTER_DELEGATES.length;a++){this._createContainerGetterDelegater(this._CONTAINER_GETTER_DELEGATES[a])}this.prototype._protoInit=true}return new org.eclipse.rwt.TreeRowContainerWrapper()};org.eclipse.rwt.TreeRowContainerWrapper._createContainerDelegater=function(a){this.prototype[a]=function(){this._container[0][a].apply(this._container[0],arguments);this._container[1][a].apply(this._container[1],arguments)}};org.eclipse.rwt.TreeRowContainerWrapper._createContainerGetterDelegater=function(a){this.prototype[a]=function(){return this._container[0][a].apply(this._container[0],arguments)}};org.eclipse.rwt.TreeRowContainerWrapper._CONTAINER_DELEGATES=["setParent",$[228],"addEventListener","removeEventListener","setSelectionProvider","setHeight","setTop","setBackgroundColor","setBackgroundImage","setRowHeight","setTopItem","renderItem","setToolTip","renderItemQueue","setBaseAppearance"];org.eclipse.rwt.TreeRowContainerWrapper._CONTAINER_GETTER_DELEGATES=["getTop","getHeight","getHoverItem","getElement","getChildrenLength"];org.eclipse.rwt.TreeRowContainerWrapper.prototype={_protoInit:false,getSubContainer:function(a){return this._container[a]||null},setFixedColumns:function(a){this._fixedColumns=a;this._updateConfig()},getFixedColumns:function(){return this._fixedColumns},getRenderConfig:function(){return this._config},setPostRenderFunction:function(){},setWidth:function(a){this._width=a;this._layoutX()},getWidth:function(){return this._width},setRowWidth:function(a){this._rowWidth=a;this._layoutX()},setScrollLeft:function(a){this._container[1].setScrollLeft(a)},findItemByRow:function(b){var a=this._container[0].findItemByRow(b);if(a==null){a=this._container[1].findItemByRow(b)}return a},updateRowLines:function(){this._container[0].getRenderConfig().linesVisible=this._config.linesVisible;this._container[0].updateRowLines();this._container[1].getRenderConfig().linesVisible=this._config.linesVisible;this._container[1].updateRowLines()},renderAll:function(){this._updateConfig();this._container[0].renderAll();this._container[1].renderAll()},_updateConfig:function(){var b=this._container[0].getRenderConfig();var g=this._container[1].getRenderConfig();for(var e in this._config){if(this._config[e] instanceof Array){b[e]=this._config[e].concat();g[e]=this._config[e].concat()}else{b[e]=this._config[e];g[e]=this._config[e]}}g.hasCheckBoxes=false;var a=this._getColumnOrder();var d=0;if(a.length>this._fixedColumns){d=this._config.itemLeft[a[this._fixedColumns]]}else{d=this._width}for(var c=0;c<a.length;c++){var f=a[c];if(c<this._fixedColumns){g.itemWidth[f]=0}else{b.itemWidth[f]=0;g.itemLeft[f]-=d;g.itemImageLeft[f]-=d;g.itemTextLeft[f]-=d}}if(this._splitOffset!==d){this._splitOffset=d;this._layoutX()}},_layoutX:function(){var a=Math.min(this._splitOffset,this._width);this._container[0].setWidth(a);this._container[0].setRowWidth(a);this._container[1].setLeft(a);this._container[1].setWidth(this._width-a);this._container[1].setRowWidth(this._rowWidth-a)},_getColumnOrder:function(){var a=[];var d=this._config.itemLeft.concat();var b=d.concat().sort(function(g,f){return g-f});for(var c=0;c<b.length;c++){var e=d.indexOf(b[c]);a[c]=e;d[e]=null}return a},_onRowOver:function(b){var c=b.getCurrentTarget();for(var a=0;a<this._container.length;a++){if(this._container[a]!==c){this._container[a].setHoverItem(c.getHoverItem())}}}};
 namespace($[217]);org.eclipse.rwt.TreeUtil={setFixedColumns:function(a,c){var b=a.getRowContainer();if(b.setFixedColumns){b.setFixedColumns(c);a.update()}},createTreeRowContainer:function(b){var a;if(b.splitContainer){a=org.eclipse.rwt.TreeRowContainerWrapper.createInstance()}else{a=new org.eclipse.rwt.widgets.TreeRowContainer()}return a},getColumnByPageX:function(b,d){var c=b.getRowContainer();var e=c instanceof org.eclipse.rwt.TreeRowContainerWrapper;if(e){c=b.getRowContainer().getSubContainer(0)}var a=this._getColumnByPageX(c,d);if(a===-1&&e){c=b.getRowContainer().getSubContainer(1);a=this._getColumnByPageX(c,d)}return a},_getColumnByPageX:function(a,d){var c=a.getRenderConfig();var g=c.columnCount;var h=g===0?0:-1;var e=a.getFirstChild().getElement();var b=qx.bom.element.Location.getLeft(e);for(var f=0;h==-1&&f<g;f++){var j=b+c.itemLeft[f];if(d>=j&&d<j+c.itemWidth[f]){h=f}}return h}};
 (function(){var b=org.eclipse.rwt.HtmlUtil;var a=qx.core.Variant;qx.Class.define("org.eclipse.rwt.widgets.TreeRow",{extend:qx.ui.basic.Terminator,construct:function(){arguments.callee.base.call(this);this.setSelectable(false);this.setHeight(16);this._styleMap=null;this._variant=null;this._expandElement=null;this._checkBoxElement=null;this._treeColumnElements=[];this._cellLabels=[];this._cellImages=[];this._cellBackgrounds=[];this._miscNodes=[];this._usedMiscNodes=0;this._cellsRendered=0},destruct:function(){this._expandElement=null;this._checkBoxElement=null;this._treeColumnElements=null;this._cellLabels=null;this._cellImages=null;this._cellBackgrounds=null;this._miscNodes=null},events:{itemRendered:$[3]},members:{renderItem:function(h,e,f,d,i){this._usedMiscNodes=0;if(h!==null){var c=this._renderAsSelected(e,f);var g=c&&e.fullSelection;this._renderStates(h,e,g,d);this._renderBackground(h,e,c);if(e.treeColumn!==-1){this._renderIndention(h,e,d)}this._renderCheckBox(h,e,d,i);this._renderCells(h,e,c,d,i);if(e.fullSelection||e.treeColumn===-1){this._renderOverlay(h,-1,e,f)}this._hideRemainingElements()}else{this.setBackgroundColor(null);this.setBackgroundImage(null);this.setBackgroundGradient(null);this._clearContent(e);if(!i&&e){this._renderAllBounds(e)}}this.dispatchSimpleEvent("itemRendered",h)},getTargetIdentifier:function(e){var d=e.getDomTarget();var c=$[139];if(this._expandElement!==null&&this._expandElement===d){c=$[280]}else{if(this._checkBoxElement!==null&&this._checkBoxElement===d){c=$[232]}else{while(d!==this.getElement()&&c===$[139]){if(this._treeColumnElements.indexOf(d)!=-1){c=$[309]}d=d.parentNode}}}return c},updateEvenState:function(c){this.setState("even",c%2===0)},_renderStates:function(f,d,e,c){this.setState($[203],f.isChecked());this.setState($[200],f.isGrayed());this.setState($[92],this._renderAsUnfocused(d));this.setState($[29],e);this._renderVariant(f.getVariant());this._renderOverState(c,d);this._styleMap=this._getStyleMap()},_renderVariant:function(c){if(this._variant!=c){if(this._variant!=null){this.setState(this._variant,false)}this._variant=c;if(this._variant!=null){this.setState(this._variant,true)}}},_renderOverState:function(d,c){this.setState("over",d!==null&&c.fullSelection)},setState:function(d,c){if(!this.__states){this.__states={}}if(c){this.__states[d]=true}else{delete this.__states[d]}},_getStyleMap:function(){var c=qx.theme.manager.Appearance.getInstance();return c.styleFrom(this.getAppearance(),this.__states)},_styleFromMap:function(){},_renderBackground:function(f,d,e){var c=this._styleMap.itemBackground;var h=this._styleMap.itemBackgroundImage;var g=this._styleMap.itemBackgroundGradient;if(this._hasOverlayBackground()&&!this._rendersOverlayElement(d,e)){c=this._styleMap.overlayBackground;h=this._styleMap.overlayBackgroundImage;g=this._styleMap.overlayBackgroundGradient}else{if(d.enabled!==false&&f!==null&&f.getBackground()!==null){c=f.getBackground();h=null;g=null}}this.setBackgroundColor(c!==$[7]?c:null);this.setBackgroundImage(h!==$[7]?h:null);this.setBackgroundGradient(g!==$[7]?g:null)},_hasOverlayBackground:function(){var c=this._styleMap.overlayBackground!==$[7]||this._styleMap.overlayBackgroundImage!==null||this._styleMap.overlayBackgroundGradient!==null;return c},_renderIndention:function(h,e,d){var i=this._getExpandSymbol(h,e,d);if(i!=null){var f=this._addIndentSymbol(h.getLevel(),e,i);this._expandElement=f}else{this._expandElement=null}var c=this._getLineSymbol(h,e);if(c!=null){var g=h.getParent();while(!g.isRootItem()){if(g.hasNextSibling()){this._addIndentSymbol(g.getLevel(),e,c)}g=g.getParent()}}},_getExpandSymbol:function(f,e,d){var c=this._getParentStates(e);if(f.getLevel()===0&&!f.hasPreviousSibling()){c.first=true}if(!f.hasNextSibling()){c.last=true}if(f.hasChildren()){if(f.isExpanded()){c.expanded=true}else{c.collapsed=true}}if(d===$[280]){c.over=true}return this._getImageFromAppearance("indent",c)},_getLineSymbol:function(e,d){var c=this._getParentStates(d);c.line=true;return this._getImageFromAppearance("indent",c)},_getParentStates:function(d){var c={};if(d.variant){c[d.variant]=true}return c},_getImageFromAppearance:function(h,d){var c=this.getAppearance()+"-"+h;var e=qx.theme.manager.Appearance.getInstance();var g=e.styleFrom(c,d);var f=g&&g.backgroundImage;return f?g.backgroundImage:null},_addIndentSymbol:function(d,f,c){var l=null;var j=(d+1)*f.indentionWidth;var g=f.itemWidth[f.treeColumn];if(j<=g){var h=d*f.indentionWidth;var k=this.getHeight();var e=j-h;var i=this._getMiscImage();this._setImage(i,c,f.enabled);this._setBounds(i,h,0,e,k);l=i}return l},_renderCheckBox:function(j,d,h,f){if(d.hasCheckBoxes){var k=this.__states;this.setState("over",h!==null&&h===$[232]);var g=this._getImageFromAppearance("check-box",k);this.setState("over",h!==null);if(this._checkBoxElement===null){this._checkBoxElement=this._createElement(3);this._checkBoxElement.style.backgroundRepeat=$[253];this._checkBoxElement.style.backgroundPosition=$[30]}this._setImage(this._checkBoxElement,g,d.enabled);if(d.treeColumn!==-1||!f){var e=this._getCheckBoxLeft(j,d);var c=this._getCheckBoxWidth(j,d);var i=this.getHeight();this._setBounds(this._checkBoxElement,e,0,c,i)}}},_renderCells:function(m,c,f,k,d){var e=this._getColumnCount(c);if(this._cellsRendered>e){this._removeCells(e,this._cellsRendered)}if(!c.fullSelection&&f){this._renderStates(m,c,false,k)}for(var g=0;g<e;g++){var l=this._isTreeColumn(g,c);if(this._getItemWidth(m,g,c)>0){this._renderCellBackground(m,g,c,d,f);if(!c.fullSelection&&l){this._renderStates(m,c,f,k);var j=this._renderCellImage(m,g,c,l,d);var h=this._renderCellLabel(m,g,c,l,d);this._treeColumnElements=[j,h];this._renderOverlay(m,g,c,f);this._renderStates(m,c,false,k)}else{this._renderCellImage(m,g,c,l,d);this._renderCellLabel(m,g,c,l,d)}}else{this._removeCell(g)}}this._cellsRendered=e},_renderOverlay:function(p,m,f,h){if(p&&this._rendersOverlayElement(f,h)){var k=this._styleMap.overlayBackground;var c=this._styleMap.itemBackground;var o=k!==$[7]&&k!==null;var d=h&&m!==-1&&c!==$[7]&&c!==null;if(p&&(d||o)){var i=this._getMiscBackground();i.style.backgroundColor=o?k:c;if(o){org.eclipse.rwt.HtmlUtil.setOpacity(i,this._styleMap.overlayBackgroundAlpha)}var n=this.getHeight();var g;var e;if(f.fullSelection){g=0;e=this.getWidth()}else{var l=f.selectionPadding;g=this._getItemTextLeft(p,m,f);g-=l[0];e=this._getItemTextWidth(p,m,f);e+=e>0?l[0]:0;var j=this._getVisualTextWidth(p,m,f);j+=l[0]+l[1];e=Math.min(e,j);var n=this.getHeight()}this._setBounds(i,g,0,e,n)}}},_rendersOverlayElement:function(e,f){var i=f&&!e.fullSelection&&e.treeColumn!==-1;var h=this._styleMap.overlayBackground;var c=this._styleMap.itemBackground;var d=h!==$[7]&&h!==null;var g=this._styleMap.overlayBackgroundImage!==null||this._styleMap.overlayBackgroundGradient!==null;var j=i&&c!==$[7]&&c!==null;var k=d&&(!g||i);return j||k},_renderCellBackground:function(h,c,d,i){var f=this._getCellBackgroundColor(h,c,d);var g=false;if(f!==$[7]&&f!=this._styleMap.backgroundColor){g=!i||!this._cellBackgrounds[c];var e=this._getBackgroundElement(c);e.style.backgroundColor=f}else{if(this._cellBackgrounds[c]){this._cellBackgrounds[c].style.backgroundColor=$[82];g=!i}}if(g){this._renderCellBackgroundBounds(h,c,d)}},_renderCellBackgroundBounds:function(h,d,e){var f=this._cellBackgrounds[d];if(f){var i=this._getItemLeft(h,d,e);var g=this._getItemWidth(h,d,e);var c=this.getHeight();if(this.hasState($[185])){c-=1}this._setBounds(f,i,0,g,c)}},_renderCellImage:function(h,c,e,d,j){var i=h.getImage(c);var f=null;var g=false;if(i!==null){g=d||!j||!this._cellImages[c];f=this._getCellImage(c);this._setImage(f,i,g?e.enabled:null)}else{if(this._cellImages[c]){g=d||!j;f=this._getCellImage(c);this._setImage(f,null,null)}}if(g){this._renderCellImageBounds(h,c,e)}return f},_renderCellImageBounds:function(g,c,d){var e=this._cellImages[c];if(e){var h=this._getItemImageLeft(g,c,d);var f=this._getItemImageWidth(g,c,d);this._setBounds(e,h,0,f,this.getHeight())}},_renderCellLabel:function(h,c,e,d,i){var f=null;var g=false;if(h.hasText(c)){g=d||!i||!this._cellLabels[c];f=this._getTextElement(c,e);this._renderElementContent(f,h,c,e.markupEnabled);if(g){f.style.textAlign=d?"left":this._getAlignment(c,e)}this._styleLabel(f,h,c,e)}else{if(this._cellLabels[c]){g=d||!i;f=this._getTextElement(c,e);this._renderElementContent(f,null,-1,e.markupEnabled)}}if(g){this._renderCellLabelBounds(h,c,e)}return f},_renderCellLabelBounds:function(g,c,d){var e=this._cellLabels[c];if(e){var h=this._getItemTextLeft(g,c,d);var f=this._getItemTextWidth(g,c,d);this._setBounds(e,h,0,f,this.getHeight());e.style.lineHeight=d.markupEnabled?"":e.style.height}},_renderElementContent:a.select($[0],{"mshtml|newmshtml":function(f,g,c,e){if(e){var d=g?g.getText(c,false):"";if(f.rap_Markup!==d){f.innerHTML=d;f.rap_Markup=d}}else{f.innerText=g?g.getText(c,false):""}},"default":function(f,g,c,e){var d=g?g.getText(c,!e):"";if(e){if(d!==f.rap_Markup){f.innerHTML=d;f.rap_Markup=d}}else{f.innerHTML=d}}}),_styleLabel:function(e,f,c,d){this._setForeground(e,this._getCellColor(f,c,d));this._setFont(e,this._getCellFont(f,c,d));this._setTextDecoration(e,this._styleMap.textDecoration);b.setTextShadow(e,this._styleMap.textShadow)},_getCellBackgroundColor:function(g,d,e,f){var c;if(e.enabled===false||(this._hasOverlayBackground()&&!this._rendersOverlayElement(e,f))){c=$[7]}else{c=g.getCellBackground(d)}return c},_getCellColor:function(f,d,e){var c=null;if(this._styleMap.overlayForeground!==$[7]){c=this._styleMap.overlayForeground}else{if(e.enabled!==false&&f.getCellForeground(d)){c=f.getCellForeground(d)}else{c=this._styleMap.itemForeground;if(c===$[7]){c=e.textColor}}}return c},_getCellFont:function(f,d,e){var c=f.getCellFont(d);if(c===null||c===""){c=e.font}return c},_getVisualTextWidth:function(i,g,d){var f=org.eclipse.swt.FontSizeCalculation;var k=0;if(this._cellLabels[g]){var e=this._getCellFont(i,g,d);var j=this._getFontProps(e);var h=this._cellLabels[g].innerHTML;var c=f.computeTextDimensions(h,j);k=c[0]}return k},_renderAsUnfocused:function(c){return !c.focused&&!this.hasState($[340])},_renderAsSelected:function(d,e){var c=(e||this.hasState($[340]))&&(!d.hideSelection||d.focused)&&!d.alwaysHideSelection;return c},_getFontProps:function(d){var c={};var e;if(d instanceof qx.ui.core.Font){e=d}else{e=qx.ui.core.Font.fromString(d)}e.renderStyle(c);e.dispose();return c},_setFont:function(d,c){if(c===""||c===null){this._resetFont(d)}else{if(c instanceof qx.ui.core.Font){c.renderStyle(d.style)}else{d.style.font=c}}},_resetFont:a.select($[0],{"default":function(c){c.style.font="";c.style.fontFamily="";c.style.fontSize="";c.style.fontVariant="";c.style.fontStyle="";c.style.fontWeight=""},mshtml:function(c){c.style.fontFamily="";c.style.fontSize="";c.style.fontVariant="";c.style.fontStyle="";c.style.fontWeight=""}}),_setTextDecoration:function(d,c){if(c==null||c==="none"){d.style.textDecoration=""}else{d.style.textDecoration=c}},_setBounds:function(f,d,h,g,c){try{f.style.left=d+"px";f.style.top=h+"px";f.style.width=g+"px";f.style.height=c+"px"}catch(e){throw"setBounds failed: "+[f,d,h,g,c]}},_setForeground:function(d,c){d.style.color=c!=null?c:""},_setImage:function(e,f,d){e.style.backgroundImage=f?"URL("+f+")":"none";if(d!==null){var c=d?1:0.3;b.setOpacity(e,c)}},_getTextElement:function(d,e){var c=this._cellLabels[d];if(!c){c=this._createElement(3);c.style.verticalAlign=$[46];c.style.whiteSpace="nowrap";if(org.eclipse.rwt.Client.isNewMshtml()){c.style.backgroundColor="rgba(0, 0, 0, 0)"}this._cellLabels[d]=c}return c},_getCellImage:function(d){var c=this._cellImages[d];if(!c){c=this._createElement(3);c.style.backgroundRepeat=$[253];c.style.backgroundPosition=$[30];this._cellImages[d]=c}return c},_getMiscImage:function(){var c=this._getMiscElement(3);c.innerHTML="";c.style.backgroundColor="";return c},_getMiscBackground:function(){var c=this._getMiscElement(2);c.style.backgroundImage="";c.innerHTML="";return c},_getBackgroundElement:function(d){var c=this._cellBackgrounds[d];if(!c){c=this._createElement(1);this._cellBackgrounds[d]=c}return c},_getMiscElement:function(e){var c;var d=this._getTargetNode();if(this._usedMiscNodes<this._miscNodes.length){c=this._miscNodes[this._usedMiscNodes];c.style.display="";c.style.zIndex=e}else{c=this._createElement(e);c.style.backgroundRepeat=$[253];c.style.backgroundPosition=$[30];this._miscNodes.push(c)}this._usedMiscNodes++;return c},_createElement:function(d){var c=document.createElement("div");c.style.position=$[17];c.style.overflow=$[13];c.style.zIndex=d;this._getTargetNode().appendChild(c);return c},_clearContent:function(c){for(var d=0;d<this._cellBackgrounds.length;d++){if(this._cellBackgrounds[d]){this._cellBackgrounds[d].style.backgroundColor=$[82]}}for(var d=0;d<this._cellImages.length;d++){if(this._cellImages[d]){this._cellImages[d].style.backgroundImage=""}}for(var d=0;d<this._cellLabels.length;d++){if(this._cellLabels[d]){this._renderElementContent(this._cellLabels[d],null,-1,c.markupEnabled)}}if(this._checkBoxElement){this._checkBoxElement.style.backgroundImage=""}this._hideRemainingElements()},_renderAllBounds:function(c){var e=this._getColumnCount(c);for(var d=0;d<e;d++){if(!this._isTreeColumn(d,c)){this._renderCellLabelBounds(null,d,c);this._renderCellImageBounds(null,d,c)}this._renderCellBackgroundBounds(null,d,c)}},_hideRemainingElements:function(){var d=this._getTargetNode();for(var c=this._usedMiscNodes;c<this._miscNodes.length;c++){this._miscNodes[c].style.display="none"}},_removeCells:function(e,d){for(var c=e;c<d;c++){this._removeCell(c)}},_removeCell:function(c){this._removeNode(this._cellBackgrounds,c);this._removeNode(this._cellImages,c);this._removeNode(this._cellLabels,c)},_removeNode:function(c,e){var d=c[e];if(d){this._getTargetNode().removeChild(d);c[e]=null}},_ieFixLayoutOnAppear:a.select($[0],{mshtml:function(){arguments.callee.base.call(this);var d=this._getTargetNode();for(var c=0;c<d.childNodes.length;c++){if(d.childNodes[c].style.display==="none"){d.childNodes[c].style.display="";d.childNodes[c].style.display="none"}}},"default":qx.lang.Function.returnTrue}),_getCheckBoxLeft:function(d,c){return this._correctOffset(c.checkBoxLeft,d,c)},_getCheckBoxWidth:function(e,d){var c=d.checkBoxWidth;var f=this._getCheckBoxLeft(e,d);return this._correctWidth(c,f,0,d)},_getItemLeft:function(e,d,c){return c.itemLeft[d]},_getItemWidth:function(e,d,c){return c.itemWidth[d]},_getItemImageLeft:function(f,e,d){var c=d.itemImageLeft[e];if(this._isTreeColumn(e,d)){c=this._correctOffset(c,f,d)}return c},_getItemImageWidth:function(f,e,d){var c=d.itemImageWidth[e];if(this._isTreeColumn(e,d)){var g=this._getItemImageLeft(f,e,d);c=this._correctWidth(c,g,e,d)}return c},_getItemTextLeft:function(f,e,d){var c=d.itemTextLeft[e];if(this._isTreeColumn(e,d)){c=this._correctOffset(c,f,d)}return c},_getItemTextWidth:function(f,e,d){var c=d.itemTextWidth[e];if(this._isTreeColumn(e,d)){var g=this._getItemTextLeft(f,e,d);c=this._correctWidth(c,g,e,d)}return c},_correctOffset:function(e,d,c){return e+this._getIndentionOffset(d.getLevel()+1,c)},_correctWidth:function(g,i,f,d){var c=g;var h=d.itemLeft[f]+d.itemWidth[f];var e=i+c;if(e>h){c=Math.max(0,h-i)}return c},_getAlignment:function(d,c){return c.alignment[d]?c.alignment[d]:"left"},_getIndentionOffset:function(d,c){return c.indentionWidth*d},_getColumnCount:function(c){return Math.max(1,c.columnCount)},_isTreeColumn:function(d,c){return d===c.treeColumn},supportsDrop:function(){return true}}})}());
-qx.Class.define("org.eclipse.swt.Request",{type:$[37],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._url="";this._parameters={};this._uiRootId="";this._requestCounter=null;this._runningRequestCount=0;this._inDelayedSend=false;var a=qx.io.remote.RequestQueue.getInstance();a.setDefaultTimeout(60000*60*24);a.setMaxConcurrentRequests(1);this._currentRequest=null;this._waitHintTime=700},destruct:function(){this._currentRequest=null},events:{send:$[48],received:$[48]},members:{setUrl:function(a){this._url=a},getUrl:function(){return this._url},setUIRootId:function(a){this._uiRootId=a},getUIRootId:function(){return this._uiRootId},setRequestCounter:function(a){this._requestCounter=a},getRequestCounter:function(){return this._requestCounter},addParameter:function(a,b){this._parameters[a]=b},removeParameter:function(a){delete this._parameters[a]},getParameter:function(b){var a=this._parameters[b];if(a===undefined){a=null}return a},addEvent:function(a,b){this._parameters[a]=b},send:function(){if(!this._inDelayedSend){this._inDelayedSend=true;var a=function(){this._sendImmediate(true)};qx.client.Timer.once(a,this,60)}},sendSyncronous:function(){this._sendImmediate(false)},_sendImmediate:function(a){this._dispatchSendEvent();this._parameters.uiRoot=this._uiRootId;if(this._requestCounter==-1){this._inDelayedSend=false;this.send()}else{if(this._requestCounter!=null){this._parameters.requestCounter=this._requestCounter;this._requestCounter=-1}var b=this._createRequest();b.setAsynchronous(a);this._inDelayedSend=false;this._copyParameters(b);this._runningRequestCount++;if(this._runningRequestCount===1){qx.client.Timer.once(this._showWaitHint,this,this._waitHintTime)}this._parameters={};if(a){b.send()}else{this._sendStandalone(b)}}},_copyParameters:function(b){var c=[];for(var a in this._parameters){c.push(encodeURIComponent(a)+"="+encodeURIComponent(this._parameters[a]))}b.setData(c.join("&"))},_createRequest:function(){var a=new qx.io.remote.Request(this._url,"POST",$[282]);a.addEventListener($[52],this._handleSending,this);a.addEventListener($[26],this._handleCompleted,this);a.addEventListener($[38],this._handleFailed,this);return a},_sendStandalone:function(b){var a=b;var c=new qx.io.remote.Exchange(a);c.addEventListener($[52],a._onsending,a);c.addEventListener($[56],a._onreceiving,a);c.addEventListener($[26],a._oncompleted,a);c.addEventListener($[55],a._onaborted,a);c.addEventListener($[53],a._ontimeout,a);c.addEventListener($[38],a._onfailed,a);c._start=(new Date()).valueOf();c.send()},_handleSending:function(a){var b=a.getTarget();this._currentRequest=b.getRequest()},_handleFailed:function(a){var b=a.getTarget();this._currentRequest=b.getRequest();var d=true;if(this._isConnectionError(a.getStatusCode())){d=!this._handleConnectionError(a)}if(d){var f=b.getImplementation().getRequest();var g=f.responseText;if(typeof(g)=="unknown"){g=undefined}if(g&&g.length>0){if(this._isJsonResponse(f)){var c=JSON.parse(g);org.eclipse.rwt.ErrorHandler.showErrorBox(c.meta.message,true)}else{org.eclipse.rwt.ErrorHandler.showErrorPage(g)}}else{var e=String(a.getStatusCode());g="<p>Request failed.</p><pre>HTTP Status Code: "+e+"</pre>";org.eclipse.rwt.ErrorHandler.showErrorPage(g)}this._hideWaitHint()}b.dispose()},_handleCompleted:function(a){var b=a.getTarget();var f=b.getImplementation().getRequest().responseText;var c=false;try{var e=JSON.parse(f);org.eclipse.swt.EventUtil.setSuspended(true);org.eclipse.rwt.protocol.Processor.processMessage(e);qx.ui.core.Widget.flushGlobalQueues();org.eclipse.swt.EventUtil.setSuspended(false);org.eclipse.rwt.UICallBack.getInstance().sendUICallBackRequest()}catch(d){org.eclipse.rwt.ErrorHandler.processJavaScriptErrorInResponse(f,d,this._currentRequest);c=true}if(!c){this._dispatchReceivedEvent()}this._runningRequestCount--;this._hideWaitHint();b.dispose()},_handleConnectionError:function(g){var a="The server seems to be temporarily unavailable.\nWould you like to retry?";var i=confirm(a);if(i){org.eclipse.rwt.ErrorHandler.hideErrorBox();var b=this._createRequest();var e=this._currentRequest;b.setAsynchronous(e.getAsynchronous());var c=e.getRequestHeaders();for(var d in c){b.setRequestHeader(d,c[d])}var h=e.getParameters();for(var f in h){b.setParameter(f,h[f])}b.setData(e.getData());this._restartRequest(b)}return i},_restartRequest:function(a){a.setState($[167]);var b=qx.io.remote.RequestQueue.getInstance();qx.lang.Array.insertAt(b._queue,a,0);b._check();if(b.getEnabled()){b._timer.start()}},_isConnectionError:qx.core.Variant.select($[0],{"mshtml|newmshtml":function(b){var a=(b===12007||b===12029||b===12030||b===12031||b===12152);return a},gecko:function(b){var a;if(org.eclipse.rwt.Client.getMajor()*10+org.eclipse.rwt.Client.getMinor()>=19){a=(b===0)}else{a=(b===-1)}return a},"default":function(a){return a===0}}),_isJsonResponse:function(a){var b=a.getResponseHeader($[348]);return b.indexOf(qx.util.Mime.JSON)!==-1},_showWaitHint:function(){if(this._runningRequestCount>0){var a=qx.ui.core.ClientDocument.getInstance();a.setGlobalCursor(qx.constant.Style.CURSOR_PROGRESS);org.eclipse.rwt.ErrorHandler.showWaitHint()}},_hideWaitHint:function(){if(this._runningRequestCount===0){var a=qx.ui.core.ClientDocument.getInstance();a.setGlobalCursor(null);org.eclipse.rwt.ErrorHandler.hideErrorBox()}},_dispatchSendEvent:function(){if(this.hasEventListeners("send")){var a=new qx.event.type.DataEvent("send",this);this.dispatchEvent(a,true)}},_dispatchReceivedEvent:function(){if(this.hasEventListeners($[251])){var a=new qx.event.type.DataEvent($[251],this);this.dispatchEvent(a,true)}}}});
-qx.Class.define("org.eclipse.rwt.widgets.Menu",{extend:qx.ui.popup.Popup,include:org.eclipse.rwt.VisibilityAnimationMixin,construct:function(){arguments.callee.base.call(this);this._layout=null;this._preItem=null;this._hasListener=false;this._maxCellWidths=null;this._menuLayoutScheduled=false;this._opener=null;this._hoverItem=null;this._openTimer=null;this._closeTimer=null;this._openItem=null;this._itemsHiddenFlag=false;this._hoverFirstItemFlag=false;this.setHeight("auto");this.setWidth("auto");this._maxCellWidths=[null,null,null,null];this._layout=new qx.ui.layout.VerticalBoxLayout();this._layout.set({top:0,right:0,bottom:0,left:0,anonymous:true});this.add(this._layout);this.addEventListener($[1],this._unhoverSubMenu);this.addEventListener($[8],this._onMouseOut);this.addEventListener($[6],this._onMouseOver);this.addEventListener($[4],this._onKeyPress);this._openTimer=new qx.client.Timer(250);this._openTimer.addEventListener($[28],this._onopentimer,this);this._closeTimer=new qx.client.Timer(250);this._closeTimer.addEventListener($[28],this._onclosetimer,this);this.addToDocument()},destruct:function(){this._disposeObjects("_openTimer","_closeTimer","_preItem","_animation");this._disposeFields("_lastActive","_lastFocus","_layout","_opener","_hoverItem","_openItem")},statics:{menuDetectedByKey:function(a){if(a.getKeyIdentifier()==="Apps"){org.eclipse.rwt.widgets.Menu.contextMenuHandler(a)}},menuDetectedByMouse:function(a){if(a.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT){org.eclipse.rwt.widgets.Menu.contextMenuHandler(a)}},contextMenuHandler:function(d){var e=org.eclipse.swt.WidgetUtil.getControl(d.getTarget());var b=e?e.getContextMenu():null;if(b!=null){d.stopPropagation();d.preventDefault();var c=qx.event.type.MouseEvent.getPageX();var a=qx.event.type.MouseEvent.getPageY();b.setLocation(c,a);b.setOpener(e);b.show()}},getAllowContextMenu:function(c,b){var a=false;switch(c.classname){case $[428]:case $[434]:case"qx.ui.form.TextArea":if(c.getEnabled()!=false){if(org.eclipse.rwt.widgets.Menu._hasNativeMenu(b)){a=c.getContextMenu()==null}}break}return a},_hasNativeMenu:function(b){var a=typeof b.tagName==$[9]?b.tagName.toUpperCase():"";return a==="INPUT"||a==="TEXTAREA"}},properties:{appearance:{refine:true,init:"menu"}},events:{changeHoverItem:$[3]},members:{setOpener:function(a){this._opener=a},getOpener:function(a){return this._opener},getFocusRoot:function(){var a=null;if(this._opener){a=this._opener.getFocusRoot()}else{if(this._hasParent){a=this.getParent().getFocusRoot()}}return a},addMenuItemAt:function(b,a){if(b.setParentMenu){b.setParentMenu(this)}this._layout.addAt(b,a)},scheduleMenuLayout:function(){if(this._menuLayoutScheduled!=true){this._menuLayoutScheduled=true;var b=this._layout.getChildren();var c=b.length;for(var a=0;a<c;a++){b[a]._invalidatePreferredInnerWidth();b[a].addToQueue("layoutX")}this.addToQueue("menuLayout")}},_layoutPost:function(a){arguments.callee.base.call(this,a);if(a.menuLayout){this._menuLayoutScheduled=false;if(this.isSeeable()){this._afterAppear()}}},getMaxCellWidth:function(b){if(this._maxCellWidths[b]==null){var a=0;var d=this._layout.getChildren();var e=d.length;for(var c=0;c<e;c++){if(d[c].getPreferredCellWidth){a=Math.max(a,d[c].getPreferredCellWidth(b))}}this._maxCellWidths[b]=a}if(b==0&&this._maxCellWidths[0]==0&&this.getMaxCellWidth(1)==0){this._maxCellWidths[b]=13}return this._maxCellWidths[b]},invalidateMaxCellWidth:function(a){this._maxCellWidths[a]=null},invalidateAllMaxCellWidths:function(){for(var a=0;a<4;a++){this._maxCellWidths[a]=null}},isSubElement:function(b,e){var f=false;if((b.getParent()===this._layout)||((!e)&&(b===this))){f=true}if(!f){var d=this._layout.getChildren(),c=d.length;for(var g=0;g<c;g++){if(this.hasSubmenu(d[g])&&d[g].getMenu().isSubElement(b,e)){f=true}}}return f},setHoverItem:function(b,c){var a=b?b:this._openItem;if(this._hoverItem&&this._hoverItem!=a){this._hoverItem.removeState("over")}if(a){a.addState("over")}this._hoverItem=a;if(!c){this._openTimer.setEnabled(false);if(this.hasSubmenu(a)&&(this._openItem!=a)){this._openTimer.setEnabled(true)}if(this._openItem){if(this._openItem==a||a==null){this._closeTimer.setEnabled(false)}else{if(a!=null){this._closeTimer.setEnabled(true)}}}}this.dispatchSimpleEvent("changeHoverItem")},getHoverItem:function(a){return this._hoverItem},hoverFirstItem:function(){if(this._isDisplayable&&!this._itemsHiddenFlag){this.setHoverItem(null,true);this._hoverNextItem();this.removeState($[459])}else{this.addState($[459])}},_hoverNextItem:function(){var d;var c=null;var b=this._layout.getVisibleChildren();var a=b.indexOf(this._hoverItem);var e=a;do{a++;if(a>b.length){a=-1}d=a>=0?b[a]:null;if(d&&d.isEnabled()&&d.classname==$[352]){c=d}}while(!c&&(a!=e));this.setHoverItem(c,true)},_hoverPreviousItem:function(){var d;var c=null;var b=this._layout.getVisibleChildren();var a=b.indexOf(this._hoverItem);var e=a;do{a--;if(a<-1){a=b.length}d=a>=0?b[a]:null;if(d&&d.isEnabled()&&d.classname==$[352]){c=d}}while(!c&&(a!=e));this.setHoverItem(c,true)},_makeActive:function(){this._lastActive=this.getFocusRoot().getActiveChild();this._lastFocus=this.getFocusRoot().getFocusedChild();this.getFocusRoot().setActiveChild(this)},_makeInactive:function(){var a=this.getFocusRoot();a.setActiveChild(this._lastActive);a.setFocusedChild(this._lastFocus)},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);org.eclipse.rwt.MenuManager.getInstance().add(this);this.bringToFront();this._makeActive();this._menuShown()},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);org.eclipse.rwt.MenuManager.getInstance().remove(this);if(this.getFocusRoot()){this._makeInactive()}this.setOpenItem(null);this.setHoverItem(null);if(this._opener instanceof org.eclipse.rwt.widgets.MenuItem){var a=this._opener.getParentMenu();if(a instanceof org.eclipse.rwt.widgets.MenuBar){this._opener.removeState($[11]);if(a.getOpenItem()==this._opener){a.setOpenItem(null)}}}this._menuHidden()},hasSubmenu:function(a){return a&&a.getMenu&&a.getMenu()},_onopentimer:function(a){this._openTimer.stop();this.setOpenItem(this._hoverItem);this._closeTimer.stop()},_onclosetimer:function(a){this._closeTimer.stop();this.setOpenItem(null)},setOpenItem:function(d){if(this._openItem&&this._openItem.getMenu()){this._openItem.setSubMenuOpen(false);var a=this._openItem.getMenu();a.hide();this._makeActive()}this._openItem=d;if(d&&d.getMenu()){var b=d.getMenu();d.setSubMenuOpen(true);b.setOpener(d);var e=d.getElement();var c=this.getElement();b.setTop(qx.bom.element.Location.getTop(e)-2);b.setLeft(qx.bom.element.Location.getLeft(c)+qx.html.Dimension.getBoxWidth(c)-3);b.show()}},_onMouseOut:function(a){var c=a.getTarget();var b=a.getRelatedTarget();if(c==this||(b!=this&&!this.contains(b))){this.setHoverItem(null)}},_onMouseOver:function(a){var b=a.getTarget();if(b!=this){this.setHoverItem(b)}this._unhoverSubMenu()},_unhoverSubMenu:function(){if(this._openItem){var a=this._openItem.getMenu();a.setOpenItem(null);a.setHoverItem(null)}},_onKeyPress:function(a){switch(a.getKeyIdentifier()){case"Up":this._handleKeyUp(a);break;case"Down":this._handleKeyDown(a);break;case"Left":this._handleKeyLeft(a);break;case $[39]:this._handleKeyRight(a);break;case $[54]:this._handleKeyEnter(a);break}},_handleKeyUp:function(a){if(this._openItem){this._openItem.getMenu()._hoverPreviousItem()}else{this._hoverPreviousItem()}a.preventDefault();a.stopPropagation()},_handleKeyDown:function(a){if(this._openItem){this._openItem.getMenu()._hoverNextItem()}else{this._hoverNextItem()}a.preventDefault();a.stopPropagation()},_handleKeyLeft:function(c){var a=this._opener?this._opener.getParentMenu():null;if(a instanceof org.eclipse.rwt.widgets.Menu){var b=this._opener;a.setOpenItem(null);a.setHoverItem(b,true);c.preventDefault();c.stopPropagation()}},_handleKeyRight:function(a){if(this.hasSubmenu(this._hoverItem)){this._onopentimer();this.setHoverItem(null,true);this._openItem.getMenu().hoverFirstItem();a.preventDefault();a.stopPropagation()}},_handleKeyEnter:function(a){if(this.hasSubmenu(this._hoverItem)){this._onopentimer();this.setHoverItem(null,true);this._openItem.getMenu().hoverFirstItem()}else{if(this._hoverItem){this._hoverItem.execute();org.eclipse.rwt.MenuManager.getInstance().update()}}a.preventDefault();a.stopPropagation()},setHasMenuListener:function(a){this._hasListener=a},_menuShown:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){if(this._hasListener){if(this._preItem==null){this._preItem=new org.eclipse.rwt.widgets.MenuItem("push");this._preItem.setText("...");this._preItem.setEnabled(false);this.addMenuItemAt(this._preItem,0)}var a=this._layout.getChildren();for(var b=0;b<a.length;b++){var d=a[b];d.setDisplay(false)}this._preItem.setDisplay(true);this._itemsHiddenFlag=true;if(this.getWidth()<60){this.setWidth(60)}var e=org.eclipse.swt.WidgetManager.getInstance();var g=e.findIdByWidget(this);var c=org.eclipse.swt.Request.getInstance();c.addEvent("org.eclipse.swt.events.menuShown",g);c.send()}else{var f=this._layout.getChildren().length!=0;this.setDisplay(f);if(f){if(this._hoverFirstItemFlag){this.hoverFirstItem()}}}}},_menuHidden:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){if(this._hasListener){var b=org.eclipse.swt.WidgetManager.getInstance();var c=b.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent("org.eclipse.swt.events.menuHidden",c);a.send()}}},unhideItems:function(c){if(c){var a=this._layout.getChildren();for(var b=0;b<a.length;b++){a[b].setDisplay(true)}if(this._preItem){this._preItem.setDisplay(false)}this._itemsHiddenFlag=false;if(this._hoverFirstItemFlag){this.hoverFirstItem()}}else{this.hide()}this._hoverFirstItemFlag=false},showMenu:function(b,a,c){if(b!=null){b._renderAppearance();b.setLocation(a,c);b.show()}}}});
+qx.Class.define("org.eclipse.swt.Request",{type:$[37],extend:qx.core.Target,construct:function(){arguments.callee.base.call(this);this._url="";this._parameters={};this._uiRootId="";this._requestCounter=null;this._runningRequestCount=0;this._inDelayedSend=false;var a=qx.io.remote.RequestQueue.getInstance();a.setDefaultTimeout(60000*60*24);a.setMaxConcurrentRequests(1);this._currentRequest=null;this._waitHintTime=700;this._waitHintTimer=new qx.client.Timer(this._waitHintTime);this._waitHintTimer.addEventListener($[26],this._showWaitHint,this)},destruct:function(){this._currentRequest=null;this._waitHintTimer.dispose();this._waitHintTimer=null},events:{send:$[48],received:$[48]},members:{setUrl:function(a){this._url=a},getUrl:function(){return this._url},setUIRootId:function(a){this._uiRootId=a},getUIRootId:function(){return this._uiRootId},setRequestCounter:function(a){this._requestCounter=a},getRequestCounter:function(){return this._requestCounter},addParameter:function(a,b){this._parameters[a]=b},removeParameter:function(a){delete this._parameters[a]},getParameter:function(b){var a=this._parameters[b];if(a===undefined){a=null}return a},addEvent:function(a,b){this._parameters[a]=b},send:function(){if(!this._inDelayedSend){this._inDelayedSend=true;var a=function(){this._sendImmediate(true)};qx.client.Timer.once(a,this,60)}},sendSyncronous:function(){this._sendImmediate(false)},_sendImmediate:function(a){this._dispatchSendEvent();this._parameters.uiRoot=this._uiRootId;if(this._requestCounter==-1){this._inDelayedSend=false;this.send()}else{if(this._requestCounter!=null){this._parameters.requestCounter=this._requestCounter;this._requestCounter=-1}var b=this._createRequest();b.setAsynchronous(a);this._inDelayedSend=false;this._copyParameters(b);this._runningRequestCount++;if(this._runningRequestCount===1){this._waitHintTimer.startWith(this._waitHintTime)}this._parameters={};if(a){b.send()}else{this._sendStandalone(b)}}},_copyParameters:function(b){var c=[];for(var a in this._parameters){c.push(encodeURIComponent(a)+"="+encodeURIComponent(this._parameters[a]))}b.setData(c.join("&"))},_createRequest:function(){var a=new qx.io.remote.Request(this._url,"POST",$[282]);a.addEventListener($[52],this._handleSending,this);a.addEventListener($[27],this._handleCompleted,this);a.addEventListener($[38],this._handleFailed,this);return a},_sendStandalone:function(b){var a=b;var c=new qx.io.remote.Exchange(a);c.addEventListener($[52],a._onsending,a);c.addEventListener($[56],a._onreceiving,a);c.addEventListener($[27],a._oncompleted,a);c.addEventListener($[55],a._onaborted,a);c.addEventListener($[53],a._ontimeout,a);c.addEventListener($[38],a._onfailed,a);c._start=(new Date()).valueOf();c.send()},_handleSending:function(a){var b=a.getTarget();this._currentRequest=b.getRequest()},_handleFailed:function(a){var b=a.getTarget();this._currentRequest=b.getRequest();var d=true;if(this._isConnectionError(a.getStatusCode())){d=!this._handleConnectionError(a)}if(d){var f=b.getImplementation().getRequest();var g=f.responseText;if(typeof(g)=="unknown"){g=undefined}if(g&&g.length>0){if(this._isJsonResponse(f)){var c=JSON.parse(g);org.eclipse.rwt.ErrorHandler.showErrorBox(c.meta.message,true)}else{org.eclipse.rwt.ErrorHandler.showErrorPage(g)}}else{var e=String(a.getStatusCode());g="<p>Request failed.</p><pre>HTTP Status Code: "+e+"</pre>";org.eclipse.rwt.ErrorHandler.showErrorPage(g)}this._hideWaitHint()}b.dispose()},_handleCompleted:function(a){var b=a.getTarget();var f=b.getImplementation().getRequest().responseText;var c=false;try{var e=JSON.parse(f);org.eclipse.swt.EventUtil.setSuspended(true);org.eclipse.rwt.protocol.Processor.processMessage(e);qx.ui.core.Widget.flushGlobalQueues();org.eclipse.swt.EventUtil.setSuspended(false);org.eclipse.rwt.UICallBack.getInstance().sendUICallBackRequest()}catch(d){org.eclipse.rwt.ErrorHandler.processJavaScriptErrorInResponse(f,d,this._currentRequest);c=true}if(!c){this._dispatchReceivedEvent()}this._runningRequestCount--;this._hideWaitHint();b.dispose()},_handleConnectionError:function(g){var a="The server seems to be temporarily unavailable.\nWould you like to retry?";var i=confirm(a);if(i){org.eclipse.rwt.ErrorHandler.hideErrorBox();var b=this._createRequest();var e=this._currentRequest;b.setAsynchronous(e.getAsynchronous());var c=e.getRequestHeaders();for(var d in c){b.setRequestHeader(d,c[d])}var h=e.getParameters();for(var f in h){b.setParameter(f,h[f])}b.setData(e.getData());this._restartRequest(b)}return i},_restartRequest:function(a){a.setState($[167]);var b=qx.io.remote.RequestQueue.getInstance();qx.lang.Array.insertAt(b._queue,a,0);b._check();if(b.getEnabled()){b._timer.start()}},_isConnectionError:qx.core.Variant.select($[0],{"mshtml|newmshtml":function(b){var a=(b===12007||b===12029||b===12030||b===12031||b===12152);return a},gecko:function(b){var a;if(org.eclipse.rwt.Client.getMajor()*10+org.eclipse.rwt.Client.getMinor()>=19){a=(b===0)}else{a=(b===-1)}return a},"default":function(a){return a===0}}),_isJsonResponse:function(a){var b=a.getResponseHeader($[348]);return b.indexOf(qx.util.Mime.JSON)!==-1},_showWaitHint:function(){this._waitHintTimer.stop();if(this._runningRequestCount>0){var a=qx.ui.core.ClientDocument.getInstance();a.setGlobalCursor(qx.constant.Style.CURSOR_PROGRESS);org.eclipse.rwt.ErrorHandler.showWaitHint()}},_hideWaitHint:function(){this._waitHintTimer.stop();if(this._runningRequestCount===0){var a=qx.ui.core.ClientDocument.getInstance();a.setGlobalCursor(null);org.eclipse.rwt.ErrorHandler.hideErrorBox()}},_dispatchSendEvent:function(){if(this.hasEventListeners("send")){var a=new qx.event.type.DataEvent("send",this);this.dispatchEvent(a,true)}},_dispatchReceivedEvent:function(){if(this.hasEventListeners($[251])){var a=new qx.event.type.DataEvent($[251],this);this.dispatchEvent(a,true)}}}});
+qx.Class.define("org.eclipse.rwt.widgets.Menu",{extend:qx.ui.popup.Popup,include:org.eclipse.rwt.VisibilityAnimationMixin,construct:function(){arguments.callee.base.call(this);this._layout=null;this._preItem=null;this._hasListener=false;this._maxCellWidths=null;this._menuLayoutScheduled=false;this._opener=null;this._hoverItem=null;this._openTimer=null;this._closeTimer=null;this._openItem=null;this._itemsHiddenFlag=false;this._hoverFirstItemFlag=false;this.setHeight("auto");this.setWidth("auto");this._maxCellWidths=[null,null,null,null];this._layout=new qx.ui.layout.VerticalBoxLayout();this._layout.set({top:0,right:0,bottom:0,left:0,anonymous:true});this.add(this._layout);this.addEventListener($[1],this._unhoverSubMenu);this.addEventListener($[8],this._onMouseOut);this.addEventListener($[6],this._onMouseOver);this.addEventListener($[4],this._onKeyPress);this._openTimer=new qx.client.Timer(250);this._openTimer.addEventListener($[26],this._onopentimer,this);this._closeTimer=new qx.client.Timer(250);this._closeTimer.addEventListener($[26],this._onclosetimer,this);this.addToDocument()},destruct:function(){this._disposeObjects("_openTimer","_closeTimer","_preItem","_animation");this._disposeFields("_lastActive","_lastFocus","_layout","_opener","_hoverItem","_openItem")},statics:{menuDetectedByKey:function(a){if(a.getKeyIdentifier()==="Apps"){org.eclipse.rwt.widgets.Menu.contextMenuHandler(a)}},menuDetectedByMouse:function(a){if(a.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT){org.eclipse.rwt.widgets.Menu.contextMenuHandler(a)}},contextMenuHandler:function(d){var e=org.eclipse.swt.WidgetUtil.getControl(d.getTarget());var b=e?e.getContextMenu():null;if(b!=null){d.stopPropagation();d.preventDefault();var c=qx.event.type.MouseEvent.getPageX();var a=qx.event.type.MouseEvent.getPageY();b.setLocation(c,a);b.setOpener(e);b.show()}},getAllowContextMenu:function(c,b){var a=false;switch(c.classname){case $[428]:case $[434]:case"qx.ui.form.TextArea":if(c.getEnabled()!=false){if(org.eclipse.rwt.widgets.Menu._hasNativeMenu(b)){a=c.getContextMenu()==null}}break}return a},_hasNativeMenu:function(b){var a=typeof b.tagName==$[9]?b.tagName.toUpperCase():"";return a==="INPUT"||a==="TEXTAREA"}},properties:{appearance:{refine:true,init:"menu"}},events:{changeHoverItem:$[3]},members:{setOpener:function(a){this._opener=a},getOpener:function(a){return this._opener},getFocusRoot:function(){var a=null;if(this._opener){a=this._opener.getFocusRoot()}else{if(this._hasParent){a=this.getParent().getFocusRoot()}}return a},addMenuItemAt:function(b,a){if(b.setParentMenu){b.setParentMenu(this)}this._layout.addAt(b,a)},scheduleMenuLayout:function(){if(this._menuLayoutScheduled!=true){this._menuLayoutScheduled=true;var b=this._layout.getChildren();var c=b.length;for(var a=0;a<c;a++){b[a]._invalidatePreferredInnerWidth();b[a].addToQueue("layoutX")}this.addToQueue("menuLayout")}},_layoutPost:function(a){arguments.callee.base.call(this,a);if(a.menuLayout){this._menuLayoutScheduled=false;if(this.isSeeable()){this._afterAppear()}}},getMaxCellWidth:function(b){if(this._maxCellWidths[b]==null){var a=0;var d=this._layout.getChildren();var e=d.length;for(var c=0;c<e;c++){if(d[c].getPreferredCellWidth){a=Math.max(a,d[c].getPreferredCellWidth(b))}}this._maxCellWidths[b]=a}if(b==0&&this._maxCellWidths[0]==0&&this.getMaxCellWidth(1)==0){this._maxCellWidths[b]=13}return this._maxCellWidths[b]},invalidateMaxCellWidth:function(a){this._maxCellWidths[a]=null},invalidateAllMaxCellWidths:function(){for(var a=0;a<4;a++){this._maxCellWidths[a]=null}},isSubElement:function(b,e){var f=false;if((b.getParent()===this._layout)||((!e)&&(b===this))){f=true}if(!f){var d=this._layout.getChildren(),c=d.length;for(var g=0;g<c;g++){if(this.hasSubmenu(d[g])&&d[g].getMenu().isSubElement(b,e)){f=true}}}return f},setHoverItem:function(b,c){var a=b?b:this._openItem;if(this._hoverItem&&this._hoverItem!=a){this._hoverItem.removeState("over")}if(a){a.addState("over")}this._hoverItem=a;if(!c){this._openTimer.setEnabled(false);if(this.hasSubmenu(a)&&(this._openItem!=a)){this._openTimer.setEnabled(true)}if(this._openItem){if(this._openItem==a||a==null){this._closeTimer.setEnabled(false)}else{if(a!=null){this._closeTimer.setEnabled(true)}}}}this.dispatchSimpleEvent("changeHoverItem")},getHoverItem:function(a){return this._hoverItem},hoverFirstItem:function(){if(this._isDisplayable&&!this._itemsHiddenFlag){this.setHoverItem(null,true);this._hoverNextItem();this.removeState($[459])}else{this.addState($[459])}},_hoverNextItem:function(){var d;var c=null;var b=this._layout.getVisibleChildren();var a=b.indexOf(this._hoverItem);var e=a;do{a++;if(a>b.length){a=-1}d=a>=0?b[a]:null;if(d&&d.isEnabled()&&d.classname==$[352]){c=d}}while(!c&&(a!=e));this.setHoverItem(c,true)},_hoverPreviousItem:function(){var d;var c=null;var b=this._layout.getVisibleChildren();var a=b.indexOf(this._hoverItem);var e=a;do{a--;if(a<-1){a=b.length}d=a>=0?b[a]:null;if(d&&d.isEnabled()&&d.classname==$[352]){c=d}}while(!c&&(a!=e));this.setHoverItem(c,true)},_makeActive:function(){this._lastActive=this.getFocusRoot().getActiveChild();this._lastFocus=this.getFocusRoot().getFocusedChild();this.getFocusRoot().setActiveChild(this)},_makeInactive:function(){var a=this.getFocusRoot();a.setActiveChild(this._lastActive);a.setFocusedChild(this._lastFocus)},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);org.eclipse.rwt.MenuManager.getInstance().add(this);this.bringToFront();this._makeActive();this._menuShown()},_beforeDisappear:function(){qx.ui.layout.CanvasLayout.prototype._beforeDisappear.call(this);org.eclipse.rwt.MenuManager.getInstance().remove(this);if(this.getFocusRoot()){this._makeInactive()}this.setOpenItem(null);this.setHoverItem(null);if(this._opener instanceof org.eclipse.rwt.widgets.MenuItem){var a=this._opener.getParentMenu();if(a instanceof org.eclipse.rwt.widgets.MenuBar){this._opener.removeState($[11]);if(a.getOpenItem()==this._opener){a.setOpenItem(null)}}}this._menuHidden()},hasSubmenu:function(a){return a&&a.getMenu&&a.getMenu()},_onopentimer:function(a){this._openTimer.stop();this.setOpenItem(this._hoverItem);this._closeTimer.stop()},_onclosetimer:function(a){this._closeTimer.stop();this.setOpenItem(null)},setOpenItem:function(d){if(this._openItem&&this._openItem.getMenu()){this._openItem.setSubMenuOpen(false);var a=this._openItem.getMenu();a.hide();this._makeActive()}this._openItem=d;if(d&&d.getMenu()){var b=d.getMenu();d.setSubMenuOpen(true);b.setOpener(d);var e=d.getElement();var c=this.getElement();b.setTop(qx.bom.element.Location.getTop(e)-2);b.setLeft(qx.bom.element.Location.getLeft(c)+qx.html.Dimension.getBoxWidth(c)-3);b.show()}},_onMouseOut:function(a){var c=a.getTarget();var b=a.getRelatedTarget();if(c==this||(b!=this&&!this.contains(b))){this.setHoverItem(null)}},_onMouseOver:function(a){var b=a.getTarget();if(b!=this){this.setHoverItem(b)}this._unhoverSubMenu()},_unhoverSubMenu:function(){if(this._openItem){var a=this._openItem.getMenu();a.setOpenItem(null);a.setHoverItem(null)}},_onKeyPress:function(a){switch(a.getKeyIdentifier()){case"Up":this._handleKeyUp(a);break;case"Down":this._handleKeyDown(a);break;case"Left":this._handleKeyLeft(a);break;case $[39]:this._handleKeyRight(a);break;case $[54]:this._handleKeyEnter(a);break}},_handleKeyUp:function(a){if(this._openItem){this._openItem.getMenu()._hoverPreviousItem()}else{this._hoverPreviousItem()}a.preventDefault();a.stopPropagation()},_handleKeyDown:function(a){if(this._openItem){this._openItem.getMenu()._hoverNextItem()}else{this._hoverNextItem()}a.preventDefault();a.stopPropagation()},_handleKeyLeft:function(c){var a=this._opener?this._opener.getParentMenu():null;if(a instanceof org.eclipse.rwt.widgets.Menu){var b=this._opener;a.setOpenItem(null);a.setHoverItem(b,true);c.preventDefault();c.stopPropagation()}},_handleKeyRight:function(a){if(this.hasSubmenu(this._hoverItem)){this._onopentimer();this.setHoverItem(null,true);this._openItem.getMenu().hoverFirstItem();a.preventDefault();a.stopPropagation()}},_handleKeyEnter:function(a){if(this.hasSubmenu(this._hoverItem)){this._onopentimer();this.setHoverItem(null,true);this._openItem.getMenu().hoverFirstItem()}else{if(this._hoverItem){this._hoverItem.execute();org.eclipse.rwt.MenuManager.getInstance().update()}}a.preventDefault();a.stopPropagation()},setHasMenuListener:function(a){this._hasListener=a},_menuShown:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){if(this._hasListener){if(this._preItem==null){this._preItem=new org.eclipse.rwt.widgets.MenuItem("push");this._preItem.setText("...");this._preItem.setEnabled(false);this.addMenuItemAt(this._preItem,0)}var a=this._layout.getChildren();for(var b=0;b<a.length;b++){var d=a[b];d.setDisplay(false)}this._preItem.setDisplay(true);this._itemsHiddenFlag=true;if(this.getWidth()<60){this.setWidth(60)}var e=org.eclipse.swt.WidgetManager.getInstance();var g=e.findIdByWidget(this);var c=org.eclipse.swt.Request.getInstance();c.addEvent("org.eclipse.swt.events.menuShown",g);c.send()}else{var f=this._layout.getChildren().length!=0;this.setDisplay(f);if(f){if(this._hoverFirstItemFlag){this.hoverFirstItem()}}}}},_menuHidden:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){if(this._hasListener){var b=org.eclipse.swt.WidgetManager.getInstance();var c=b.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent("org.eclipse.swt.events.menuHidden",c);a.send()}}},unhideItems:function(c){if(c){var a=this._layout.getChildren();for(var b=0;b<a.length;b++){a[b].setDisplay(true)}if(this._preItem){this._preItem.setDisplay(false)}this._itemsHiddenFlag=false;if(this._hoverFirstItemFlag){this.hoverFirstItem()}}else{this.hide()}this._hoverFirstItemFlag=false},showMenu:function(b,a,c){if(b!=null){b._renderAppearance();b.setLocation(a,c);b.show()}}}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.Menu",{factory:function(b){var a;if(b.style.indexOf("BAR")!=-1){a=new org.eclipse.rwt.widgets.MenuBar()}else{a=new org.eclipse.rwt.widgets.Menu()}org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getWidgetDestructor(),properties:["parent",$[117],$[241],$[98]],propertyHandler:{parent:function(b,a){if(b.hasState($[206])){org.eclipse.rwt.protocol.AdapterUtil.callWithTarget(a,function(c){b.setParent(c)})}},bounds:function(b,a){if(b.hasState($[206])){b.setLeft(a[0]);b.setTop(a[1]);b.setWidth(a[2]);b.setHeight(a[3])}}},listeners:["menu","help"],listenerHandler:{menu:function(b,a){if(!b.hasState($[206])){b.setHasMenuListener(a)}},help:org.eclipse.rwt.protocol.AdapterUtil.getControlListenerHandler("help")},methods:["unhideItems","showMenu"],methodHandler:{unhideItems:function(b,a){if(!b.hasState($[206])){b.unhideItems(a.reveal)}},showMenu:function(b,a){if(b.hasState("rwt_POP_UP")){b.showMenu(b,a.x,a.y)}}}});
 qx.Class.define("org.eclipse.swt.EventUtil",{statics:{_suspended:false,setSuspended:function(a){this._suspended=a},getSuspended:function(){return this._suspended},DOUBLE_CLICK_TIME:500,_capturingWidget:null,_lastMouseDown:{widget:null,button:"",x:-1,y:-1,mouseUpCount:0},_shiftKey:false,_ctrlKey:false,_altKey:false,_metaKey:false,eventTimestamp:function(){var a=org.eclipse.rwt.System.getInstance();return new Date().getTime()-a.getStartupTime()},widgetDefaultSelected:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){var d=org.eclipse.swt.WidgetManager.getInstance();var c=d.findIdByWidget(a.getTarget());var b=org.eclipse.swt.Request.getInstance();b.addEvent($[168],c);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();b.send()}},widgetSelected:function(b){var h=org.eclipse.swt.WidgetManager.getInstance();var d=org.eclipse.swt.Request.getInstance();var g=h.findIdByWidget(b.getTarget());var f=b.getTarget().getLeft();var e=b.getTarget().getTop();var c=b.getTarget().getWidth();var a=b.getTarget().getHeight();org.eclipse.swt.EventUtil.doWidgetSelected(g,f,e,c,a)},doWidgetSelected:function(f,e,d,b,a){if(!org.eclipse.swt.EventUtil.getSuspended()){var c=org.eclipse.swt.Request.getInstance();c.addEvent($[69],f);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();c.addParameter(f+$[260],e);c.addParameter(f+$[261],d);c.addParameter(f+$[267],b);c.addParameter(f+$[278],a);c.send()}},addWidgetSelectedModifier:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){var a=org.eclipse.swt.EventUtil._getKeyModifier();if(a!==""){var b=org.eclipse.swt.Request.getInstance();b.addParameter("org.eclipse.swt.events.widgetSelected.modifier",a)}}},_getKeyModifier:function(){var a="";var b=org.eclipse.rwt.Client.getPlatform()==="mac"&&org.eclipse.swt.EventUtil._metaKey;if(org.eclipse.swt.EventUtil._shiftKey){a+="shift,"}if(org.eclipse.swt.EventUtil._ctrlKey||b){a+="ctrl,"}if(org.eclipse.swt.EventUtil._altKey){a+="alt,"}return a},focusGained:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){var b=org.eclipse.swt.Request.getInstance();b.send()}},focusLost:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){var b=org.eclipse.swt.Request.getInstance();b.send()}},mouseDown:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()&&org.eclipse.swt.EventUtil._isRelevantMouseEvent(this,a)){org.eclipse.swt.EventUtil._capturingWidget=this;if(org.eclipse.swt.EventUtil._isDoubleClick(this,a)){org.eclipse.swt.EventUtil._clearLastMouseDown();org.eclipse.swt.EventUtil._mouseDoubleClickParams(this,a)}else{var c=org.eclipse.swt.EventUtil._lastMouseDown;c.widget=this;c.button=a.getButton();c.x=a.getPageX();c.y=a.getPageY();c.mouseUpCount=0;qx.client.Timer.once(org.eclipse.swt.EventUtil._clearLastMouseDown,this,org.eclipse.swt.EventUtil.DOUBLE_CLICK_TIME)}org.eclipse.swt.EventUtil._mouseDownParams(this,a);var b=org.eclipse.swt.Request.getInstance();b.send()}},mouseUp:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()&&org.eclipse.swt.EventUtil._isRelevantMouseEvent(this,a)){org.eclipse.swt.EventUtil._capturingWidget=null;org.eclipse.swt.EventUtil._lastMouseDown.mouseUpCount+=1;org.eclipse.swt.EventUtil._mouseUpParams(this,a);var b=org.eclipse.swt.Request.getInstance();b.send()}},_isRelevantMouseEvent:function(c,b){var a=true;if(c!==org.eclipse.swt.EventUtil._capturingWidget&&c!==b.getOriginalTarget()){var f=org.eclipse.swt.WidgetManager.getInstance();var e=b.getOriginalTarget();var d=f.findControl(e);a=c===d}return a},_clearLastMouseDown:function(){var a=org.eclipse.swt.EventUtil._lastMouseDown;a.widget=null;a.button="";a.mouseUpCount=0;a.x=-1;a.y=-1},_isDoubleClick:function(b,a){var c=org.eclipse.swt.EventUtil._lastMouseDown;return c.mouseUpCount===1&&c.widget===b&&c.button===qx.event.type.MouseEvent.C_BUTTON_LEFT&&c.button===a.getButton()},_mouseDownParams:function(e,b){var f=org.eclipse.swt.WidgetManager.getInstance().findIdByWidget(e);var d=org.eclipse.swt.Request.getInstance();var c=org.eclipse.swt.EventUtil._determineMouseButton(b);var a=org.eclipse.swt.EventUtil._getKeyModifier();d.addEvent("org.eclipse.swt.events.mouseDown",f);d.addParameter("org.eclipse.swt.events.mouseDown.button",c);d.addParameter("org.eclipse.swt.events.mouseDown.x",b.getPageX());d.addParameter("org.eclipse.swt.events.mouseDown.y",b.getPageY());d.addParameter("org.eclipse.swt.events.mouseDown.time",this.eventTimestamp());if(a!==""){d.addParameter("org.eclipse.swt.events.mouseDown.modifier",a)}},_mouseUpParams:function(e,b){var f=org.eclipse.swt.WidgetManager.getInstance().findIdByWidget(e);var d=org.eclipse.swt.Request.getInstance();var c=org.eclipse.swt.EventUtil._determineMouseButton(b);var a=org.eclipse.swt.EventUtil._getKeyModifier();d.addEvent("org.eclipse.swt.events.mouseUp",f);d.addParameter("org.eclipse.swt.events.mouseUp.button",c);d.addParameter("org.eclipse.swt.events.mouseUp.x",b.getPageX());d.addParameter("org.eclipse.swt.events.mouseUp.y",b.getPageY());d.addParameter("org.eclipse.swt.events.mouseUp.time",this.eventTimestamp());if(a!==""){d.addParameter("org.eclipse.swt.events.mouseUp.modifier",a)}},_mouseDoubleClickParams:function(d,b){var e=org.eclipse.swt.WidgetManager.getInstance().findIdByWidget(d);var c=org.eclipse.swt.Request.getInstance();var a=org.eclipse.swt.EventUtil._getKeyModifier();c.addEvent("org.eclipse.swt.events.mouseDoubleClick",e);c.addParameter("org.eclipse.swt.events.mouseDoubleClick.button",org.eclipse.swt.EventUtil._determineMouseButton(b));c.addParameter("org.eclipse.swt.events.mouseDoubleClick.x",b.getPageX());c.addParameter("org.eclipse.swt.events.mouseDoubleClick.y",b.getPageY());c.addParameter("org.eclipse.swt.events.mouseDoubleClick.time",this.eventTimestamp());if(a!==""){c.addParameter("org.eclipse.swt.events.mouseDoubleClick.modifier",a)}},_determineMouseButton:function(b){var a=0;switch(b.getButton()){case qx.event.type.MouseEvent.C_BUTTON_LEFT:a=1;break;case qx.event.type.MouseEvent.C_BUTTON_MIDDLE:a=2;break;case qx.event.type.MouseEvent.C_BUTTON_RIGHT:a=3;break}return a},helpRequested:function(a){if(a.getKeyIdentifier()==="F1"){a.stopPropagation();a.preventDefault();var c=a.getTarget();var e=org.eclipse.swt.WidgetManager.getInstance();var d=e.findIdByWidget(c);if(d===null){c=e.findControl(c);d=e.findIdByWidget(c)}if(d!=null){var b=org.eclipse.swt.Request.getInstance();b.addEvent("org.eclipse.swt.events.help",d);b.send()}}},menuDetectedByKey:function(b){if(b.getKeyIdentifier()==="Apps"){b.stopPropagation();b.preventDefault();var a=qx.event.type.MouseEvent.getPageX();var c=qx.event.type.MouseEvent.getPageY();org.eclipse.swt.EventUtil.sendMenuDetected(b.getTarget(),a,c)}},menuDetectedByMouse:function(b){if(b.getButton()===qx.event.type.MouseEvent.C_BUTTON_RIGHT){b.stopPropagation();b.preventDefault();var a=b.getPageX();var c=b.getPageY();org.eclipse.swt.EventUtil.sendMenuDetected(b.getTarget(),a,c)}},sendMenuDetected:function(c,a,f){if(!org.eclipse.swt.EventUtil.getSuspended()){var e=org.eclipse.swt.WidgetManager.getInstance();while(c!=null&&!e.isControl(c)){c=c.getParent?c.getParent():null}var d=e.findIdByWidget(c);if(d!=null){var b=org.eclipse.swt.Request.getInstance();b.addEvent("org.eclipse.swt.events.menuDetect",d);b.addParameter("org.eclipse.swt.events.menuDetect.x",a);b.addParameter("org.eclipse.swt.events.menuDetect.y",f);b.send()}}}}});
 qx.Class.define("org.eclipse.rwt.widgets.WidgetToolTip",{type:$[37],extend:qx.ui.popup.ToolTip,include:org.eclipse.rwt.VisibilityAnimationMixin,construct:function(){arguments.callee.base.call(this);this._atom._createLabel();this._atom.getLabelObject().setMode("html")},members:{_applyBoundToWidget:function(c,a){arguments.callee.base.call(this,c,a);this.updateText(c);var b=qx.ui.popup.ToolTipManager.getInstance();b.setCurrentToolTip(null)},updateText:function(a){this._atom.setLabel(a.getUserData($[161]))}}});
-qx.Mixin.define("org.eclipse.rwt.GraphicsMixin",{destruct:function(){this._gfxProperties=null;this._gfxData=null;this._gfxCanvas=null},statics:{getSupportsShadows:function(){if(this._shadowSupport===undefined){var b=org.eclipse.rwt.Client.getEngine();var a=org.eclipse.rwt.Client.getVersion();this._shadowSupport=false;switch(b){case $[137]:this._shadowSupport=a>=1.9;break;case $[118]:this._shadowSupport=a>=7;break;case"opera":this._shadowSupport=a>=11.6;break;case $[113]:this._shadowSupport=a>=532.9;break}}return this._shadowSupport}},members:{_gfxData:null,_gfxProperties:null,_gfxCanvas:null,_gfxEnabled:false,_gfxBorderEnabled:false,_gfxBackgroundEnabled:false,_gfxCanvasAppended:false,_applyBackgroundGradient:function(b,a){this.setGfxProperty($[114],b);this._handleGfxBackground()},_applyShadow:qx.core.Variant.select($[0],{"default":function(b,a){if(org.eclipse.rwt.GraphicsMixin.getSupportsShadows()){if(b!=null&&b[0]){this.setGfxProperty($[20],null)}else{this.setGfxProperty($[20],b)}this.setGfxProperty($[229],null);this._handleGfxShadow()}},newmshtml:function(b,a){arguments.callee.base.call(this,b,a)}}),_applyOpacity:function(b,a){arguments.callee.base.call(this,b,a);this._checkAntiAlias(b)},_checkAntiAlias:qx.core.Variant.select($[0],{"default":qx.lang.Function.returnTrue,mshtml:function(a){if(this._gfxData&&this._gfxData.backgroundInsert){var b=a===1||a===null;org.eclipse.rwt.VML._setAntiAlias(this._gfxData.backgroundShape,b)}}}),_styleBackgroundColor:function(a){if(this._gfxBackgroundEnabled){this.setGfxProperty($[60],a);if(this.getGfxProperty($[166])==$[72]&&this._isCanvasReady()){this._renderGfxBackground()}}else{arguments.callee.base.call(this,a)}},_styleBackgroundImage:function(a){if(this._gfxBackgroundEnabled){this.setGfxProperty($[93],a);if(this.getGfxProperty($[166])==$[18]&&this._isCanvasReady()&&a!=null){this._renderGfxBackground()}else{this._handleGfxBackground()}}else{if(a==null&&this.getGfxProperty($[114])!=null){this._handleGfxBackground()}else{arguments.callee.base.call(this,a)}}},renderBorder:function(a){var b=this.__borderObject;if(b&&b.getStyle()===$[77]){this._styleGfxBorder(b.getWidths(),b.getColor(),b.getRadii())}else{if(this._gfxBorderEnabled){this._styleGfxBorder(null,null,null)}arguments.callee.base.call(this,a)}},_styleGfxBorder:function(d,b,f){var a=0;if(d){for(var c=0;c<d.length;c++){a=Math.max(a,d[c])}}var g;if(d!=null&&f!=null&&a>0){g=[];for(var c=0;c<4;c++){var e=c>0?c-1:3;if(d[c]===0||d[e]===0){g[c]=0}else{g[c]=f[c]}}}else{g=f}this.setGfxProperty($[242],d);this.setGfxProperty($[354],a);this.setGfxProperty($[325],b);this.setGfxProperty($[268],g);this.setGfxProperty($[201],null);this.setGfxProperty($[229],null);this._handleGfxBorder();this._handleCssRadii(f)},_handleCssRadii:qx.core.Variant.select($[0],{"default":qx.lang.Function.returnTrue,newmshtml:function(c){var b=org.eclipse.rwt.Border._BORDERRADII;for(var a=0;a<4;a++){this._style[b[a]]=c?c[a]+"px":""}}}),setGfxProperty:function(a,b){if(this._gfxProperties===null){this._gfxProperties={}}this._gfxProperties[a]=b},getGfxProperty:function(a){var b=this._gfxProperties!==null?this._gfxProperties[a]:null;return typeof b!=$[7]?b:null},_handleGfxBorder:function(){var b=this.getGfxProperty($[268])!=null&&this.getGfxProperty($[242])!=null&&this.getGfxProperty($[325])!=null;var a=(this._gfxBorderEnabled!=b);if(a){if(b){this._gfxBorderEnabled=true}else{this._gfxBorderEnabled=false;this._resetTargetNode()}this._handleGfxBackground();this._handleGfxStatus()}if(this._isCanvasReady()&&b){this._renderGfxBorder();if(!this._willBeLayouted()){this._layoutShapes()}}else{if(a&&!b){this._prepareBackgroundShape()}}},_handleGfxBackground:function(){var f=this.getBackgroundImage()!=null;var d=false;if(f){this.setGfxProperty($[166],$[18])}else{d=this.getGfxProperty($[114])!=null;if(d){this.setGfxProperty($[166],$[114])}else{this.setGfxProperty($[166],$[72])}}var b=(d||this._gfxBorderEnabled);var a=(this._gfxBackgroundEnabled!=b);if(a){if(b){var c=this.getStyleProperty($[60]);this.removeStyleProperty($[60]);this.setGfxProperty($[60],c);var e=this.getBackgroundImage();this.setGfxProperty($[93],e);this.removeStyleProperty($[93]);this._gfxBackgroundEnabled=true}else{this._gfxBackgroundEnabled=false;this._applyBackgroundColor(this.getBackgroundColor());this.setGfxProperty($[60],null);this._applyBackgroundImage(this.getBackgroundImage());this.setGfxProperty($[93],null)}this._handleGfxStatus()}if(this._isCanvasReady()&&b){this._renderGfxBackground();if(a&&!this._gfxBorderEnabled&&!this._willBeLayouted()){this._layoutShapes()}}else{if(a&&!b){this._prepareBackgroundShape()}}},_handleGfxShadow:function(){var a=this.getGfxProperty($[20])!=null;this._gfxShadowEnabled=a;this._handleGfxStatus();if(this._isCanvasReady()&&a){this._renderGfxShadow();if(!this._willBeLayouted()){this._layoutShapes()}}else{if(!this._gfxShadowEnabled&&this._gfxData&&this._gfxData.shadowInsert){this._prepareShadowShape()}}},_handleGfxStatus:function(){var a=this._gfxBorderEnabled||this._gfxBackgroundEnabled||this._gfxShadowEnabled;if(a!=this._gfxEnabled){if(a){this._gfxEnabled=true;this.addEventListener($[344],this._gfxOnElementChanged,this);this.addEventListener("flush",this._gfxOnFlush,this)}else{this._gfxEnabled=false;this.removeEventListener($[344],this._gfxOnElementChanged,this);this.removeEventListener("flush",this._gfxOnFlush,this)}this._targetNodeEnabled=(this._innerStyle||a)&&!this._gfxBorderEnabled}},_gfxOnElementChanged:function(a){if(a.getValue()==null&&this._gfxCanvasAppended){this._removeCanvas()}if(a.getValue()!=null&&this._isCanvasReady()){if(this._gfxBackgroundEnabled){this._renderGfxBackground()}if(this._gfxShadowEnabled){this._renderGfxShadow()}}},_gfxOnFlush:function(b){var a=b.getData();if(a.paddingRight||a.paddingBottom){this.setGfxProperty($[201],null);this.setGfxProperty($[229],null)}this._layoutShapes()},_layoutShapes:function(){if(this._gfxBackgroundEnabled){this._layoutBackgroundShape()}if(this._gfxShadowEnabled){this._layoutShadowShape()}},_layoutTargetNode:function(){if(this._innerStyle&&this._gfxBorderEnabled){var c=this.getGfxProperty($[201]);var b=this.getGfxProperty($[242]);var a=this._innerStyle;a.top=b[0]+"px";a.left=b[3]+"px";a.width=Math.max(0,c[0]-b[3]-b[1])+"px";a.height=Math.max(0,c[1]-b[0]-b[2])+"px"}},_resetTargetNode:qx.core.Variant.select($[0],{mshtml:function(){if(this._innerStyle){this._innerStyle.left="0px";this._innerStyle.top="0px";this._innerStyle.width="";this._innerStyle.height="";this.addToQueue($[27]);this.addToQueue($[23])}},"default":function(){if(this._innerStyle){this._innerStyle.left="0px";this._innerStyle.top="0px";this._innerStyle.width="100%";this._innerStyle.height="100%"}}}),_isCanvasReady:function(){var a=false;if(this._isCreated){if(this._gfxEnabled&&this._gfxCanvasAppended){a=true}else{if(this._gfxEnabled&&!this._gfxCanvasAppended){if(this._gfxCanvas==null){this._createCanvas()}this._appendCanvas();a=true}else{if(!this._gfxEnabled&&this._gfxCanvasAppended){this._removeCanvas()}}}}else{if(this._gfxEnabled){this._prepareGraphicsSupport()}}return a},_createCanvas:function(){if(!this._innerStyle){this._prepareForCanvas()}this._gfxData={};this._gfxCanvas=org.eclipse.rwt.GraphicsUtil.createCanvas();this._prepareBackgroundShape()},_prepareForCanvas:qx.core.Variant.select($[0],{mshtml:function(){this.prepareEnhancedBorder();this._applyOpacity(this.getOpacity())},gecko:function(){this.prepareEnhancedBorder();this._applyOpacity(this.getOpacity())},webkit:function(){var a=this.getStyleProperty($[222]);this.removeStyleProperty($[222]);this.__outerElementStyleProperties.outline=true;this.setStyleProperty($[222],a);this._applyOpacity(this.getOpacity())},"default":function(){this.prepareEnhancedBorder();this._applyOpacity(this.getOpacity())}}),_appendCanvas:function(){var b=this.getElement();var a=org.eclipse.rwt.GraphicsUtil.getCanvasNode(this._gfxCanvas);if(a!=null){b.insertBefore(a,b.firstChild)}this._gfxCanvasAppended=true;this.addEventListener($[143],this._onCanvasAppear);if(this._isInDom){this._onCanvasAppear()}},_removeCanvas:function(){var a=org.eclipse.rwt.GraphicsUtil.getCanvasNode(this._gfxCanvas);if(a!=null){a.parentNode.removeChild(a);this._gfxCanvasAppended=false;this.removeEventListener($[143],this._onCanvasAppear)}},_onCanvasAppear:function(){if(this._gfxCanvasAppended){org.eclipse.rwt.GraphicsUtil.handleAppear(this._gfxCanvas)}},_prepareBackgroundShape:function(){var c=org.eclipse.rwt.GraphicsUtil;if(this._gfxData){var b=this._gfxData.backgroundShape;if(this._gfxBackgroundEnabled){if(b===undefined){this._gfxData.backgroundShape=c.createShape($[158])}if(!this._gfxData.backgroundInsert){var a=this._gfxData.backgroundShape;c.addToCanvas(this._gfxCanvas,a);this._gfxData.backgroundInsert=true;this._checkAntiAlias(this.getOpacity())}}else{if(this._gfxData.backgroundInsert){c.removeFromCanvas(this._gfxCanvas,b);this._gfxData.backgroundInsert=false}}}},_renderGfxBackground:function(){this._prepareBackgroundShape();var f=this.getGfxProperty($[166]);var c=org.eclipse.rwt.GraphicsUtil;if(f==$[114]){var e=this.getGfxProperty($[114]);c.setFillGradient(this._gfxData.backgroundShape,e)}else{if(f==$[18]){var d=this.getGfxProperty($[93]);d=typeof d==$[7]?null:d;var b=this._getImageSize(d);c.setFillPattern(this._gfxData.backgroundShape,d,b[0],b[1])}else{var a=this.getGfxProperty($[60]);if(a&&(a===$[82]||a.slice(0,4)==="rgba")){a=null}c.setFillColor(this._gfxData.backgroundShape,a)}}},_renderGfxBorder:function(){this._prepareBackgroundShape();this._style.borderWidth=0;var c=this._innerStyle;c.borderWidth=0;var b=this._gfxData.backgroundShape;var d=this.getGfxProperty($[354]);var a=this.getGfxProperty($[325]);org.eclipse.rwt.GraphicsUtil.setStroke(b,a,d)},_layoutBackgroundShape:function(){var b=[this.getBoxWidth(),this.getBoxHeight()];var j=this.getGfxProperty($[201]);var d=!j||(b[0]!==j[0]);var c=!j||(b[1]!==j[1]);if(d||c){this.setGfxProperty($[201],b);this._layoutTargetNode();var b=[this.getBoxWidth(),this.getBoxHeight()];var g;var l;var e;var o;var h;if(this._gfxBorderEnabled){h=this.getGfxProperty($[268]);var a=this.getGfxProperty($[242]);var q=this.getGfxProperty($[354]);var f=0;var p=0;var n=0;var k=0;if(q>0){f=(a[0]===0?-q-1:q);p=(a[1]===0?-q-1:q);n=(a[2]===0?-q-1:q);k=(a[3]===0?-q-1:q)}g=b[0]-(k*0.5+p*0.5);l=b[1]-(f*0.5+n*0.5);e=k*0.5;o=f*0.5}else{e=0;o=0;g=b[0]-this._cachedBorderLeft-this._cachedBorderRight;l=b[1]-this._cachedBorderTop-this._cachedBorderBottom;h=[0,0,0,0]}g=Math.max(0,g);l=Math.max(0,l);var i=this._gfxData.backgroundShape;var m=org.eclipse.rwt.GraphicsUtil;m.setRoundRectLayout(i,e,o,g,l,h)}},_prepareShadowShape:function(){var c=org.eclipse.rwt.GraphicsUtil;if(this._gfxData){if(this._gfxShadowEnabled){if(this._gfxData.shadowShape===undefined){this._createShadowShape();var b=c.getCanvasNode(this._gfxCanvas);org.eclipse.rwt.HtmlUtil.setPointerEvents(b,"none")}var a=this._gfxData.shadowShape;if(!this._gfxData.shadowInsert){var d=null;if(this._gfxData.backgroundInsert){d=this._gfxData.backgroundShape}c.addToCanvas(this._gfxCanvas,a,d);this._gfxData.shadowInsert=true}}else{if(this._gfxData.shadowInsert){c.removeFromCanvas(this._gfxCanvas,this._gfxData.shadowShape);c.enableOverflow(this._gfxCanvas,0,0,null,null);delete this._gfxData.shadowInsert}}}},_createShadowShape:function(){var a=null;var b=org.eclipse.rwt.GraphicsUtil;var a=b.createShape($[158]);this._gfxData.shadowShape=a;return a},_renderGfxShadow:function(){this._prepareShadowShape();if(this._gfxShadowEnabled){var b=org.eclipse.rwt.GraphicsUtil;var c=this.getGfxProperty($[20]);var a=this._gfxData.shadowShape;b.setBlur(a,c[3]);b.setFillColor(a,c[5]);b.setOpacity(a,c[6])}},_layoutShadowShape:function(){var f=org.eclipse.rwt.GraphicsUtil;var b=[this.getBoxWidth(),this.getBoxHeight()];var l=[this.getBoxWidth(),this.getBoxHeight()];var n=this.getGfxProperty($[229]);var s=!n||(l[0]!==n[0]);var q=!n||(l[1]!==n[1]);if(s||q){var c=this._gfxData.shadowShape;this.setGfxProperty($[229],l);var h=this.getGfxProperty($[20]);var k=this.getGfxProperty($[268]);k=k===null?[0,0,0,0]:k;var e=h[1];var i=h[2];var m=b[0];var j=b[1];var p=h[3];var o=e<0?Math.abs(e)+p:0;var r=i<0?Math.abs(i)+p:0;var d=Math.max(0,p+e);var a=Math.max(0,p+i);var t=m+d;var g=j+a;f.enableOverflow(this._gfxCanvas,o,r,t,g);f.setRoundRectLayout(c,e,i,m,j,k)}},_getImageSize:function(c){var a=this.getUserData($[173]);if(a==null){var b=org.eclipse.swt.theme.ThemeStore.getInstance();a=b.getImageSize(c)}return a},_willBeLayouted:function(){return this._jobQueue!==undefined||!qx.lang.Object.isEmpty(this._layoutChanges)}}});
+qx.Mixin.define("org.eclipse.rwt.GraphicsMixin",{destruct:function(){this._gfxProperties=null;this._gfxData=null;this._gfxCanvas=null},statics:{getSupportsShadows:function(){if(this._shadowSupport===undefined){var b=org.eclipse.rwt.Client.getEngine();var a=org.eclipse.rwt.Client.getVersion();this._shadowSupport=false;switch(b){case $[137]:this._shadowSupport=a>=1.9;break;case $[118]:this._shadowSupport=a>=7;break;case"opera":this._shadowSupport=a>=11.6;break;case $[113]:this._shadowSupport=a>=532.9;break}}return this._shadowSupport}},members:{_gfxData:null,_gfxProperties:null,_gfxCanvas:null,_gfxEnabled:false,_gfxBorderEnabled:false,_gfxBackgroundEnabled:false,_gfxCanvasAppended:false,_applyBackgroundGradient:function(b,a){this.setGfxProperty($[114],b);this._handleGfxBackground()},_applyShadow:qx.core.Variant.select($[0],{"default":function(b,a){if(org.eclipse.rwt.GraphicsMixin.getSupportsShadows()){if(b!=null&&b[0]){this.setGfxProperty($[20],null)}else{this.setGfxProperty($[20],b)}this.setGfxProperty($[229],null);this._handleGfxShadow()}},newmshtml:function(b,a){arguments.callee.base.call(this,b,a)}}),_applyOpacity:function(b,a){arguments.callee.base.call(this,b,a);this._checkAntiAlias(b)},_checkAntiAlias:qx.core.Variant.select($[0],{"default":qx.lang.Function.returnTrue,mshtml:function(a){if(this._gfxData&&this._gfxData.backgroundInsert){var b=a===1||a===null;org.eclipse.rwt.VML._setAntiAlias(this._gfxData.backgroundShape,b)}}}),_styleBackgroundColor:function(a){if(this._gfxBackgroundEnabled){this.setGfxProperty($[60],a);if(this.getGfxProperty($[166])==$[72]&&this._isCanvasReady()){this._renderGfxBackground()}}else{arguments.callee.base.call(this,a)}},_styleBackgroundImage:function(a){if(this._gfxBackgroundEnabled){this.setGfxProperty($[93],a);if(this.getGfxProperty($[166])==$[18]&&this._isCanvasReady()&&a!=null){this._renderGfxBackground()}else{this._handleGfxBackground()}}else{if(a==null&&this.getGfxProperty($[114])!=null){this._handleGfxBackground()}else{arguments.callee.base.call(this,a)}}},renderBorder:function(a){var b=this.__borderObject;if(b&&b.getStyle()===$[77]){this._styleGfxBorder(b.getWidths(),b.getColor(),b.getRadii())}else{if(this._gfxBorderEnabled){this._styleGfxBorder(null,null,null)}arguments.callee.base.call(this,a)}},_styleGfxBorder:function(d,b,f){var a=0;if(d){for(var c=0;c<d.length;c++){a=Math.max(a,d[c])}}var g;if(d!=null&&f!=null&&a>0){g=[];for(var c=0;c<4;c++){var e=c>0?c-1:3;if(d[c]===0||d[e]===0){g[c]=0}else{g[c]=f[c]}}}else{g=f}this.setGfxProperty($[242],d);this.setGfxProperty($[354],a);this.setGfxProperty($[325],b);this.setGfxProperty($[268],g);this.setGfxProperty($[201],null);this.setGfxProperty($[229],null);this._handleGfxBorder();this._handleCssRadii(f)},_handleCssRadii:qx.core.Variant.select($[0],{"default":qx.lang.Function.returnTrue,newmshtml:function(c){var b=org.eclipse.rwt.Border._BORDERRADII;for(var a=0;a<4;a++){this._style[b[a]]=c?c[a]+"px":""}}}),setGfxProperty:function(a,b){if(this._gfxProperties===null){this._gfxProperties={}}this._gfxProperties[a]=b},getGfxProperty:function(a){var b=this._gfxProperties!==null?this._gfxProperties[a]:null;return typeof b!=$[7]?b:null},_handleGfxBorder:function(){var b=this.getGfxProperty($[268])!=null&&this.getGfxProperty($[242])!=null&&this.getGfxProperty($[325])!=null;var a=(this._gfxBorderEnabled!=b);if(a){if(b){this._gfxBorderEnabled=true}else{this._gfxBorderEnabled=false;this._resetTargetNode()}this._handleGfxBackground();this._handleGfxStatus()}if(this._isCanvasReady()&&b){this._renderGfxBorder();if(!this._willBeLayouted()){this._layoutShapes()}}else{if(a&&!b){this._prepareBackgroundShape()}}},_handleGfxBackground:function(){var f=this.getBackgroundImage()!=null;var d=false;if(f){this.setGfxProperty($[166],$[18])}else{d=this.getGfxProperty($[114])!=null;if(d){this.setGfxProperty($[166],$[114])}else{this.setGfxProperty($[166],$[72])}}var b=(d||this._gfxBorderEnabled);var a=(this._gfxBackgroundEnabled!=b);if(a){if(b){var c=this.getStyleProperty($[60]);this.removeStyleProperty($[60]);this.setGfxProperty($[60],c);var e=this.getBackgroundImage();this.setGfxProperty($[93],e);this.removeStyleProperty($[93]);this._gfxBackgroundEnabled=true}else{this._gfxBackgroundEnabled=false;this._applyBackgroundColor(this.getBackgroundColor());this.setGfxProperty($[60],null);this._applyBackgroundImage(this.getBackgroundImage());this.setGfxProperty($[93],null)}this._handleGfxStatus()}if(this._isCanvasReady()&&b){this._renderGfxBackground();if(a&&!this._gfxBorderEnabled&&!this._willBeLayouted()){this._layoutShapes()}}else{if(a&&!b){this._prepareBackgroundShape()}}},_handleGfxShadow:function(){var a=this.getGfxProperty($[20])!=null;this._gfxShadowEnabled=a;this._handleGfxStatus();if(this._isCanvasReady()&&a){this._renderGfxShadow();if(!this._willBeLayouted()){this._layoutShapes()}}else{if(!this._gfxShadowEnabled&&this._gfxData&&this._gfxData.shadowInsert){this._prepareShadowShape()}}},_handleGfxStatus:function(){var a=this._gfxBorderEnabled||this._gfxBackgroundEnabled||this._gfxShadowEnabled;if(a!=this._gfxEnabled){if(a){this._gfxEnabled=true;this.addEventListener($[344],this._gfxOnElementChanged,this);this.addEventListener("flush",this._gfxOnFlush,this)}else{this._gfxEnabled=false;this.removeEventListener($[344],this._gfxOnElementChanged,this);this.removeEventListener("flush",this._gfxOnFlush,this)}this._targetNodeEnabled=(this._innerStyle||a)&&!this._gfxBorderEnabled}},_gfxOnElementChanged:function(a){if(a.getValue()==null&&this._gfxCanvasAppended){this._removeCanvas()}if(a.getValue()!=null&&this._isCanvasReady()){if(this._gfxBackgroundEnabled){this._renderGfxBackground()}if(this._gfxShadowEnabled){this._renderGfxShadow()}}},_gfxOnFlush:function(b){var a=b.getData();if(a.paddingRight||a.paddingBottom){this.setGfxProperty($[201],null);this.setGfxProperty($[229],null)}this._layoutShapes()},_layoutShapes:function(){if(this._gfxBackgroundEnabled){this._layoutBackgroundShape()}if(this._gfxShadowEnabled){this._layoutShadowShape()}},_layoutTargetNode:function(){if(this._innerStyle&&this._gfxBorderEnabled){var c=this.getGfxProperty($[201]);var b=this.getGfxProperty($[242]);var a=this._innerStyle;a.top=b[0]+"px";a.left=b[3]+"px";a.width=Math.max(0,c[0]-b[3]-b[1])+"px";a.height=Math.max(0,c[1]-b[0]-b[2])+"px"}},_resetTargetNode:qx.core.Variant.select($[0],{mshtml:function(){if(this._innerStyle){this._innerStyle.left="0px";this._innerStyle.top="0px";this._innerStyle.width="";this._innerStyle.height="";this.addToQueue($[28]);this.addToQueue($[23])}},"default":function(){if(this._innerStyle){this._innerStyle.left="0px";this._innerStyle.top="0px";this._innerStyle.width="100%";this._innerStyle.height="100%"}}}),_isCanvasReady:function(){var a=false;if(this._isCreated){if(this._gfxEnabled&&this._gfxCanvasAppended){a=true}else{if(this._gfxEnabled&&!this._gfxCanvasAppended){if(this._gfxCanvas==null){this._createCanvas()}this._appendCanvas();a=true}else{if(!this._gfxEnabled&&this._gfxCanvasAppended){this._removeCanvas()}}}}else{if(this._gfxEnabled){this._prepareGraphicsSupport()}}return a},_createCanvas:function(){if(!this._innerStyle){this._prepareForCanvas()}this._gfxData={};this._gfxCanvas=org.eclipse.rwt.GraphicsUtil.createCanvas();this._prepareBackgroundShape()},_prepareForCanvas:qx.core.Variant.select($[0],{mshtml:function(){this.prepareEnhancedBorder();this._applyOpacity(this.getOpacity())},gecko:function(){this.prepareEnhancedBorder();this._applyOpacity(this.getOpacity())},webkit:function(){var a=this.getStyleProperty($[222]);this.removeStyleProperty($[222]);this.__outerElementStyleProperties.outline=true;this.setStyleProperty($[222],a);this._applyOpacity(this.getOpacity())},"default":function(){this.prepareEnhancedBorder();this._applyOpacity(this.getOpacity())}}),_appendCanvas:function(){var b=this.getElement();var a=org.eclipse.rwt.GraphicsUtil.getCanvasNode(this._gfxCanvas);if(a!=null){b.insertBefore(a,b.firstChild)}this._gfxCanvasAppended=true;this.addEventListener($[143],this._onCanvasAppear);if(this._isInDom){this._onCanvasAppear()}},_removeCanvas:function(){var a=org.eclipse.rwt.GraphicsUtil.getCanvasNode(this._gfxCanvas);if(a!=null){a.parentNode.removeChild(a);this._gfxCanvasAppended=false;this.removeEventListener($[143],this._onCanvasAppear)}},_onCanvasAppear:function(){if(this._gfxCanvasAppended){org.eclipse.rwt.GraphicsUtil.handleAppear(this._gfxCanvas)}},_prepareBackgroundShape:function(){var c=org.eclipse.rwt.GraphicsUtil;if(this._gfxData){var b=this._gfxData.backgroundShape;if(this._gfxBackgroundEnabled){if(b===undefined){this._gfxData.backgroundShape=c.createShape($[158])}if(!this._gfxData.backgroundInsert){var a=this._gfxData.backgroundShape;c.addToCanvas(this._gfxCanvas,a);this._gfxData.backgroundInsert=true;this._checkAntiAlias(this.getOpacity())}}else{if(this._gfxData.backgroundInsert){c.removeFromCanvas(this._gfxCanvas,b);this._gfxData.backgroundInsert=false}}}},_renderGfxBackground:function(){this._prepareBackgroundShape();var f=this.getGfxProperty($[166]);var c=org.eclipse.rwt.GraphicsUtil;if(f==$[114]){var e=this.getGfxProperty($[114]);c.setFillGradient(this._gfxData.backgroundShape,e)}else{if(f==$[18]){var d=this.getGfxProperty($[93]);d=typeof d==$[7]?null:d;var b=this._getImageSize(d);c.setFillPattern(this._gfxData.backgroundShape,d,b[0],b[1])}else{var a=this.getGfxProperty($[60]);if(a&&(a===$[82]||a.slice(0,4)==="rgba")){a=null}c.setFillColor(this._gfxData.backgroundShape,a)}}},_renderGfxBorder:function(){this._prepareBackgroundShape();this._style.borderWidth=0;var c=this._innerStyle;c.borderWidth=0;var b=this._gfxData.backgroundShape;var d=this.getGfxProperty($[354]);var a=this.getGfxProperty($[325]);org.eclipse.rwt.GraphicsUtil.setStroke(b,a,d)},_layoutBackgroundShape:function(){var b=[this.getBoxWidth(),this.getBoxHeight()];var j=this.getGfxProperty($[201]);var d=!j||(b[0]!==j[0]);var c=!j||(b[1]!==j[1]);if(d||c){this.setGfxProperty($[201],b);this._layoutTargetNode();var b=[this.getBoxWidth(),this.getBoxHeight()];var g;var l;var e;var o;var h;if(this._gfxBorderEnabled){h=this.getGfxProperty($[268]);var a=this.getGfxProperty($[242]);var q=this.getGfxProperty($[354]);var f=0;var p=0;var n=0;var k=0;if(q>0){f=(a[0]===0?-q-1:q);p=(a[1]===0?-q-1:q);n=(a[2]===0?-q-1:q);k=(a[3]===0?-q-1:q)}g=b[0]-(k*0.5+p*0.5);l=b[1]-(f*0.5+n*0.5);e=k*0.5;o=f*0.5}else{e=0;o=0;g=b[0]-this._cachedBorderLeft-this._cachedBorderRight;l=b[1]-this._cachedBorderTop-this._cachedBorderBottom;h=[0,0,0,0]}g=Math.max(0,g);l=Math.max(0,l);var i=this._gfxData.backgroundShape;var m=org.eclipse.rwt.GraphicsUtil;m.setRoundRectLayout(i,e,o,g,l,h)}},_prepareShadowShape:function(){var c=org.eclipse.rwt.GraphicsUtil;if(this._gfxData){if(this._gfxShadowEnabled){if(this._gfxData.shadowShape===undefined){this._createShadowShape();var b=c.getCanvasNode(this._gfxCanvas);org.eclipse.rwt.HtmlUtil.setPointerEvents(b,"none")}var a=this._gfxData.shadowShape;if(!this._gfxData.shadowInsert){var d=null;if(this._gfxData.backgroundInsert){d=this._gfxData.backgroundShape}c.addToCanvas(this._gfxCanvas,a,d);this._gfxData.shadowInsert=true}}else{if(this._gfxData.shadowInsert){c.removeFromCanvas(this._gfxCanvas,this._gfxData.shadowShape);c.enableOverflow(this._gfxCanvas,0,0,null,null);delete this._gfxData.shadowInsert}}}},_createShadowShape:function(){var a=null;var b=org.eclipse.rwt.GraphicsUtil;var a=b.createShape($[158]);this._gfxData.shadowShape=a;return a},_renderGfxShadow:function(){this._prepareShadowShape();if(this._gfxShadowEnabled){var b=org.eclipse.rwt.GraphicsUtil;var c=this.getGfxProperty($[20]);var a=this._gfxData.shadowShape;b.setBlur(a,c[3]);b.setFillColor(a,c[5]);b.setOpacity(a,c[6])}},_layoutShadowShape:function(){var f=org.eclipse.rwt.GraphicsUtil;var b=[this.getBoxWidth(),this.getBoxHeight()];var l=[this.getBoxWidth(),this.getBoxHeight()];var n=this.getGfxProperty($[229]);var s=!n||(l[0]!==n[0]);var q=!n||(l[1]!==n[1]);if(s||q){var c=this._gfxData.shadowShape;this.setGfxProperty($[229],l);var h=this.getGfxProperty($[20]);var k=this.getGfxProperty($[268]);k=k===null?[0,0,0,0]:k;var e=h[1];var i=h[2];var m=b[0];var j=b[1];var p=h[3];var o=e<0?Math.abs(e)+p:0;var r=i<0?Math.abs(i)+p:0;var d=Math.max(0,p+e);var a=Math.max(0,p+i);var t=m+d;var g=j+a;f.enableOverflow(this._gfxCanvas,o,r,t,g);f.setRoundRectLayout(c,e,i,m,j,k)}},_getImageSize:function(c){var a=this.getUserData($[173]);if(a==null){var b=org.eclipse.swt.theme.ThemeStore.getInstance();a=b.getImageSize(c)}return a},_willBeLayouted:function(){return this._jobQueue!==undefined||!qx.lang.Object.isEmpty(this._layoutChanges)}}});
 qx.Class.define("org.eclipse.rwt.GraphicsUtil",{statics:{_renderClass:null,init:function(){if(this._renderClass==null){if(org.eclipse.rwt.Client.supportsVml()){this._renderClass=org.eclipse.rwt.VML}else{if(org.eclipse.rwt.Client.supportsSvg()){this._renderClass=org.eclipse.rwt.SVG}}if(this._renderClass!=null){this._renderClass.init()}}},createCanvas:function(){var a=null;a=this._renderClass.createCanvas();return a},getCanvasNode:function(b){var a=null;a=this._renderClass.getCanvasNode(b);return a},handleAppear:function(a){this._renderClass.handleAppear(a)},enableOverflow:function(c,b,e,d,a){this._renderClass.enableOverflow(c,b,e,d,a)},createShape:function(b){var a=null;if(this._renderClass!=null){a=this._renderClass.createShape(b)}return a},addToCanvas:function(c,b,a){this._renderClass.addToCanvas(c,b,a)},removeFromCanvas:function(b,a){this._renderClass.removeFromCanvas(b,a)},setDisplay:function(a,b){this._renderClass.setDisplay(a,b)},getDisplay:function(a){return this._renderClass.getDisplay(a)},setRectBounds:function(c,b,e,d,a){this._renderClass.setRectBounds(c,b,e,d,a)},setRoundRectLayout:function(c,b,f,d,a,e){this._renderClass.setRoundRectLayout(c,b,f,d,a,e)},setFillColor:function(b,a){this._renderClass.setFillColor(b,a)},getFillColor:function(b,a){return this._renderClass.getFillColor(b)},setFillGradient:function(a,b){this._renderClass.setFillGradient(a,b)},setFillPattern:function(b,d,c,a){this._renderClass.setFillPattern(b,d,c,a)},getFillType:function(b,a){return this._renderClass.getFillType(b)},setStroke:function(b,a,c){this._renderClass.setStroke(b,a,c)},getStrokeWidth:function(a){return this._renderClass.getStrokeWidth(a)},getStrokeColor:function(a){return this._renderClass.getStrokeColor(a)},setOpacity:function(a,b){this._renderClass.setOpacity(a,b)},getOpacity:function(a){return this._renderClass.getOpacity(a)},setBlur:function(b,a){this._renderClass.setBlur(b,a)},getBlur:function(a){return this._renderClass.getBlur(a)}}});
 qx.Class.define("org.eclipse.rwt.VML",{statics:{init:function(){document.namespaces.add("v","urn:schemas-microsoft-com:vml");document.namespaces.add("o","urn:schemas-microsoft-com:office:office");var a=document.createStyleSheet();a.cssText="v\\:* { behavior:url(#default#VML);display:inline-block; } o\\:* { behavior: url(#default#VML);}";this._vmlEnabled=true},createCanvas:function(){var a={};a.type="vmlCanvas";var b=document.createElement("div");b.style.position=$[17];b.style.width="10px";b.style.height="10px";b.style.top="0";b.style.left="0";b.style.fontSize="0";b.style.lineHeight="0";a.node=b;a.children={};return a},clearCanvas:function(a){for(var b in a.children){a.node.removeChild(a.children[b].node)}a.children={}},getCanvasNode:function(a){return a.node},handleAppear:function(a){var b=a.children;for(var c in b){this._handleAppearShape(b[c])}},createShape:function(b){var a=null;switch(b){case"rect":a=this._createRect();break;case $[158]:case"custom":a=this._createCustomShape();a.blurRadius=0;break;case $[18]:a=this._createImage();break;default:throw"VML does not support shape "+b}a.restoreData={fill:{}};a.node.stroked=false;var c=this._createNode("fill");c.method="sigma";a.node.appendChild(c);a.fill=c;this.setFillColor(a,null);return a},addToCanvas:function(c,b,a){var d=qx.core.Object.toHashCode(b);c.children[d]=b;if(a){c.node.insertBefore(b.node,a.node)}else{c.node.appendChild(b.node)}},enableOverflow:function(a){},removeFromCanvas:function(b,a){var c=qx.core.Object.toHashCode(a);delete b.children[c];b.node.removeChild(a.node)},setDisplay:function(a,b){a.node.style.display=b?"":"none"},getDisplay:function(b){var a=b.node.style.display=="none"?false:true;return a},setRectBounds:function(c,b,f,d,a){var e=c.node;e.style.width=this._convertNumeric(d,false);e.style.height=this._convertNumeric(a,false);e.style.left=this._convertNumeric(b,true);e.style.top=this._convertNumeric(f,true)},setImageData:function(c,g,b,h,e,a,d){var f=c.node;f.src=g;if(typeof d!=$[7]){f.cropTop=d[0];f.cropRight=d[1];f.cropBottom=d[2];f.cropLeft=d[3]}f.style.width=e;f.style.height=a;f.style.left=b;f.style.top=h},setRoundRectLayout:function(b,g,f,o,k,m){var h=this._VMLDEGREE*90;var d=Math.floor(Math.min(o,k)/2);var e=Math.min(m[0],d);var n=Math.min(m[1],d);var r=Math.min(m[2],d);var j=Math.min(m[3],d);e=this._convertNumeric(e,false);n=this._convertNumeric(n,false);r=this._convertNumeric(r,false);j=this._convertNumeric(j,false);var c=this._getBlurOffsets(b.blurRadius);var i=this._convertNumeric(g-c[1],true);var p=this._convertNumeric(f-c[1],true);var a=this._convertNumeric(o-c[2],false);var q=this._convertNumeric(k-c[2],false);var l=[];if(e>0){l.push("AL",i+e,p+e);l.push(e,e,2*h,h)}else{l.push("M",i,p+e)}if(n>0){l.push("AE",i+a-n);l.push(p+n);l.push(n,n,3*h,h)}else{l.push("L",i+a,p)}if(r>0){l.push("AE",i+a-r);l.push(p+q-r);l.push(r,r,0,h)}else{l.push("L",i+a,p+q)}if(j>0){l.push("AE",i+j);l.push(p+q-j);l.push(j,j,h,h)}else{l.push("L",i,p+q)}l.push("X E");b.node.path=l.join(" ")},applyDrawingContext:function(b,d,g){var c=d.globalAlpha;if(c!=1){this.setOpacity(b,c)}if(g){var g=d.fillStyle;if(g instanceof Array){this.setFillGradient(b,d.fillStyle)}else{this.setFillColor(b,d.fillStyle)}this.setStroke(b,null,0)}else{this.setFillColor(b,null);this.setStroke(b,d.strokeStyle,d.lineWidth);var f=d.lineCap=="butt"?"flat":d.lineCap;var e=d.lineJoin;var a=d.miterLimit;this._setStrokeStyle(b,e,a,f)}b.node.path=this._convertPath(d._currentPath)},createShapeFromContext:function(b,c){var a=this.createShape("custom");this.applyDrawingContext(a,b,c);return a},setFillColor:function(b,a){var c=b.fill;c.type=$[72];if(a!=null&&a!=$[82]&&a!=""){this._setFillEnabled(b,true);c.color=a;b.restoreData.fill.color=a}else{this._setFillEnabled(b,false);delete b.restoreData.fill.color}},getFillColor:function(b){var a=null;if(this.getFillType(b)==$[65]){a=b.restoreData.fill.color}return a},setFillGradient:function(e,i){var l=e.fill;if(i!=null){e.node.removeChild(e.fill);this._setFillEnabled(e,true);delete e.restoreData.fill.color;l.type=$[114];var f=i[0][1];l.color2=i[i.length-1][1];l.angle=i.horizontal?270:180;var h="0% "+f;var c=qx.util.ColorUtil.stringToRgb(f);var b=null;var a=0;var g=null;for(var k=1;k<i.length;k++){var d=i[k][1];b=qx.util.ColorUtil.stringToRgb(d);var j=i[k][0];h+=", ";h+=this._transitionColors(c,b,a,j,3);h+=", "+(j*100)+"% "+d;c=b;a=j}l.colors=h;e.node.appendChild(l)}else{this._setFillEnabled(e,true)}},setFillPattern:function(b,d,c,a){var e=b.fill;if(d!=null){b.node.removeChild(b.fill);this._setFillEnabled(b,true);e.type="tile";e.src=d;e.size=(c*0.75)+"pt,"+(a*0.75)+"pt";b.node.appendChild(e)}else{this._setFillEnabled(b,false)}},getFillType:function(c){var b=c.fill.on;var a=!b?null:c.fill.type;if(a==$[72]){a=$[65]}if(a=="tile"){a="pattern"}return a},setStroke:function(b,a,c){if(c>0){b.node.stroked=true;b.node.strokecolor=a;b.node.strokeweight=c+"px";b.restoreData.strokecolor=a;b.restoreData.strokeweight=c+"px"}else{b.node.stroked=false;delete b.restoreData.strokecolor;delete b.restoreData.strokeweight}},getStrokeWidth:function(b){var a=false;if(b.node.stroked){a=b.node.strokeweight;var c=typeof a==$[62]||a.search("pt")!=-1;a=parseFloat(a);a=c?a/0.75:a}return a},getStrokeColor:function(a){return a.node.strokecolor.value},setOpacity:function(a,b){a.opacity=b;this._renderFilter(a);this._setAntiAlias(a,b<1)},getOpacity:function(b){var a=1;if(typeof b.opacity===$[62]&&b.opacity<1){a=b.opacity}return a},setBlur:function(b,a){b.blurRadius=a;this._renderFilter(b)},getBlur:function(c,b){var a=0;if(typeof c.blurRadius===$[62]&&c.blurRadius>0){a=c.blurRadius}return a},_renderFilter:function(a){var d=[];var b=this.getOpacity(a);var c=this.getBlur(a);if(b<1){d.push($[475]);d.push(Math.round(b*100));d.push(")")}if(c>0){d.push("progid:DXImageTransform.Microsoft.Blur(pixelradius=");d.push(this._getBlurOffsets(c)[0]);d.push(")")}if(d.length>0){a.node.style.filter=d.join("")}else{org.eclipse.rwt.HtmlUtil.removeCssFilter(a.node)}},_VMLFACTOR:10,_VMLDEGREE:-65535,_VMLRAD:-65535*(180/Math.PI),_createNode:function(a){return document.createElement("v:"+a)},_createRect:function(){var a={};a.type="vmlRect";var b=this._createNode("rect");b.style.position=$[17];b.style.width=0;b.style.height=0;b.style.top=0;b.style.left=0;b.style.antialias=false;a.node=b;return a},_createImage:function(){var a={};a.type="vmlImage";var b=this._createNode($[18]);b.style.position=$[17];a.node=b;return a},_createCustomShape:function(){var a={};var c=this._createNode("shape");var b=100*this._VMLFACTOR+", "+100*this._VMLFACTOR;c.coordsize=b;c.coordorigin="0 0";c.style.position=$[17];c.style.width=100;c.style.height=100;c.style.top=0;c.style.left=0;a.node=c;return a},_setFillEnabled:function(a,b){a.fill.on=b;a.restoreData.fill.on=b},_ensureStrokeNode:function(a){if(!a.stroke){var b=this._createNode($[211]);a.node.appendChild(b);a.stroke=b}},_setStrokeStyle:function(b,d,a,c){this._ensureStrokeNode(b);b.stroke.joinstyle=d;b.stroke.miterlimit=a;b.stroke.endcap=c},_transitionColors:function(l,k,a,f,g){var j=f-a;var b=j/(g+1);var d=[];var h=[];var e;for(var c=1;c<=g;c++){e=c*(1/(g+1));h[0]=this._transitionColorPart(l[0],k[0],e);h[1]=this._transitionColorPart(l[1],k[1],e);h[2]=this._transitionColorPart(l[2],k[2],e);d.push(Math.round(((a+(c*b))*100))+"% RGB("+h.join()+")")}return d.join(" ,")},_copyData:function(d,e){if(!d||!e){throw"VML._copyData: source or target missing."}for(var b in d){var c=d[b];if(typeof c===$[19]){try{this._copyData(c,e[b])}catch(a){throw new Error("Could not copy "+b+": "+a)}}else{e[b]=c}}},_handleAppearShape:function(a){this._copyData(a.restoreData,a.node)},_transitionColorPart:function(b,a,d){var c=parseInt(b)+((a-b)*d);return Math.round(c)},_convertNumeric:function(c,b){var a;if(typeof c==$[62]){a=(b?c-0.5:c)*this._VMLFACTOR;a=Math.round(a)}else{a=c}return a},_convertPath:function(f){var b=[];for(var d=0;d<f.length;d++){var e=f[d];switch(e.type){case"moveTo":b.push("M");b.push(this._convertNumeric(e.x,true));b.push(this._convertNumeric(e.y,true));break;case"lineTo":b.push("L");b.push(this._convertNumeric(e.x,true));b.push(this._convertNumeric(e.y,true));break;case"close":b.push("X");e=null;break;case $[431]:b.push("QB");b.push(this._convertNumeric(e.cp1x,true));b.push(this._convertNumeric(e.cp1y,true));b.push("L");b.push(this._convertNumeric(e.x,true));b.push(this._convertNumeric(e.y,true));break;case $[377]:b.push("C");b.push(this._convertNumeric(e.cp1x,true));b.push(this._convertNumeric(e.cp1y,true));b.push(this._convertNumeric(e.cp2x,true));b.push(this._convertNumeric(e.cp2y,true));b.push(this._convertNumeric(e.x,true));b.push(this._convertNumeric(e.y,true));break;case"arc":b.push("AE");var c=Math.round(e.startAngle*this._VMLRAD);var a=Math.round(e.endAngle*this._VMLRAD);b.push(this._convertNumeric(e.centerX,true));b.push(this._convertNumeric(e.centerY,true));b.push(this._convertNumeric(e.radiusX,false));b.push(this._convertNumeric(e.radiusY,false));b.push(c);b.push(a-c);break}}return b.join(" ")},_setAntiAlias:function(a,b){a.node.style.antialias=b},_getBlurOffsets:function(c){var a;var b=this._BLUROFFSETS[c];if(b!==undefined){a=b}else{a=[c,c,1]}return a},_BLUROFFSETS:[[0,0,0],[2,2,1],[3,3,1],[4,4,1]]}});
-qx.Class.define("org.eclipse.rwt.SVG",{statics:{init:function(){},createCanvas:function(){var b={};var c=this._createNode("svg");c.style.position=$[17];c.style.left="0px";c.style.top="0px";c.style.width="100%";c.style.height="100%";var a=this._createNode("defs");c.appendChild(a);b.type="svgCanvas";b.node=c;b.group=c;b.defsNode=a;return b},getCanvasNode:function(a){return a.node},handleAppear:function(a){},enableOverflow:function(c,b,g,d,a){if(c.group===c.node){var e=c.node;var f=this._createNode("g");c.group=f;while(e.firstChild){f.appendChild(e.firstChild)}e.appendChild(f)}c.node.style.left=(b*-1)+"px";c.node.style.top=(g*-1)+"px";if(d){c.node.style.width=(b+d)+"px"}else{c.node.style.width="100%"}if(a){c.node.style.height=(g+a)+"px"}else{c.node.style.height="100%"}if(b===0&&g===0){c.group.setAttribute("transform","")}else{c.group.setAttribute("transform","translate("+b+","+g+")")}},createShape:function(b){var a;switch(b){case"rect":a=this._createRect();break;case $[158]:a=this._createRoundRect();break;default:throw"invalid shape "+b}a.node.setAttribute($[211],"none");a.node.setAttribute($[330],"0px");a.node.setAttribute("fill","none");a.defNodes={};a.parent=null;return a},addToCanvas:function(c,b,a){b.parent=c;if(a){c.group.insertBefore(b.node,a.node)}else{c.group.appendChild(b.node)}this._attachDefinitions(b)},removeFromCanvas:function(b,a){this._detachDefinitions(a);b.group.removeChild(a.node);a.parent=null},setDisplay:function(a,b){a.node.setAttribute($[160],b?"inline":"none")},getDisplay:function(b){var c=b.node.getAttribute($[160]);var a=c=="none"?false:true;return a},setRectBounds:function(c,b,f,d,a){var e=c.node;e.setAttribute($[27],this._convertNumeric(d));e.setAttribute($[23],this._convertNumeric(a));e.setAttribute("x",this._convertNumeric(b));e.setAttribute("y",this._convertNumeric(f))},setRoundRectLayout:function(h,j,i,d,k,f){var g=Math.floor(Math.min(d,k)/2);var c=Math.min(f[0],g);var e=Math.min(f[1],g);var b=Math.min(f[2],g);var a=Math.min(f[3],g);var l=[];l.push("M",j,i+c);if(c>0){l.push("A",c,c,0,0,1);l.push(j+c,i)}l.push("L",j+d-e,i);if(e>0){l.push("A",e,e,0,0,1)}l.push(j+d,i+e);l.push("L",j+d,i+k-b);if(b>0){l.push("A",b,b,0,0,1)}l.push(j+d-b,i+k);l.push("L",j+a,i+k);if(a>0){l.push("A",a,a,0,0,1)}l.push(j,i+k-a);l.push("Z");h.node.setAttribute("d",l.join(" "))},setFillColor:function(b,a){this.setFillGradient(b,null);if(a!=null&&a!=""){b.node.setAttribute("fill",a)}else{b.node.setAttribute("fill","none")}},getFillColor:function(b){var a=null;if(this.getFillType(b)==$[65]){a=b.node.getAttribute("fill")}return a},setFillGradient:function(d,f){if(f!=null){var g="gradient_"+qx.core.Object.toHashCode(d);var a;var c=f.horizontal===true;if(typeof d.defNodes[g]==$[7]){a=this._createNode($[445]);a.setAttribute("id",g);a.setAttribute("x1",0);a.setAttribute("y1",0);this._addNewDefinition(d,a,g)}else{a=d.defNodes[g]}a.setAttribute("x2",c?1:0);a.setAttribute("y2",c?0:1);var b=null;while(b=a.childNodes[0]){a.removeChild(b)}for(var e=0;e<f.length;e++){b=this._createNode("stop");b.setAttribute("offset",f[e][0]);b.setAttribute("stop-color",f[e][1]);a.appendChild(b)}d.node.setAttribute("fill","url(#"+g+")")}else{d.node.setAttribute("fill","none")}},setFillPattern:function(d,f,e,b){if(f!=null){var g=qx.core.Object.toHashCode(d);var c="pattern_"+g;var a;var h;if(typeof d.defNodes[c]==$[7]){a=this._createNode("pattern");a.setAttribute("id",c);a.setAttribute("x",0);a.setAttribute("y",0);a.setAttribute("patternUnits","userSpaceOnUse");h=this._createNode($[18]);h.setAttribute("x",0);h.setAttribute("y",0);h.setAttribute("preserveAspectRatio","none");a.appendChild(h);this._addNewDefinition(d,a,c)}else{a=d.defNodes[c];h=a.firstChild}a.setAttribute($[27],e);a.setAttribute($[23],b);h.setAttribute($[27],e);h.setAttribute($[23],b);d.node.setAttribute("fill","url(#"+c+")");if(org.eclipse.rwt.Client.getEngine()==$[113]){this._onImageLoad(f,function(){if(d.parent!==null&&d.parent.node.parentNode){org.eclipse.rwt.SVG._setXLink(h,f);org.eclipse.rwt.SVG._redrawWebkit(d)}})}else{this._setXLink(h,f)}}else{d.node.setAttribute("fill","none")}},getFillType:function(b){var a=b.node.getAttribute("fill");if(a.search("pattern_")!=-1){a="pattern"}else{if(a.search("gradient_")!=-1){a=$[114]}else{if(a=="none"){a=null}else{a=$[65]}}}return a},setStroke:function(b,a,c){b.node.setAttribute($[330],c+"px");if(c==0){b.node.setAttribute($[211],"none")}else{b.node.setAttribute($[211],a!=null?a:"none")}},getStrokeWidth:function(a){return parseFloat(a.node.getAttribute($[330]))},getStrokeColor:function(a){return a.node.getAttribute($[211])},setOpacity:function(a,b){a.node.setAttribute($[76],b)},getOpacity:function(b){var a=b.node.getAttribute($[76]);return a?a:0},setBlur:function(a,c){if(c>0){var d="filter_"+qx.core.Object.toHashCode(a);var b;if(typeof a.defNodes[d]===$[7]){b=this._createNode($[138]);b.setAttribute("id",d);b.appendChild(this._createNode("feGaussianBlur"));this._addNewDefinition(a,b,d)}else{b=a.defNodes[d]}b.firstChild.setAttribute($[483],c/2);a.node.setAttribute($[138],"url(#"+d+")")}else{a.node.setAttribute($[138],"none")}},getBlur:function(b){var a=0;var c=b.node.getAttribute($[138]);if(c&&c!=="none"){var e="filter_"+qx.core.Object.toHashCode(b);var d=b.defNodes[e];a=d.firstChild.getAttribute($[483])*2}return a},_onImageLoad:function(c,b){var a=new Image();a.src=c;a.onload=function(d){if(arguments.callee.caller!=null){org.eclipse.rwt.SVG._onImageLoad(c,b)}else{b()}}},_createNode:function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},_createRect:function(){var a={};a.type="svgRect";var b=this._createNode("rect");b.setAttribute($[27],"0");b.setAttribute($[23],"0");b.setAttribute("x","0");b.setAttribute("y","0");a.node=b;return a},_setXLink:function(a,b){a.setAttributeNS("http://www.w3.org/1999/xlink","href",b)},_createRoundRect:function(){var a={};a.type="svgRoundRect";var b=this._createNode("path");a.node=b;return a},_addNewDefinition:function(a,b,c){a.defNodes[c]=b;if(a.parent!=null){a.parent.defsNode.appendChild(b)}},_attachDefinitions:function(a){for(var c in a.defNodes){var b=a.defNodes[c];a.parent.defsNode.appendChild(b)}},_detachDefinitions:function(a){for(var c in a.defNodes){var b=a.defNodes[c];b.parentNode.removeChild(b)}},_convertNumeric:function(a){return typeof a==$[9]?a:a+"px"},_redrawWebkit:function(a){var b=function(){org.eclipse.rwt.SVG._redrawWebkitCore(a)};window.setTimeout(b,10)},_redrawWebkitCore:function(a){if(a.parent!=null){a.node.style.webkitTransform="scale(1)"}},_dummyNode:null,_getDummyNode:function(){if(this._dummyNode==null){this._dummyNode=this._createNode("rect")}return this._dummyNode}}});
+qx.Class.define("org.eclipse.rwt.SVG",{statics:{init:function(){},createCanvas:function(){var b={};var c=this._createNode("svg");c.style.position=$[17];c.style.left="0px";c.style.top="0px";c.style.width="100%";c.style.height="100%";var a=this._createNode("defs");c.appendChild(a);b.type="svgCanvas";b.node=c;b.group=c;b.defsNode=a;return b},getCanvasNode:function(a){return a.node},handleAppear:function(a){},enableOverflow:function(c,b,g,d,a){if(c.group===c.node){var e=c.node;var f=this._createNode("g");c.group=f;while(e.firstChild){f.appendChild(e.firstChild)}e.appendChild(f)}c.node.style.left=(b*-1)+"px";c.node.style.top=(g*-1)+"px";if(d){c.node.style.width=(b+d)+"px"}else{c.node.style.width="100%"}if(a){c.node.style.height=(g+a)+"px"}else{c.node.style.height="100%"}if(b===0&&g===0){c.group.setAttribute("transform","")}else{c.group.setAttribute("transform","translate("+b+","+g+")")}},createShape:function(b){var a;switch(b){case"rect":a=this._createRect();break;case $[158]:a=this._createRoundRect();break;default:throw"invalid shape "+b}a.node.setAttribute($[211],"none");a.node.setAttribute($[330],"0px");a.node.setAttribute("fill","none");a.defNodes={};a.parent=null;return a},addToCanvas:function(c,b,a){b.parent=c;if(a){c.group.insertBefore(b.node,a.node)}else{c.group.appendChild(b.node)}this._attachDefinitions(b)},removeFromCanvas:function(b,a){this._detachDefinitions(a);b.group.removeChild(a.node);a.parent=null},setDisplay:function(a,b){a.node.setAttribute($[160],b?"inline":"none")},getDisplay:function(b){var c=b.node.getAttribute($[160]);var a=c=="none"?false:true;return a},setRectBounds:function(c,b,f,d,a){var e=c.node;e.setAttribute($[28],this._convertNumeric(d));e.setAttribute($[23],this._convertNumeric(a));e.setAttribute("x",this._convertNumeric(b));e.setAttribute("y",this._convertNumeric(f))},setRoundRectLayout:function(h,j,i,d,k,f){var g=Math.floor(Math.min(d,k)/2);var c=Math.min(f[0],g);var e=Math.min(f[1],g);var b=Math.min(f[2],g);var a=Math.min(f[3],g);var l=[];l.push("M",j,i+c);if(c>0){l.push("A",c,c,0,0,1);l.push(j+c,i)}l.push("L",j+d-e,i);if(e>0){l.push("A",e,e,0,0,1)}l.push(j+d,i+e);l.push("L",j+d,i+k-b);if(b>0){l.push("A",b,b,0,0,1)}l.push(j+d-b,i+k);l.push("L",j+a,i+k);if(a>0){l.push("A",a,a,0,0,1)}l.push(j,i+k-a);l.push("Z");h.node.setAttribute("d",l.join(" "))},setFillColor:function(b,a){this.setFillGradient(b,null);if(a!=null&&a!=""){b.node.setAttribute("fill",a)}else{b.node.setAttribute("fill","none")}},getFillColor:function(b){var a=null;if(this.getFillType(b)==$[65]){a=b.node.getAttribute("fill")}return a},setFillGradient:function(d,f){if(f!=null){var g="gradient_"+qx.core.Object.toHashCode(d);var a;var c=f.horizontal===true;if(typeof d.defNodes[g]==$[7]){a=this._createNode($[445]);a.setAttribute("id",g);a.setAttribute("x1",0);a.setAttribute("y1",0);this._addNewDefinition(d,a,g)}else{a=d.defNodes[g]}a.setAttribute("x2",c?1:0);a.setAttribute("y2",c?0:1);var b=null;while(b=a.childNodes[0]){a.removeChild(b)}for(var e=0;e<f.length;e++){b=this._createNode("stop");b.setAttribute("offset",f[e][0]);b.setAttribute("stop-color",f[e][1]);a.appendChild(b)}d.node.setAttribute("fill","url(#"+g+")")}else{d.node.setAttribute("fill","none")}},setFillPattern:function(d,f,e,b){if(f!=null){var g=qx.core.Object.toHashCode(d);var c="pattern_"+g;var a;var h;if(typeof d.defNodes[c]==$[7]){a=this._createNode("pattern");a.setAttribute("id",c);a.setAttribute("x",0);a.setAttribute("y",0);a.setAttribute("patternUnits","userSpaceOnUse");h=this._createNode($[18]);h.setAttribute("x",0);h.setAttribute("y",0);h.setAttribute("preserveAspectRatio","none");a.appendChild(h);this._addNewDefinition(d,a,c)}else{a=d.defNodes[c];h=a.firstChild}a.setAttribute($[28],e);a.setAttribute($[23],b);h.setAttribute($[28],e);h.setAttribute($[23],b);d.node.setAttribute("fill","url(#"+c+")");if(org.eclipse.rwt.Client.getEngine()==$[113]){this._onImageLoad(f,function(){if(d.parent!==null&&d.parent.node.parentNode){org.eclipse.rwt.SVG._setXLink(h,f);org.eclipse.rwt.SVG._redrawWebkit(d)}})}else{this._setXLink(h,f)}}else{d.node.setAttribute("fill","none")}},getFillType:function(b){var a=b.node.getAttribute("fill");if(a.search("pattern_")!=-1){a="pattern"}else{if(a.search("gradient_")!=-1){a=$[114]}else{if(a=="none"){a=null}else{a=$[65]}}}return a},setStroke:function(b,a,c){b.node.setAttribute($[330],c+"px");if(c==0){b.node.setAttribute($[211],"none")}else{b.node.setAttribute($[211],a!=null?a:"none")}},getStrokeWidth:function(a){return parseFloat(a.node.getAttribute($[330]))},getStrokeColor:function(a){return a.node.getAttribute($[211])},setOpacity:function(a,b){a.node.setAttribute($[76],b)},getOpacity:function(b){var a=b.node.getAttribute($[76]);return a?a:0},setBlur:function(a,c){if(c>0){var d="filter_"+qx.core.Object.toHashCode(a);var b;if(typeof a.defNodes[d]===$[7]){b=this._createNode($[138]);b.setAttribute("id",d);b.appendChild(this._createNode("feGaussianBlur"));this._addNewDefinition(a,b,d)}else{b=a.defNodes[d]}b.firstChild.setAttribute($[483],c/2);a.node.setAttribute($[138],"url(#"+d+")")}else{a.node.setAttribute($[138],"none")}},getBlur:function(b){var a=0;var c=b.node.getAttribute($[138]);if(c&&c!=="none"){var e="filter_"+qx.core.Object.toHashCode(b);var d=b.defNodes[e];a=d.firstChild.getAttribute($[483])*2}return a},_onImageLoad:function(c,b){var a=new Image();a.src=c;a.onload=function(d){if(arguments.callee.caller!=null){org.eclipse.rwt.SVG._onImageLoad(c,b)}else{b()}}},_createNode:function(a){return document.createElementNS("http://www.w3.org/2000/svg",a)},_createRect:function(){var a={};a.type="svgRect";var b=this._createNode("rect");b.setAttribute($[28],"0");b.setAttribute($[23],"0");b.setAttribute("x","0");b.setAttribute("y","0");a.node=b;return a},_setXLink:function(a,b){a.setAttributeNS("http://www.w3.org/1999/xlink","href",b)},_createRoundRect:function(){var a={};a.type="svgRoundRect";var b=this._createNode("path");a.node=b;return a},_addNewDefinition:function(a,b,c){a.defNodes[c]=b;if(a.parent!=null){a.parent.defsNode.appendChild(b)}},_attachDefinitions:function(a){for(var c in a.defNodes){var b=a.defNodes[c];a.parent.defsNode.appendChild(b)}},_detachDefinitions:function(a){for(var c in a.defNodes){var b=a.defNodes[c];b.parentNode.removeChild(b)}},_convertNumeric:function(a){return typeof a==$[9]?a:a+"px"},_redrawWebkit:function(a){var b=function(){org.eclipse.rwt.SVG._redrawWebkitCore(a)};window.setTimeout(b,10)},_redrawWebkitCore:function(a){if(a.parent!=null){a.node.style.webkitTransform="scale(1)"}},_dummyNode:null,_getDummyNode:function(){if(this._dummyNode==null){this._dummyNode=this._createNode("rect")}return this._dummyNode}}});
 qx.Class.define("org.eclipse.swt.WidgetUtil",{statics:{setPropertyParam:function(d,b,a){var f=org.eclipse.swt.WidgetManager.getInstance();var e=f.findIdByWidget(d);var c=org.eclipse.swt.Request.getInstance();c.addParameter(e+"."+b,a)},fixIEBoxHeight:qx.core.Variant.select($[0],{mshtml:function(a){a.setStyleProperty($[165],"0");a.setStyleProperty($[306],"0")},"default":qx.lang.Function.returnTrue}),getControl:function(b){var c=org.eclipse.swt.WidgetManager.getInstance();var a=b;while(a!=null&&!c.isControl(a)){a=a.getParent?a.getParent():null}return a},_fakeMouseEvent:function(b,d){var f=b._getTargetNode();var a=org.eclipse.rwt.EventHandlerUtil;var g=a.getTargetObject(null,b,true);var c={type:d,target:f,button:0,wheelData:0,detail:0,pageX:0,pageY:0,clientX:0,clientY:0,screenX:0,screenY:0,shiftKey:false,ctrlKey:false,altKey:false,metaKey:false,preventDefault:function(){}};var e=new qx.event.type.MouseEvent(d,c,f,g,b,null);g.dispatchEvent(e)}}});
 qx.Class.define("org.eclipse.swt.theme.ThemeStore",{type:$[37],extend:qx.core.Object,construct:function(){this._values={dimensions:{},boxdims:{},images:{},gradients:{},fonts:{},colors:{},borders:{},cursors:{},animations:{},shadows:{}};this._cssValues={};this._statesMap={"*":{hover:"over"},"DateTime-Calendar-Day":{unfocused:$[92]},"List-Item":{unfocused:$[92]},Text:{"read-only":$[300]},TreeItem:{unfocused:$[92]},"Tree-RowOverlay":{unfocused:$[92]},TreeColumn:{hover:$[6]},Shell:{inactive:$[195]},"Shell-Titlebar":{inactive:$[195]},"Shell-MinButton":{inactive:$[195]},"Shell-MaxButton":{inactive:$[195]},"Shell-CloseButton":{inactive:$[195]},TableColumn:{hover:$[6]},TableItem:{unfocused:$[92]},"Table-RowOverlay":{unfocused:$[92]},TabItem:{selected:$[203],first:"firstChild",last:$[247]}};this._namedColors={}},members:{setCurrentTheme:function(a){this._currentTheme=a},defineValues:function(a){for(var c in this._values){if(c in a){for(var b in a[c]){if(!(b in this._values[c])){this._values[c][b]=a[c][b]}}}}},setThemeCssValues:function(c,a,b){if(this._cssValues[c]===undefined){this._cssValues[c]=a}if(b){this.fallbackTheme=c}this._fillNamedColors(c)},getColor:function(d,b,e,f){var c=this._getCssValue(d,b,e,f);var a=this._values.colors[c];if(a instanceof Array){a="#"+qx.util.ColorUtil.rgbToHexString(a)}return a},getAlpha:function(e,c,f,g){var d=this._getCssValue(e,c,f,g);var b=this._values.colors[d];var a=1;if(b instanceof Array){a=b[3]}else{if(b===$[82]){a=0}}return a},getNamedColor:function(b){var a=this._namedColors[b];return a?a:b},getDimension:function(c,a,d,e){var b=this._getCssValue(c,a,d,e);return this._values.dimensions[b]},getBoxDimensions:function(c,a,d,e){var b=this._getCssValue(c,a,d,e);return this._values.boxdims[b]},getBoolean:function(b,a,c,d){return this._getCssValue(b,a,c,d)},getFloat:function(b,a,c,d){return parseFloat(this._getCssValue(b,a,c,d))},getIdentifier:function(b,a,c,d){return this._getCssValue(b,a,c,d)},getImage:function(d,b,f,g){var a;var c=this._getCssValue(d,b,f,g);var e=this._values.images[c];if(e!=null){a=$[287]+c}else{a=org.eclipse.swt.theme.ThemeValues.NONE_IMAGE}return a},getSizedImage:function(d,b,f,g){var c=this._getCssValue(d,b,f,g);var e=this._values.images[c];var a;if(e!=null){a=[$[287]+c].concat(e)}else{a=org.eclipse.swt.theme.ThemeValues.NONE_IMAGE_SIZED}return a},getCursor:function(d,b,e,f){var c=this._getCssValue(d,b,e,f);var a=this._values.cursors[c];if(c===null){a="rwt-resources/themes/cursors/"+c}return a},getAnimation:function(c,a,d,e){var b=this._getCssValue(c,a,d,e);return this._values.animations[b]},getFont:function(d,b,f,g){var c=this._getCssValue(d,b,f,g);var e=this._values.fonts[c];if(!(e instanceof qx.ui.core.Font)){var a=new qx.ui.core.Font();a.setSize(e.size);a.setFamily(e.family);a.setBold(e.bold);a.setItalic(e.italic);this._values.fonts[c]=a}return this._values.fonts[c]},getBorder:function(j,o,l,i){var g;var m=this._getCssValue(j,o,l,i);var k=this._values.borders[m];var n=k instanceof org.eclipse.rwt.Border;var b=n?k.getStyle():k.style;if(b===$[72]||b==="none"||b===null){var a=this._getCssValue(j,o,"border-radius",i);var h=this._values.boxdims[a];if(h!=null&&(h.join("")!=="0000")){var d=m+"#"+a;var e=this._values.borders[d];if(!e){var c=n?k.getWidthTop():k.width;var f=n?k.getColorTop():k.color;g=new org.eclipse.rwt.Border(c,$[77],f,h);this._values.borders[d]=g}else{g=e}}}if(!g){if(n){g=k}else{g=this._getBorderFromValue(k);this._values.borders[m]=g}}return g},getShadow:function(c,a,d,e){var b=this._getCssValue(c,a,d,e);return this._values.shadows[b]},getNamedBorder:function(c){var d="_"+c;var a=this._values.borders[d];if(!a){var f=org.eclipse.swt.theme.BorderDefinitions.getDefinition(c);if(f){var b=this._resolveNamedColors(f.color);var e=this._resolveNamedColors(f.innerColor);a=new org.eclipse.rwt.Border(f.width,$[175],b,e);this._values.borders[d]=a}else{a=null}}return a},getGradient:function(c,h,f,b){var j=null;var g=this._getCssValue(c,h,f,b);var e=this._values.gradients[g];if(e){if(e.colors&&e.percents){var d=[];for(var a=0;a<e.colors.length;a++){d[a]=[e.percents[a]/100,e.colors[a]]}d.horizontal=!e.vertical;this._values.gradients[g]=d}j=this._values.gradients[g]}return j},getImageSize:function(b){var a=b.slice($[287].length);var c=this._values.images[a];return c!=null?[c[0],c[1]]:[0,0]},_getCssValue:function(e,c,g,h){var a;if(h==null){h=this._currentTheme}if(this._cssValues[h]!==undefined&&this._cssValues[h][e]!==undefined&&this._cssValues[h][e][g]!==undefined){var b=this._cssValues[h][e][g];var f=false;for(var d=0;d<b.length&&!f;d++){if(this._matches(c,e,b[d][0])){a=b[d][1];f=true}}}if(a===undefined&&h!=this.fallbackTheme){a=this._getCssValue(e,c,g,this.fallbackTheme)}return a},_matches:function(b,e,j){var a=true;for(var d=0;d<j.length&&a;d++){var f=j[d];if(f.length>0){var h=f.charAt(0);if(h=="."){a=$[36]+f.substr(1) in b}else{if(h==":"){var g=this._translateState(f.substr(1),e);if(g.charAt(0)=="!"){a=!(g.substr(1) in b)}else{a=g in b}}else{if(h=="["){a="rwt_"+f.substr(1) in b}}}}}return a},_translateState:function(c,b){var a=c;if(b in this._statesMap&&c in this._statesMap[b]){a=this._statesMap[b][c]}else{if(c in this._statesMap["*"]){a=this._statesMap["*"][c]}}return a},_resolveNamedColors:function(c){var a=null;if(c){a=[];for(var b=0;b<c.length;b++){a[b]=this.getNamedColor(c[b])}}return a},_fillNamedColors:function(a){this._namedColors[$[218]]=this.getColor($[184],{},"rwt-darkshadow-color",a);this._namedColors[$[35]]=this.getColor($[184],{},"rwt-highlight-color",a);this._namedColors[$[141]]=this.getColor($[184],{},"rwt-lightshadow-color",a);this._namedColors[$[20]]=this.getColor($[184],{},"rwt-shadow-color",a);this._namedColors.thinborder=this.getColor($[184],{},"rwt-thinborder-color",a);this._namedColors["selection-marker"]=this.getColor($[184],{},"rwt-selectionmarker-color",a);this._namedColors[$[146]]=this.getColor("*",{},$[193],a);this._namedColors[$[296]]=this.getColor("*",{},$[65],a);this._namedColors["info.foreground"]=this.getColor("Widget-ToolTip",{},$[65],a)},_getBorderFromValue:function(b){var a=null;if(b.color==null){if(b.width==1){if(b.style=="outset"){a=this.getNamedBorder("thinOutset")}else{if(b.style=="inset"){a=this.getNamedBorder("thinInset")}}}else{if(b.width==2){a=this.getNamedBorder(b.style)}}}if(a===null){a=new org.eclipse.rwt.Border(b.width,b.style,b.color)}return a}}});
 qx.Class.define("org.eclipse.rwt.widgets.MultiCellWidget",{extend:qx.ui.basic.Terminator,construct:function(a){arguments.callee.base.call(this);this.__cellData=null;this.__cellNodes=null;this.__cellCount=null;this.__computedTotalSpacing=null;this.__styleRegExp=/([a-z])([A-Z])/g;this.__createCellData(a);this.__paddingCache=[0,0,0,0];this.__fontCache={};this.__colorCache="";this._flexibleCell=-1;this.initWidth();this.initHeight();this.addToQueue($[419]);this.setOverflow($[13]);this.initSelectable();this.initCursor();this.initTextColor();this.initHorizontalChildrenAlign()},destruct:function(){this._disposeObjectDeep("__cellData",0);this._disposeObjectDeep("__cellNodes",0);this._disposeObjectDeep("__paddingCache",0);this._disposeObjectDeep("_fontCache",0)},properties:{spacing:{check:$[14],init:4,themeable:true,apply:$[494],event:$[479]},horizontalChildrenAlign:{check:["left",$[30],$[15]],init:$[30],themeable:true,apply:$[455]},verticalChildrenAlign:{check:["top",$[46],$[31]],init:$[46],themeable:true,apply:$[493]},selectable:{refine:true,init:false},textColor:{refine:true,init:"#000000"},cursor:{refine:true,init:$[66]},allowStretchX:{refine:true,init:false},allowStretchY:{refine:true,init:false},appearance:{refine:true,init:"atom"},width:{refine:true,init:"auto"},height:{refine:true,init:"auto"}},members:{setCellContent:function(a,b){this.__updateComputedCellDimension(a);if(this._cellHasContent(a)!=(b!=null)){this._invalidateTotalSpacing();this.addToQueue($[419])}else{this.addToQueue("updateContent")}var c=b;if(this._isImageCell(a)){c=qx.io.Alias.getInstance().resolve(c)}this.__cellData[a][1]=c},setCellDimension:function(b,c,a){this.setCellWidth(b,c);this.setCellHeight(b,a)},setCellVisible:function(a,b){this.__cellData[a][6]=b;if(this.getCellNode(a)){this.getCellNode(a).style.display=b?"":"none"}},isCellVisible:function(a){return this.__cellData[a][6]},getCellNode:function(a){return this.__cellNodes[a]},getCellContent:function(a){return this.__cellData[a][1]},setCellWidth:function(a,b){if(this._getCellWidth(a)!==b){this._setCellWidth(a,b);this._invalidateTotalSpacing();this._invalidatePreferredInnerWidth();this._scheduleLayoutX()}},setCellHeight:function(b,a){this._setCellHeight(b,a);this._invalidateTotalSpacing();this._invalidatePreferredInnerHeight();this._scheduleLayoutY()},setFlexibleCell:function(a){this._flexibleCell=a},getFlexibleCell:function(){return this._flexibleCell},getCellDimension:function(b){var c=this.getCellWidth(b);var a=this.getCellHeight(b);return[c,a]},getCellWidth:function(a,b){var f=this.__cellData[a];var e=this._flexibleCell===a&&b!==true;var c=(f[2]!=null?f[2]:f[4]);if(c==null||(e&&f[3]===null)){var d=this.__computeCellDimension(f);c=d[0]}if(e){c=this._limitCellWidth(a,c)}return c},getCellHeight:function(b,c){var g=this.__cellData[b];var f=this._flexibleCell===b&&c!==true;var a=(g[3]!=null?g[3]:g[5]);if(a==null||(f&&g[3]===null)){var e=f?this.getCellWidth(b):null;var d=this.__computeCellDimension(g,e);a=d[1]}if(f){a=this._limitCellHeight(b,a)}return a},_applyElement:function(b,a){arguments.callee.base.call(this,b,a);if(b){this._createSubelements();this._catchSubelements()}},_createSubelements:function(){var b="";for(var a=0;a<this.__cellCount;a++){this.__setCellNode(a,null);if(this._cellHasContent(a)){if(this._isTextCell(a)){b+=this._getLabelHtml(a)}else{if(this._isImageCell(a)){b+=this._getImageHtml(a)}}}}this._getTargetNode().innerHTML=b},_catchSubelements:function(){var b=this._getTargetNode();var c=0;for(var a=0;a<this.__cellCount;a++){if(this._cellHasContent(a)){this.__setCellNode(a,b.childNodes[c]);c++}}if(this.getEnabled()==false){this._applyEnabled(false)}},_applySpacing:function(b,a){this._invalidateTotalSpacing();this._scheduleLayoutX()},_applyHorizontalChildrenAlign:function(b,a){this._scheduleLayoutX();this.setStyleProperty($[198],b)},_applyVerticalChildrenAlign:function(b,a){this._scheduleLayoutY()},_applyPaddingTop:function(b,a){this.addToLayoutChanges($[181]);this.__paddingCache[0]=b;this._invalidateFrameHeight()},_applyPaddingRight:function(b,a){this.addToLayoutChanges($[191]);this.__paddingCache[1]=b;this._invalidateFrameWidth()},_applyPaddingBottom:function(b,a){this.addToLayoutChanges($[208]);this.__paddingCache[2]=b;this._invalidateFrameHeight()},_applyPaddingLeft:function(b,a){this.addToLayoutChanges($[213]);this.__paddingCache[3]=b;this._invalidateFrameWidth()},_applyEnabled:function(b,a){arguments.callee.base.call(this,b,a);this._styleAllImagesEnabled()},_scheduleLayoutX:function(){this.addToQueue("layoutX");this._afterScheduleLayoutX()},_scheduleLayoutY:function(){this.addToQueue("layoutY");this._afterScheduleLayoutY()},_afterScheduleLayoutX:qx.lang.Function.returnTrue,_afterScheduleLayoutY:qx.lang.Function.returnTrue,_beforeComputeInnerWidth:qx.lang.Function.returnTrue,_beforeComputeInnerHeight:qx.lang.Function.returnTrue,_beforeRenderLayout:qx.lang.Function.returnTrue,_afterRenderLayout:qx.lang.Function.returnTrue,_cellHasContent:function(a){var b=this.__cellData[a][1];return b!=null},_isImageCell:function(a){var b=this.__cellData[a][0];return b==$[18]},_isTextCell:function(a){var b=this.__cellData[a][0];return b==$[74]},_setCellWidth:function(a,b){this.__cellData[a][2]=b},_getCellWidth:function(a){return this.__cellData[a][2]},_setCellHeight:function(b,a){this.__cellData[b][3]=a},__setCellNode:function(a,b){this.__cellNodes[a]=b;if(b!==null&&!this.isCellVisible(a)){b.style.display="none"}},__cellHasNode:function(a){return this.__cellNodes[a]!=null},__createCellData:function(b){var d=[];var a=[];this.__cellCount=b.length;for(var c=0;c<this.__cellCount;c++){a[c]=null;d[c]=[b[c],null,null,null,null,null,true]}this.__cellNodes=a;this.__cellData=d},__updateComputedCellDimension:function(a){var b=this.__cellData[a];b[4]=null;b[5]=null;if(b[2]==null){this._invalidatePreferredInnerWidth();this._scheduleLayoutX()}if(b[3]==null){this._invalidatePreferredInnerHeight();this._scheduleLayoutY()}},__computeCellDimension:function(c,b){var d;if(c[0]==$[74]&&c[1]!=null){var a=org.eclipse.swt.FontSizeCalculation;d=a.computeTextDimensions(c[1],this.__fontCache,b)}else{d=[0,0]}c[4]=d[0];c[5]=d[1];return d},_isWidthEssential:qx.lang.Function.returnTrue,_isHeightEssential:qx.lang.Function.returnTrue,_computePreferredInnerWidth:function(){return this._getContentWidth($[380])},_limitCellWidth:function(b,e){var d=this.getInnerWidth();var c=this._getContentWidth($[430]);var f=Math.max(0,d-c);var a;if(e>f){a=f}else{a=e}return a},_getContentWidth:function(f){this._beforeComputeInnerWidth();var a=0;if(f===$[380]){var e=this.getTotalSpacing();var d=0;for(var b=0;b<this.__cellCount;b++){d+=this.getCellWidth(b,true)}a=e+d}else{if(f===$[430]){var g=this.getSpacing();for(var b=0;b<this.__cellCount;b++){if(b!==this._flexibleCell){var c=this.getCellWidth(b);a+=c;if(c>0){a+=g}}}}else{if(f==="flexible"){var e=this.getTotalSpacing();var d=0;for(var b=0;b<this.__cellCount;b++){d+=this.getCellWidth(b)}a=e+d}else{throw new Error("unkown hint")}}}return a},_computePreferredInnerHeight:function(){this._beforeComputeInnerHeight();var b=0;for(var a=0;a<this.__cellCount;a++){b=Math.max(b,this.getCellHeight(a,true))}return b},_limitCellHeight:function(b,c){var d=this.getInnerHeight();var a;if(c>d){a=d}else{a=c}return a},getTotalSpacing:function(){if(this.__computedTotalSpacing==null){var a=Math.max(0,(this.getTotalVisibleCells()-1));this.__computedTotalSpacing=a*this.getSpacing()}return this.__computedTotalSpacing},getTotalVisibleCells:function(){var a=0;for(var b=0;b<this.__cellCount;b++){if(this.cellIsDisplayable(b)){a++}}return a},cellIsDisplayable:function(a){return(this.getCellWidth(a,true)>0)},_invalidateTotalSpacing:function(){this.__computedTotalSpacing=null;this._invalidatePreferredInnerWidth()},renderPadding:function(a){},_layoutPost:function(a){if(a.createContent){this._createSubelements();this._catchSubelements()}if(a.updateContent&&!a.createContent){this._updateAllImages();this._updateAllLabels()}a.layoutX=a.width||a.layoutX||a.frameWidth||a.initial;a.layoutY=a.height||a.layoutY||a.frameHeight||a.initial;this._beforeRenderLayout(a);if(a.layoutX){this._renderLayoutX()}if(a.layoutY){this._renderLayoutY()}this._afterRenderLayout(a);arguments.callee.base.call(this,a)},_renderLayoutX:function(){var a=this.getSpacing();var d=this.__paddingCache;var g=this.getHorizontalChildrenAlign();var h=this._getContentWidth("flexible");var k=this.getInnerWidth();var j=null;switch(g){default:case"left":j=d[3];break;case $[30]:j=Math.round(d[3]+k*0.5-h*0.5);break;case $[15]:j=d[3]+k-h;break}var e=j;var c=null;var b=null;for(var f=0;f<this.__cellCount;f++){if(this.cellIsDisplayable(f)){c=this.getCellWidth(f);if(this._cellHasContent(f)){b=this.getCellNode(f).style;b.left=e+"px";b.width=c+"px"}e+=(c+a)}}},_renderLayoutY:function(){for(var a=0;a<this.__cellCount;a++){if(this._cellHasContent(a)){this._renderCellLayoutY(a)}}},_renderCellLayoutY:function(b){var g=this.getVerticalChildrenAlign();var f=this.__paddingCache;var c=this.getInnerHeight();var a=this.getCellHeight(b);var e=null;switch(g){default:case"top":e=f[0];break;case $[46]:e=Math.round(f[0]+c*0.5-a*0.5);break;case $[31]:e=f[0]+c-a;break}var d=this.getCellNode(b).style;d.top=e+"px";d.height=a+"px"},_getImageHtml:qx.core.Variant.select($[0],{mshtml:function(a){if(org.eclipse.rwt.Client.getVersion()<7){var c=this.getCellContent(a);var b="";if(c){b="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+c+$[367]}return'<div style="position:absolute;border:0 none;line-height:0px;font-size:0px;'+b+'"></div>'}else{var c=this.getCellContent(a);var b="";if(c){b=$[452]+c+")"}return"<div style='position:absolute;border:0 none;line-height:0px;font-size:0px;"+b+$[421]}},"default":function(a){var c=this.getCellContent(a);var b="";if(c){b=$[452]+c+")"}return"<div style='position:absolute;border:0 none;"+b+$[421]}}),_updateImage:function(a){var c=this.getCellNode(a);var d=this.getCellContent(a);var b=this.getEnabled()?1:0.3;org.eclipse.rwt.HtmlUtil.setBackgroundImage(c,d,b)},_updateAllImages:function(){for(var a=0;a<this.__cellCount;a++){if(this._isImageCell(a)&&this._cellHasContent(a)){this._updateImage(a)}}},_styleAllImagesEnabled:function(){for(var a=0;a<this.__cellCount;a++){if(this._isImageCell(a)&&this.__cellHasNode(a)){this._updateImage(a)}}},_getLabelHtml:function(a){return"<div style='position:absolute;border:0 none;overflow:hidden;"+this._joinStyleProperties(this.__fontCache)+"'>"+this.getCellContent(a)+"</div>"},_joinStyleProperties:function(d){var e=[];var c;for(var b in d){c=d[b];if(c){e.push(b,":",c,";")}}var a=e.join("");return a.replace(this.__styleRegExp,"$1-$2").toLowerCase()},_applyFont:function(b,a){this._styleFont(b)},_styleFont:function(a){if(a){a.renderStyle(this.__fontCache)}else{qx.ui.core.Font.resetStyle(this.__fontCache)}for(var b=0;b<this.__cellCount;b++){if(this._isTextCell(b)&&this._cellHasContent(b)){if(this.__cellHasNode(b)){if(a){a.renderStyle(this.getCellNode(b).style)}else{qx.ui.core.Font.resetStyle(this.getCellNode(b).style)}}this.__updateComputedCellDimension(b)}}},_applyTextColor:function(b,a){if(b){this.setStyleProperty($[65],b)}else{this.removeStyleProperty($[65])}},_updateLabel:function(a){this.getCellNode(a).innerHTML=this.getCellContent(a)},_updateAllLabels:function(){for(var a=0;a<this.__cellCount;a++){if(this._isTextCell(a)&&this._cellHasContent(a)){this._updateLabel(a)}}}}});
@@ -165,15 +165,15 @@
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.DropTarget",{factory:function(b){var c=org.eclipse.rwt.protocol.ObjectManager.getObject(b.control);var a={control:c};org.eclipse.rwt.DNDSupport.getInstance().registerDropTarget(c,b.style);return a},destructor:function(a){org.eclipse.rwt.DNDSupport.getInstance().deregisterDropTarget(a.control)},properties:["transfer"],propertyHandler:{transfer:function(b,a){var c=b.control;org.eclipse.rwt.DNDSupport.getInstance().setDropTargetTransferTypes(c,a)}},listeners:[],listenerHandler:{},methods:[]});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.DragSource",{factory:function(b){var c=org.eclipse.rwt.protocol.ObjectManager.getObject(b.control);var a={control:c};org.eclipse.rwt.DNDSupport.getInstance().registerDragSource(c,b.style);return a},destructor:function(a){org.eclipse.rwt.DNDSupport.getInstance().deregisterDragSource(a.control)},properties:["transfer"],propertyHandler:{transfer:function(b,a){var c=b.control;org.eclipse.rwt.DNDSupport.getInstance().setDragSourceTransferTypes(c,a)}},methods:["changeFeedback","changeDetail","changeDataType",$[183]],methodHandler:{changeFeedback:function(e,c){var d=org.eclipse.rwt.DNDSupport.getInstance();var f=org.eclipse.rwt.protocol.ObjectManager.getObject(c.control);var b=c.feedback;var a=c.flags;d.setFeedback(f,b,a)},changeDetail:function(d,a){var c=org.eclipse.rwt.DNDSupport.getInstance();var e=org.eclipse.rwt.protocol.ObjectManager.getObject(a.control);var b=a.detail;c.setOperationOverwrite(e,b)},changeDataType:function(d,b){var c=org.eclipse.rwt.DNDSupport.getInstance();var e=org.eclipse.rwt.protocol.ObjectManager.getObject(b.control);var a=b.dataType;c.setDataType(e,a)},cancel:function(c,a){var b=org.eclipse.rwt.DNDSupport.getInstance();b.cancel()}}});
 qx.Class.define("org.eclipse.swt.theme.ThemeValues",{extend:qx.core.Object,construct:function(a){if(a===undefined){throw new Error("no states given")}this._states=a;this._store=org.eclipse.swt.theme.ThemeStore.getInstance()},statics:{NONE_IMAGE:null,NONE_IMAGE_SIZED:[null,0,0]},members:{getCssBorder:function(b,a){return this._store.getBorder(b,this._states,a)},getCssNamedBorder:function(a){return this._store.getNamedBorder(a)},getCssColor:function(b,a){return this._store.getColor(b,this._states,a)},getCssAlpha:function(b,a){return this._store.getAlpha(b,this._states,a)},getCssNamedColor:function(a){return this._store.getNamedColor(a)},getCssFont:function(b,a){return this._store.getFont(b,this._states,a)},getCssDimension:function(b,a){return this._store.getDimension(b,this._states,a)},getCssBoxDimensions:function(b,a){return this._store.getBoxDimensions(b,this._states,a)},getCssBoolean:function(b,a){return this._store.getBoolean(b,this._states,a)},getCssFloat:function(b,a){return this._store.getFloat(b,this._states,a)},getCssIdentifier:function(b,a){return this._store.getIdentifier(b,this._states,a)},getCssImage:function(b,a){return this._store.getImage(b,this._states,a)},getCssSizedImage:function(b,a){return this._store.getSizedImage(b,this._states,a)},getCssGradient:function(b,a){return this._store.getGradient(b,this._states,a)},getCssCursor:function(b,a){return this._store.getCursor(b,this._states,a)},getCssAnimation:function(b,a){return this._store.getAnimation(b,this._states,a)},getCssShadow:function(b,a){return this._store.getShadow(b,this._states,a)},mergeBorders:function(b,a,h,f,e){if(b==null){throw new Error("Unable to merge borders. Base border is null")}var j=b;var c=false;var g=b.getColors();var i=b.getWidths();var d=b.getStyles();if(a!=null&&a.getWidthTop()!==0){c=true;g[0]=a.getColorTop();i[0]=a.getWidthTop();d[0]=a.getStyleTop()}if(h!=null&&h.getWidthRight()!==0){c=true;g[1]=h.getColorRight();i[1]=h.getWidthRight();d[1]=h.getStyleRight()}if(f!=null&&f.getWidthBottom()!==0){c=true;g[2]=f.getColorBottom();i[2]=f.getWidthBottom();d[2]=f.getStyleBottom()}if(e!=null&&e.getWidthLeft()!==0){c=true;g[3]=e.getColorLeft();i[3]=e.getWidthLeft();d[3]=e.getStyleLeft()}if(c){j=new org.eclipse.rwt.Border(i,d,g)}return j}}});
-qx.Class.define("org.eclipse.rwt.widgets.Tree",{extend:qx.ui.layout.CanvasLayout,construct:function(a){arguments.callee.base.call(this);this._rootItem=new org.eclipse.rwt.widgets.TreeItem();this._isVirtual=false;this._hasMultiSelection=false;this._hasSelectionListener=false;this._leadItem=null;this._topItemIndex=0;this._selection=[];this._focusItem=null;this._renderQueue={};this._resizeLine=null;this._selectionTimestamp=null;this._selectionOffsetX=null;this._delayedSelection=false;this._sortDirection=null;this._sortColumn=null;this._headerHeight=0;this._itemHeight=16;this._mergeEventsTimer=new qx.client.Timer(50);this._sendRequestTimer=null;this._rowContainer=org.eclipse.rwt.TreeUtil.createTreeRowContainer(a);this._columnArea=new org.eclipse.rwt.widgets.TableHeader(a);this._horzScrollBar=new org.eclipse.rwt.widgets.ScrollBar(true);this._vertScrollBar=new org.eclipse.rwt.widgets.ScrollBar(false);this._hasScrollBarsSelectionListener=false;this.add(this._columnArea);this.add(this._rowContainer);this.add(this._horzScrollBar);this.add(this._vertScrollBar);this._cellToolTip=null;this._config=this._rowContainer.getRenderConfig();this.setCursor($[66]);this.setOverflow($[13]);qx.ui.core.Widget.disableScrolling(this);this._configureAreas();this._configureScrollBars();this._registerListeners();this._parseArgsMap(a)},destruct:function(){this._rootItem.removeEventListener("update",this._onItemUpdate,this);this._rootItem.dispose();this._rootItem=null;if(this._sendRequestTimer!=null){this._sendRequestTimer.dispose();this._sendRequestTimer=null}this._mergeEventsTimer.dispose();this._mergeEventsTimer=null;this._rowContainer=null;this._columnArea=null;this._horzScrollBar=null;this._vertScrollBar=null;this._leadItem=null;this._focusItem=null;this._sortColumn=null;this._resizeLine=null;if(this._cellToolTip){this._cellToolTip.destroy();this._cellToolTip=null}},members:{_configureAreas:function(){this._columnArea.addEventListener($[424],this._onColumnLayoutChanged,this);this._columnArea.setTop(0);this._columnArea.setLeft(0);this._columnArea.setDisplay(false);var a=function(b){b.stopPropagation()};this._columnArea.addEventListener($[79],a)},_configureScrollBars:function(){var a=function(b){b.stopPropagation()};this._horzScrollBar.setZIndex(100000000);this._horzScrollBar.setVisibility(false);this._horzScrollBar.setLeft(0);this._horzScrollBar.setMergeEvents(false);this._horzScrollBar.addEventListener($[79],a);this._vertScrollBar.setZIndex(100000000);this._vertScrollBar.setVisibility(false);this._vertScrollBar.setIncrement(16);this._vertScrollBar.setMergeEvents(false);this._vertScrollBar.addEventListener($[79],a)},_registerListeners:function(){this._rootItem.addEventListener("update",this._onItemUpdate,this);this.addEventListener($[1],this._onMouseDown,this);this.addEventListener($[5],this._onMouseUp,this);this.addEventListener($[8],this._onMouseOut,this);this.addEventListener($[4],this._onKeyPress,this);this._rowContainer.addEventListener($[47],this._onClientAreaMouseWheel,this);this._mergeEventsTimer.addEventListener($[28],this._updateTopItemIndex,this);this._horzScrollBar.addEventListener($[109],this._onHorzScrollBarChangeValue,this);this._vertScrollBar.addEventListener($[109],this._onVertScrollBarChangeValue,this);this._rowContainer.setSelectionProvider(this.isItemSelected,this);this._rowContainer.setPostRenderFunction(this._vertScrollBar.autoEnableMerge,this._vertScrollBar)},_parseArgsMap:function(a){if(a.noScroll){this._rowContainer.removeEventListener($[47],this._onClientAreaMouseWheel,this)}if(a.hideSelection){this._config.hideSelection=true}if(a.multiSelection){this._hasMultiSelection=true}if(a.fullSelection){this._config.fullSelection=true}else{this._config.selectionPadding=a.selectionPadding}if(a.check){this._config.hasCheckBoxes=true;this._config.checkBoxLeft=a.checkBoxMetrics[0];this._config.checkBoxWidth=a.checkBoxMetrics[1]}if(a.virtual){this._isVirtual=true;this._createSendRequestTimer()}if(typeof a.indentionWidth===$[62]){this._config.indentionWidth=a.indentionWidth}if(a.markupEnabled){this._config.markupEnabled=true}this._rowContainer.setBaseAppearance(a.appearance);this.setAppearance(a.appearance)},_createSendRequestTimer:function(){if(this._sendRequestTimer===null){var b=new qx.client.Timer(400);var a=org.eclipse.swt.Request.getInstance();b.addEventListener($[28],a.send,a);a.addEventListener("send",b.stop,b);this._sendRequestTimer=b}},setItemCount:function(a){this._rootItem.setItemCount(a)},setHeaderVisible:function(a){this._columnArea.setDisplay(a);this._layoutX();this._layoutY()},setHeaderHeight:function(a){this._headerHeight=a;this._layoutX();this._layoutY()},setItemHeight:function(a){this._itemHeight=a;this._vertScrollBar.setIncrement(a);this._rowContainer.setRowHeight(a);this._scheduleUpdate($[219])},setColumnCount:function(a){this._config.columnCount=a;this._scheduleUpdate();this._updateScrollWidth()},setItemMetrics:function(e,f,d,b,c,a,g){this._config.itemLeft[e]=f;this._config.itemWidth[e]=d;this._config.itemImageLeft[e]=b;this._config.itemImageWidth[e]=c;this._config.itemTextLeft[e]=a;this._config.itemTextWidth[e]=g;this._scheduleUpdate();this._updateScrollWidth()},setTreeColumn:function(a){this._config.treeColumn=a},setTopItemIndex:function(a){this._updateScrollHeight();this._vertScrollBar.setValue(a*this._itemHeight);if(!this._inServerResponse()){qx.ui.core.Widget.flushGlobalQueues()}},setScrollLeft:function(a){this._horzScrollBar.setValue(a)},selectItem:function(a){this._selectItem(a,false);this._scheduleItemUpdate(a)},deselectItem:function(a){this._deselectItem(a,false);this._scheduleItemUpdate(a)},setFocusItem:function(a){this._focusItem=a;this._sendItemFocusChange()},setSortDirection:function(a){this._sortDirection=a;if(this._sortColumn!==null){this._sortColumn.setSortDirection(this._sortDirection)}},setSortColumn:function(a){if(this._sortColumn!==null){this._sortColumn.setSortDirection("none")}this._sortColumn=a;if(this._sortColumn!==null){this._sortColumn.setSortDirection(this._sortDirection)}},setScrollBarsVisible:function(b,a){if(!b){this._horzScrollBar.setValue(0)}this._horzScrollBar.setVisibility(b);if(!a){this._vertScrollBar.setValue(0)}this._vertScrollBar.setVisibility(a);this._layoutX();this._layoutY()},setHasSelectionListener:function(a){this._hasSelectionListener=a},setAlignment:function(a,b){this._config.alignment[a]=b;this._scheduleUpdate()},setLinesVisible:function(a){this._config.linesVisible=a;if(a){this.addState($[185])}else{this.removeState($[185])}this._rowContainer.updateRowLines();this._scheduleUpdate()},setAlwaysHideSelection:function(a){this._config.alwaysHideSelection=a;this._scheduleUpdate()},addState:function(a){arguments.callee.base.call(this,a);if(a.slice(0,8)===$[36]){this._config.variant=a}},removeState:function(a){if(this._config.variant===a){this._config.variant=null}arguments.callee.base.call(this,a)},getRenderConfig:function(){return this._config},getRootItem:function(){return this._rootItem},isFocusItem:function(a){return this._focusItem===a},isItemSelected:function(a){return this._selection.indexOf(a)!=-1},getRowContainer:function(){return this._rowContainer},getTableHeader:function(){return this._columnArea},update:function(){this._scheduleUpdate()},_onItemUpdate:function(b){var a=b.target;if(b.msg===$[273]){if(this._focusItem&&this._focusItem.isChildOf(a)){this.setFocusItem(a)}}if(b.msg===$[221]){this._scheduleUpdate($[501])}this._sendItemUpdate(a,b);this._renderItemUpdate(a,b);return false},_onVertScrollBarChangeValue:function(){if(this._vertScrollBar._internalValueChange){this._mergeEventsTimer.start()}else{this._updateTopItemIndex()}},_updateTopItemIndex:function(){this._mergeEventsTimer.stop();var a=this._vertScrollBar.getValue();var b=this._topItemIndex;this._topItemIndex=Math.ceil(a/this._itemHeight);if(this._inServerResponse()){this._scheduleUpdate("topItem")}else{this._sendTopItemIndexChange();this._updateTopItem(true)}},_onHorzScrollBarChangeValue:function(){this._rowContainer.setScrollLeft(this._horzScrollBar.getValue());this._columnArea.setScrollLeft(this._horzScrollBar.getValue());this._sendScrollLeftChange()},_onMouseDown:function(a){this._delayedSelection=false;var b=a.getOriginalTarget();if(b instanceof org.eclipse.rwt.widgets.TreeRow){this._onRowMouseDown(b,a)}},_onMouseUp:function(a){if(this._delayedSelection){this._onMouseDown(a)}},_onRowMouseDown:function(e,d){var c=this._rowContainer.findItemByRow(e);if(c!=null){var b=e.getTargetIdentifier(d);if(b===$[280]&&c.hasChildren()){var a=!c.isExpanded();if(!a){this._deselectVisibleChildren(c)}c.setExpanded(a)}else{if(b===$[232]){this._toggleCheckSelection(c)}else{if(this._isSelectionClick(b)){this._onSelectionClick(d,c)}}}}},_isSelectionClick:function(b){var a;if(this._config.fullSelection){a=b!==$[232]}else{a=b===$[309]}return a},_onSelectionClick:function(b,a){var c=this._isDoubleClicked(b,a);if(c){this._sendSelectionEvent(a,true,null)}else{if(this._hasMultiSelection){if(!this._delayMultiSelect(b,a)){this._multiSelectItem(b,a)}}else{this._singleSelectItem(b,a)}}},_delayMultiSelect:function(b,a){if(this._isDragSource()&&this.isItemSelected(a)&&b.getType()===$[1]){this._delayedSelection=true}return this._delayedSelection},_onMouseOut:function(a){this._delayedSelection=false},_onClientAreaMouseWheel:function(a){a.preventDefault();a.stopPropagation();var b=a.getWheelDelta()*this._itemHeight*2;this._vertScrollBar.setValue(this._vertScrollBar.getValue()-b);this._vertScrollBar.setValue(this._vertScrollBar.getValue())},_onKeyPress:function(a){if(this._focusItem!=null){switch(a.getKeyIdentifier()){case $[54]:this._handleKeyEnter(a);break;case $[83]:this._handleKeySpace(a);break;case"Up":this._handleKeyUp(a);break;case"Down":this._handleKeyDown(a);break;case $[42]:this._handleKeyPageUp(a);break;case $[43]:this._handleKeyPageDown(a);break;case"Home":this._handleKeyHome(a);break;case"End":this._handleKeyEnd(a);break;case"Left":this._handleKeyLeft(a);break;case $[39]:this._handleKeyRight(a);break}}this._stopKeyEvent(a)},_stopKeyEvent:function(a){switch(a.getKeyIdentifier()){case"Up":case"Down":case"Left":case $[39]:case"Home":case"End":case $[42]:case $[43]:a.preventDefault();a.stopPropagation();break}},_onColumnLayoutChanged:function(a){this._updateScrollWidth();this._scheduleUpdate()},_showResizeLine:function(b,c){if(this._resizeLine===null){this._resizeLine=new qx.ui.basic.Terminator();this._resizeLine.setAppearance("table-column-resizer");this.add(this._resizeLine);qx.ui.core.Widget.flushGlobalQueues()}var e=this._rowContainer.getTop();this._resizeLine._renderRuntimeTop(e);var d=b-2-(!c?this._horzScrollBar.getValue():0);this._resizeLine._renderRuntimeLeft(d);var a=this._rowContainer.getHeight();this._resizeLine._renderRuntimeHeight(a);this._resizeLine.removeStyleProperty($[151])},_hideResizeLine:function(){this._resizeLine.setStyleProperty($[151],$[13])},_handleKeyEnter:function(a){this._sendSelectionEvent(this._focusItem,true,null)},_handleKeySpace:function(b){if(b.isCtrlPressed()||!this.isItemSelected(this._focusItem)){var a=this._focusItem.getFlatIndex();this._handleKeyboardSelect(b,this._focusItem,a)}if(this._config.hasCheckBoxes){this._toggleCheckSelection(this._focusItem)}},_handleKeyUp:function(c){var b=this._focusItem.getPreviousItem();if(b!=null){var a=b.getFlatIndex();this._handleKeyboardSelect(c,b,a)}},_handleKeyDown:function(c){var b=this._focusItem.getNextItem();if(b!=null){var a=b.getFlatIndex();this._handleKeyboardSelect(c,b,a)}},_handleKeyPageUp:function(d){var f=this._focusItem.getFlatIndex();var e=this._rowContainer.getChildrenLength()-2;var a=Math.max(0,f-e);var c=this._rootItem.findItemByFlatIndex(a);var b=c.getFlatIndex();this._handleKeyboardSelect(d,c,b)},_handleKeyPageDown:function(e){var g=this._focusItem.getFlatIndex();var f=this._rowContainer.getChildrenLength()-2;var a=this.getRootItem().getVisibleChildrenCount()-1;var b=Math.min(a,g+f);var d=this._rootItem.findItemByFlatIndex(b);var c=d.getFlatIndex();this._handleKeyboardSelect(e,d,c)},_handleKeyHome:function(b){var a=this.getRootItem().getChild(0);this._handleKeyboardSelect(b,a,0)},_handleKeyEnd:function(c){var b=this.getRootItem().getLastChild();var d=new Date();var a=this.getRootItem().getVisibleChildrenCount()-1;this._handleKeyboardSelect(c,b,a)},_handleKeyLeft:function(c){if(this._focusItem.isExpanded()){this._focusItem.setExpanded(false)}else{if(!this._focusItem.getParent().isRootItem()){var b=this._focusItem.getParent();var a=b.getFlatIndex();this._handleKeyboardSelect(c,b,a,true)}}},_handleKeyRight:function(c){if(this._focusItem.hasChildren()){if(!this._focusItem.isExpanded()){this._focusItem.setExpanded(true)}else{var b=this._focusItem.getChild(0);var a=b.getFlatIndex();this._handleKeyboardSelect(c,b,a,true)}}},_handleKeyboardSelect:function(d,c,b,a){if(this._hasMultiSelection&&!a){this._multiSelectItem(d,c)}else{this._singleSelectItem(d,c)}this._scrollIntoView(b)},_renderItemUpdate:function(b,a){if(b.isDisplayable()){switch(a.msg){case $[162]:case $[273]:this._scheduleUpdate($[219]);break;case"add":case $[221]:if(b.isExpanded()){this._scheduleUpdate($[219])}else{this._scheduleItemUpdate(b)}break;default:if(this._inServerResponse()){this._scheduleItemUpdate(b)}else{this._rowContainer.renderItem(b)}break}}},_scheduleUpdate:function(a){if(a!==undefined){this.addToQueue(a)}this._renderQueue.allItems=true;this.addToQueue($[315])},_scheduleItemUpdate:function(a){this._renderQueue[a.toHashCode()]=a;this.addToQueue($[315])},_layoutPost:function(a){arguments.callee.base.call(this,a);if(a[$[501]]){this._checkDisposedItems()}if(a[$[219]]){this._updateScrollHeight()}if(a[$[219]]||a.topItem){this._updateTopItem(false)}if(a[$[315]]){if(this._renderQueue.allItems){this._rowContainer.renderAll()}else{this._rowContainer.renderItemQueue(this._renderQueue)}this._renderQueue={}}},_updateScrollHeight:function(){var b=this.getRootItem().getVisibleChildrenCount();var a=b*this._itemHeight;if(this._vertScrollBar.getMaximum()!=a){if(!this._vertScrollBar.getDisposed()){this._vertScrollBar.setMaximum(a)}}},_updateTopItem:function(b){var a=this._rootItem.findItemByFlatIndex(this._topItemIndex);this._rowContainer.setTopItem(a,this._topItemIndex,b)},_updateScrollWidth:function(){var a=this._getItemWidth();this._rowContainer.setRowWidth(this._getRowWidth());if(!this._horzScrollBar.getDisposed()){this._horzScrollBar.setMaximum(a)}var b=this._vertScrollBar.getVisibility()?this._vertScrollBar.getWidth():0;this._columnArea.setScrollWidth(a+b)},_scrollIntoView:function(a){if(a<this._topItemIndex){this.setTopItemIndex(a)}else{if(a>(this._topItemIndex+this._rowContainer.getChildrenLength()-2)){this.setTopItemIndex(a-this._rowContainer.getChildrenLength()+2)}}},setHasScrollBarsSelectionListener:function(a){this._hasScrollBarsSelectionListener=a;if(a){this._createSendRequestTimer()}},_sendSelectionChange:function(c){if(!this._inServerResponse()){var b=org.eclipse.swt.Request.getInstance();var d=org.eclipse.swt.WidgetManager.getInstance();var e=d.findIdByWidget(this);var a=this._getSelectionList();b.addParameter(e+$[147],a);this._sendSelectionEvent(c,false,null)}},_sendItemCheckedChange:function(b){if(!this._inServerResponse()){var a=org.eclipse.swt.Request.getInstance();var c=org.eclipse.swt.WidgetManager.getInstance();var d=c.findIdByWidget(b);a.addParameter(d+".checked",b.isChecked());this._sendSelectionEvent(b,false,"check")}},_sendItemFocusChange:function(){if(!this._inServerResponse()){var a=org.eclipse.swt.Request.getInstance();var b=org.eclipse.swt.WidgetManager.getInstance().findIdByWidget(this);a.addParameter(b+".focusItem",this._getItemId(this._focusItem))}},_sendTopItemIndexChange:function(){var a=org.eclipse.swt.Request.getInstance();var b=org.eclipse.swt.WidgetManager.getInstance();var c=b.findIdByWidget(this);a.addParameter(c+".topItemIndex",this._topItemIndex);if(this._isVirtual||this._hasScrollBarsSelectionListener){this._sendRequestTimer.start()}},_sendScrollLeftChange:function(){var a=org.eclipse.swt.Request.getInstance();var b=org.eclipse.swt.WidgetManager.getInstance();var c=b.findIdByWidget(this);a.addParameter(c+".scrollLeft",this._horzScrollBar.getValue());if(this._isVirtual||this._hasScrollBarsSelectionListener){this._sendRequestTimer.start()}},_sendItemUpdate:function(b,a){if(!this._inServerResponse()){switch(a.msg){case $[162]:this._sendItemEvent(b,"org.eclipse.swt.events.treeExpanded");break;case $[273]:this._sendItemEvent(b,"org.eclipse.swt.events.treeCollapsed");break;default:}}},_sendItemEvent:function(c,a){var d=org.eclipse.swt.WidgetManager.getInstance();var e=d.findIdByWidget(c);var b=org.eclipse.swt.Request.getInstance();b.addEvent(a,e);b.send()},_sendSelectionEvent:function(e,c,b){if(this._hasSelectionListener){var d=org.eclipse.swt.Request.getInstance();var f=org.eclipse.swt.WidgetManager.getInstance();var h=f.findIdByWidget(this);var a="org.eclipse.swt.events.widget";a+=c?"DefaultSelected":"Selected";var g=this._getItemId(e);d.addEvent(a,h);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();d.addParameter(a+".item",g);if(b!=null){d.addParameter(a+".detail",b)}d.send()}},_isDoubleClicked:function(c,h){var i=false;var d=c.getType()===$[1];var e=c.getButton()==="left";if(e&&d&&this.isFocusItem(h)&&this._selectionTimestamp!=null){var a=new Date();var f=c.getPageX();var b=org.eclipse.swt.EventUtil.DOUBLE_CLICK_TIME;var g=8;if(a.getTime()-this._selectionTimestamp.getTime()<b&&Math.abs(this._selectionOffsetX-f)<g){i=true}}if(d&&e&&!i){this._selectionTimestamp=new Date();this._selectionOffsetX=c.getPageX()}else{if(d){this._selectionTimestamp=null}}return i},_getSelectionList:function(){var a=[];for(var b=0;b<this._selection.length;b++){a.push(this._getItemId(this._selection[b]))}return a.join()},_getItemId:function(c){var d=org.eclipse.swt.WidgetManager.getInstance();var a;if(c.isCached()){a=d.findIdByWidget(c)}else{var b=c.getParent();if(b.isRootItem()){a=d.findIdByWidget(this)}else{a=d.findIdByWidget(b)}a+="#"+b.indexOf(c)}return a},_singleSelectItem:function(b,a){if(b.isCtrlPressed()&&this.isItemSelected(a)){this._ctrlSelectItem(a)}else{this._exclusiveSelectItem(a)}},_multiSelectItem:function(b,a){if(b instanceof qx.event.type.MouseEvent&&b.isRightButtonPressed()){if(!this.isItemSelected(a)){this._exclusiveSelectItem(a)}}else{if(b.isCtrlPressed()){if(b instanceof qx.event.type.KeyEvent&&a!=this._focusItem){this.setFocusItem(a)}else{this._ctrlSelectItem(a)}}else{if(b.isShiftPressed()){if(this._focusItem!=null){this._shiftSelectItem(a)}else{this._exclusiveSelectItem(a)}}else{this._exclusiveSelectItem(a)}}}},_exclusiveSelectItem:function(a){this.deselectAll();this._leadItem=null;this._selectItem(a,true);this._sendSelectionChange(a);this.setFocusItem(a)},_ctrlSelectItem:function(a){if(!this.isItemSelected(a)){this._selectItem(a,true)}else{this._deselectItem(a,true)}this._sendSelectionChange(a);this.setFocusItem(a)},_shiftSelectItem:function(c){this.deselectAll();var b=this._leadItem!=null?this._leadItem:this._focusItem;this._leadItem=b;var e=c;var f=b.getFlatIndex();var d=e.getFlatIndex();if(f>d){var a=b;b=e;e=a}this._selectItem(b,true);while(b!==e){b=b.getNextItem();this._selectItem(b,true)}this._sendSelectionChange(c);this.setFocusItem(c)},_selectItem:function(b,a){if(!this.isItemSelected(b)){this._selection.push(b)}if(a){this._rowContainer.renderItem(b)}},_deselectItem:function(b,a){if(this.isItemSelected(b)){this._selection.splice(this._selection.indexOf(b),1)}if(a){this._rowContainer.renderItem(b)}},deselectAll:function(){var a=this._selection;this._selection=[];for(var b=0;b<a.length;b++){this._rowContainer.renderItem(a[b])}},_toggleCheckSelection:function(a){if(a.isCached()){a.setChecked(!a.isChecked());this._sendItemCheckedChange(a)}},_deselectVisibleChildren:function(b){var a=b.getNextItem();var c=b.getNextItem(true);while(a!==c){this._deselectItem(a,false);a=a.getNextItem()}},_applyFocused:function(b,a){arguments.callee.base.call(this,b,a);this._config.focused=b;this._scheduleUpdate()},_applyEnabled:function(b,a){arguments.callee.base.call(this,b,a);this._config.enabled=b;this._scheduleUpdate()},_checkDisposedItems:function(){if(this._focusItem&&this._focusItem.isDisposed()){this._focusItem=null}if(this._leadItem&&this._leadItem.isDisposed()){this._leadItem=null}var a=0;while(a<this._selection.length){if(this._selection[a].isDisposed()){this._deselectItem(this._selection[a],false)}else{a++}}},_applyTextColor:function(b,a){arguments.callee.base.call(this,b,a);this._config.textColor=b;this._scheduleUpdate()},_applyFont:function(b,a){arguments.callee.base.call(this,b,a);this._config.font=b;this._scheduleUpdate()},_applyBackgroundColor:function(a){this._rowContainer.setBackgroundColor(a)},_applyBackgroundImage:function(a){this._rowContainer.setBackgroundImage(a)},_applyWidth:function(b,a){arguments.callee.base.call(this,b,a);this._layoutX()},_applyHeight:function(b,a){arguments.callee.base.call(this,b,a);this._layoutY()},_applyBorder:function(b,a){arguments.callee.base.call(this,b,a);this._layoutX();this._layoutY()},_layoutX:function(){var a=this.getWidth()-this.getFrameWidth();if(this._columnArea.getDisplay()){this._columnArea.setWidth(a)}if(this._vertScrollBar.getVisibility()){a-=this._vertScrollBar.getWidth();this._vertScrollBar.setLeft(a)}this._horzScrollBar.setWidth(a);this._rowContainer.setWidth(a);this._updateScrollWidth()},_layoutY:function(){var a=this.getHeight()-this.getFrameHeight();var b=0;if(this._columnArea.getDisplay()){b=this._headerHeight;a-=this._headerHeight;this._columnArea.setHeight(this._headerHeight)}if(this._horzScrollBar.getVisibility()){a-=this._horzScrollBar.getHeight();this._horzScrollBar.setTop(b+a)}a=Math.max(0,a);this._vertScrollBar.setHeight(a);this._vertScrollBar.setTop(b);this._rowContainer.setTop(b);this._rowContainer.setHeight(a);this._scheduleUpdate()},_getItemWidth:function(){var a=0;if(this._config.itemLeft.length>0){var c=Math.max(1,this._config.columnCount);for(var b=0;b<c;b++){a=Math.max(a,this._config.itemLeft[b]+this._config.itemWidth[b])}}return a},_getRowWidth:function(){var b=this._rowContainer.getWidth();var a=Math.max(this._getItemWidth(),b);return a},_inServerResponse:function(){return org.eclipse.swt.EventUtil.getSuspended()},_isDragSource:function(){return this.hasEventListeners($[79])},setEnableCellToolTip:function(a){if(a){var c=org.eclipse.swt.WidgetManager.getInstance();var b=c.findIdByWidget(this);this._cellToolTip=new org.eclipse.swt.widgets.TableCellToolTip(b);this._rowContainer.addEventListener($[34],this._onClientAreaMouseMove,this);this._rowContainer.setToolTip(this._cellToolTip)}else{this._rowContainer.removeEventListener($[34],this._onClientAreaMouseMove,this);this._rowContainer.setToolTip(null);this._cellToolTip.destroy();this._cellToolTip=null}},_onClientAreaMouseMove:function(a){if(this._cellToolTip!=null){var c=null;var b=-1;if(this._rowContainer.getHoverItem()){var d=org.eclipse.swt.WidgetManager.getInstance();c=d.findIdByWidget(this._rowContainer.getHoverItem());b=org.eclipse.rwt.TreeUtil.getColumnByPageX(this,a.getPageX())}this._cellToolTip.setCell(c,b)}},setCellToolTipText:function(a){if(this._cellToolTip!=null){this._cellToolTip.setText(a)}}}});
+qx.Class.define("org.eclipse.rwt.widgets.Tree",{extend:qx.ui.layout.CanvasLayout,construct:function(a){arguments.callee.base.call(this);this._rootItem=new org.eclipse.rwt.widgets.TreeItem();this._isVirtual=false;this._hasMultiSelection=false;this._hasSelectionListener=false;this._leadItem=null;this._topItemIndex=0;this._selection=[];this._focusItem=null;this._renderQueue={};this._resizeLine=null;this._selectionTimestamp=null;this._selectionOffsetX=null;this._delayedSelection=false;this._sortDirection=null;this._sortColumn=null;this._headerHeight=0;this._itemHeight=16;this._mergeEventsTimer=new qx.client.Timer(50);this._sendRequestTimer=null;this._rowContainer=org.eclipse.rwt.TreeUtil.createTreeRowContainer(a);this._columnArea=new org.eclipse.rwt.widgets.TableHeader(a);this._horzScrollBar=new org.eclipse.rwt.widgets.ScrollBar(true);this._vertScrollBar=new org.eclipse.rwt.widgets.ScrollBar(false);this._hasScrollBarsSelectionListener=false;this.add(this._columnArea);this.add(this._rowContainer);this.add(this._horzScrollBar);this.add(this._vertScrollBar);this._cellToolTip=null;this._config=this._rowContainer.getRenderConfig();this.setCursor($[66]);this.setOverflow($[13]);qx.ui.core.Widget.disableScrolling(this);this._configureAreas();this._configureScrollBars();this._registerListeners();this._parseArgsMap(a)},destruct:function(){this._rootItem.removeEventListener("update",this._onItemUpdate,this);this._rootItem.dispose();this._rootItem=null;if(this._sendRequestTimer!=null){this._sendRequestTimer.dispose();this._sendRequestTimer=null}this._mergeEventsTimer.dispose();this._mergeEventsTimer=null;this._rowContainer=null;this._columnArea=null;this._horzScrollBar=null;this._vertScrollBar=null;this._leadItem=null;this._focusItem=null;this._sortColumn=null;this._resizeLine=null;if(this._cellToolTip){this._cellToolTip.destroy();this._cellToolTip=null}},members:{_configureAreas:function(){this._columnArea.addEventListener($[424],this._onColumnLayoutChanged,this);this._columnArea.setTop(0);this._columnArea.setLeft(0);this._columnArea.setDisplay(false);var a=function(b){b.stopPropagation()};this._columnArea.addEventListener($[79],a)},_configureScrollBars:function(){var a=function(b){b.stopPropagation()};this._horzScrollBar.setZIndex(100000000);this._horzScrollBar.setVisibility(false);this._horzScrollBar.setLeft(0);this._horzScrollBar.setMergeEvents(false);this._horzScrollBar.addEventListener($[79],a);this._vertScrollBar.setZIndex(100000000);this._vertScrollBar.setVisibility(false);this._vertScrollBar.setIncrement(16);this._vertScrollBar.setMergeEvents(false);this._vertScrollBar.addEventListener($[79],a)},_registerListeners:function(){this._rootItem.addEventListener("update",this._onItemUpdate,this);this.addEventListener($[1],this._onMouseDown,this);this.addEventListener($[5],this._onMouseUp,this);this.addEventListener($[8],this._onMouseOut,this);this.addEventListener($[4],this._onKeyPress,this);this._rowContainer.addEventListener($[47],this._onClientAreaMouseWheel,this);this._mergeEventsTimer.addEventListener($[26],this._updateTopItemIndex,this);this._horzScrollBar.addEventListener($[109],this._onHorzScrollBarChangeValue,this);this._vertScrollBar.addEventListener($[109],this._onVertScrollBarChangeValue,this);this._rowContainer.setSelectionProvider(this.isItemSelected,this);this._rowContainer.setPostRenderFunction(this._vertScrollBar.autoEnableMerge,this._vertScrollBar)},_parseArgsMap:function(a){if(a.noScroll){this._rowContainer.removeEventListener($[47],this._onClientAreaMouseWheel,this)}if(a.hideSelection){this._config.hideSelection=true}if(a.multiSelection){this._hasMultiSelection=true}if(a.fullSelection){this._config.fullSelection=true}else{this._config.selectionPadding=a.selectionPadding}if(a.check){this._config.hasCheckBoxes=true;this._config.checkBoxLeft=a.checkBoxMetrics[0];this._config.checkBoxWidth=a.checkBoxMetrics[1]}if(a.virtual){this._isVirtual=true;this._createSendRequestTimer()}if(typeof a.indentionWidth===$[62]){this._config.indentionWidth=a.indentionWidth}if(a.markupEnabled){this._config.markupEnabled=true}this._rowContainer.setBaseAppearance(a.appearance);this.setAppearance(a.appearance)},_createSendRequestTimer:function(){if(this._sendRequestTimer===null){var b=new qx.client.Timer(400);var a=org.eclipse.swt.Request.getInstance();b.addEventListener($[26],a.send,a);a.addEventListener("send",b.stop,b);this._sendRequestTimer=b}},setItemCount:function(a){this._rootItem.setItemCount(a)},setHeaderVisible:function(a){this._columnArea.setDisplay(a);this._layoutX();this._layoutY()},setHeaderHeight:function(a){this._headerHeight=a;this._layoutX();this._layoutY()},setItemHeight:function(a){this._itemHeight=a;this._vertScrollBar.setIncrement(a);this._rowContainer.setRowHeight(a);this._scheduleUpdate($[219])},setColumnCount:function(a){this._config.columnCount=a;this._scheduleUpdate();this._updateScrollWidth()},setItemMetrics:function(e,f,d,b,c,a,g){this._config.itemLeft[e]=f;this._config.itemWidth[e]=d;this._config.itemImageLeft[e]=b;this._config.itemImageWidth[e]=c;this._config.itemTextLeft[e]=a;this._config.itemTextWidth[e]=g;this._scheduleUpdate();this._updateScrollWidth()},setTreeColumn:function(a){this._config.treeColumn=a},setTopItemIndex:function(a){this._updateScrollHeight();this._vertScrollBar.setValue(a*this._itemHeight);if(!this._inServerResponse()){qx.ui.core.Widget.flushGlobalQueues()}},setScrollLeft:function(a){this._horzScrollBar.setValue(a)},selectItem:function(a){this._selectItem(a,false);this._scheduleItemUpdate(a)},deselectItem:function(a){this._deselectItem(a,false);this._scheduleItemUpdate(a)},setFocusItem:function(a){this._focusItem=a;this._sendItemFocusChange()},setSortDirection:function(a){this._sortDirection=a;if(this._sortColumn!==null){this._sortColumn.setSortDirection(this._sortDirection)}},setSortColumn:function(a){if(this._sortColumn!==null){this._sortColumn.setSortDirection("none")}this._sortColumn=a;if(this._sortColumn!==null){this._sortColumn.setSortDirection(this._sortDirection)}},setScrollBarsVisible:function(b,a){if(!b){this._horzScrollBar.setValue(0)}this._horzScrollBar.setVisibility(b);if(!a){this._vertScrollBar.setValue(0)}this._vertScrollBar.setVisibility(a);this._layoutX();this._layoutY()},setHasSelectionListener:function(a){this._hasSelectionListener=a},setAlignment:function(a,b){this._config.alignment[a]=b;this._scheduleUpdate()},setLinesVisible:function(a){this._config.linesVisible=a;if(a){this.addState($[185])}else{this.removeState($[185])}this._rowContainer.updateRowLines();this._scheduleUpdate()},setAlwaysHideSelection:function(a){this._config.alwaysHideSelection=a;this._scheduleUpdate()},addState:function(a){arguments.callee.base.call(this,a);if(a.slice(0,8)===$[36]){this._config.variant=a}},removeState:function(a){if(this._config.variant===a){this._config.variant=null}arguments.callee.base.call(this,a)},getRenderConfig:function(){return this._config},getRootItem:function(){return this._rootItem},isFocusItem:function(a){return this._focusItem===a},isItemSelected:function(a){return this._selection.indexOf(a)!=-1},getRowContainer:function(){return this._rowContainer},getTableHeader:function(){return this._columnArea},update:function(){this._scheduleUpdate()},_onItemUpdate:function(b){var a=b.target;if(b.msg===$[273]){if(this._focusItem&&this._focusItem.isChildOf(a)){this.setFocusItem(a)}}if(b.msg===$[221]){this._scheduleUpdate($[501])}this._sendItemUpdate(a,b);this._renderItemUpdate(a,b);return false},_onVertScrollBarChangeValue:function(){if(this._vertScrollBar._internalValueChange){this._mergeEventsTimer.start()}else{this._updateTopItemIndex()}},_updateTopItemIndex:function(){this._mergeEventsTimer.stop();var a=this._vertScrollBar.getValue();var b=this._topItemIndex;this._topItemIndex=Math.ceil(a/this._itemHeight);if(this._inServerResponse()){this._scheduleUpdate("topItem")}else{this._sendTopItemIndexChange();this._updateTopItem(true)}},_onHorzScrollBarChangeValue:function(){this._rowContainer.setScrollLeft(this._horzScrollBar.getValue());this._columnArea.setScrollLeft(this._horzScrollBar.getValue());this._sendScrollLeftChange()},_onMouseDown:function(a){this._delayedSelection=false;var b=a.getOriginalTarget();if(b instanceof org.eclipse.rwt.widgets.TreeRow){this._onRowMouseDown(b,a)}},_onMouseUp:function(a){if(this._delayedSelection){this._onMouseDown(a)}},_onRowMouseDown:function(e,d){var c=this._rowContainer.findItemByRow(e);if(c!=null){var b=e.getTargetIdentifier(d);if(b===$[280]&&c.hasChildren()){var a=!c.isExpanded();if(!a){this._deselectVisibleChildren(c)}c.setExpanded(a)}else{if(b===$[232]){this._toggleCheckSelection(c)}else{if(this._isSelectionClick(b)){this._onSelectionClick(d,c)}}}}},_isSelectionClick:function(b){var a;if(this._config.fullSelection){a=b!==$[232]}else{a=b===$[309]}return a},_onSelectionClick:function(b,a){var c=this._isDoubleClicked(b,a);if(c){this._sendSelectionEvent(a,true,null)}else{if(this._hasMultiSelection){if(!this._delayMultiSelect(b,a)){this._multiSelectItem(b,a)}}else{this._singleSelectItem(b,a)}}},_delayMultiSelect:function(b,a){if(this._isDragSource()&&this.isItemSelected(a)&&b.getType()===$[1]){this._delayedSelection=true}return this._delayedSelection},_onMouseOut:function(a){this._delayedSelection=false},_onClientAreaMouseWheel:function(a){a.preventDefault();a.stopPropagation();var b=a.getWheelDelta()*this._itemHeight*2;this._vertScrollBar.setValue(this._vertScrollBar.getValue()-b);this._vertScrollBar.setValue(this._vertScrollBar.getValue())},_onKeyPress:function(a){if(this._focusItem!=null){switch(a.getKeyIdentifier()){case $[54]:this._handleKeyEnter(a);break;case $[83]:this._handleKeySpace(a);break;case"Up":this._handleKeyUp(a);break;case"Down":this._handleKeyDown(a);break;case $[42]:this._handleKeyPageUp(a);break;case $[43]:this._handleKeyPageDown(a);break;case"Home":this._handleKeyHome(a);break;case"End":this._handleKeyEnd(a);break;case"Left":this._handleKeyLeft(a);break;case $[39]:this._handleKeyRight(a);break}}this._stopKeyEvent(a)},_stopKeyEvent:function(a){switch(a.getKeyIdentifier()){case"Up":case"Down":case"Left":case $[39]:case"Home":case"End":case $[42]:case $[43]:a.preventDefault();a.stopPropagation();break}},_onColumnLayoutChanged:function(a){this._updateScrollWidth();this._scheduleUpdate()},_showResizeLine:function(b,c){if(this._resizeLine===null){this._resizeLine=new qx.ui.basic.Terminator();this._resizeLine.setAppearance("table-column-resizer");this.add(this._resizeLine);qx.ui.core.Widget.flushGlobalQueues()}var e=this._rowContainer.getTop();this._resizeLine._renderRuntimeTop(e);var d=b-2-(!c?this._horzScrollBar.getValue():0);this._resizeLine._renderRuntimeLeft(d);var a=this._rowContainer.getHeight();this._resizeLine._renderRuntimeHeight(a);this._resizeLine.removeStyleProperty($[151])},_hideResizeLine:function(){this._resizeLine.setStyleProperty($[151],$[13])},_handleKeyEnter:function(a){this._sendSelectionEvent(this._focusItem,true,null)},_handleKeySpace:function(b){if(b.isCtrlPressed()||!this.isItemSelected(this._focusItem)){var a=this._focusItem.getFlatIndex();this._handleKeyboardSelect(b,this._focusItem,a)}if(this._config.hasCheckBoxes){this._toggleCheckSelection(this._focusItem)}},_handleKeyUp:function(c){var b=this._focusItem.getPreviousItem();if(b!=null){var a=b.getFlatIndex();this._handleKeyboardSelect(c,b,a)}},_handleKeyDown:function(c){var b=this._focusItem.getNextItem();if(b!=null){var a=b.getFlatIndex();this._handleKeyboardSelect(c,b,a)}},_handleKeyPageUp:function(d){var f=this._focusItem.getFlatIndex();var e=this._rowContainer.getChildrenLength()-2;var a=Math.max(0,f-e);var c=this._rootItem.findItemByFlatIndex(a);var b=c.getFlatIndex();this._handleKeyboardSelect(d,c,b)},_handleKeyPageDown:function(e){var g=this._focusItem.getFlatIndex();var f=this._rowContainer.getChildrenLength()-2;var a=this.getRootItem().getVisibleChildrenCount()-1;var b=Math.min(a,g+f);var d=this._rootItem.findItemByFlatIndex(b);var c=d.getFlatIndex();this._handleKeyboardSelect(e,d,c)},_handleKeyHome:function(b){var a=this.getRootItem().getChild(0);this._handleKeyboardSelect(b,a,0)},_handleKeyEnd:function(c){var b=this.getRootItem().getLastChild();var d=new Date();var a=this.getRootItem().getVisibleChildrenCount()-1;this._handleKeyboardSelect(c,b,a)},_handleKeyLeft:function(c){if(this._focusItem.isExpanded()){this._focusItem.setExpanded(false)}else{if(!this._focusItem.getParent().isRootItem()){var b=this._focusItem.getParent();var a=b.getFlatIndex();this._handleKeyboardSelect(c,b,a,true)}}},_handleKeyRight:function(c){if(this._focusItem.hasChildren()){if(!this._focusItem.isExpanded()){this._focusItem.setExpanded(true)}else{var b=this._focusItem.getChild(0);var a=b.getFlatIndex();this._handleKeyboardSelect(c,b,a,true)}}},_handleKeyboardSelect:function(d,c,b,a){if(this._hasMultiSelection&&!a){this._multiSelectItem(d,c)}else{this._singleSelectItem(d,c)}this._scrollIntoView(b)},_renderItemUpdate:function(b,a){if(b.isDisplayable()){switch(a.msg){case $[162]:case $[273]:this._scheduleUpdate($[219]);break;case"add":case $[221]:if(b.isExpanded()){this._scheduleUpdate($[219])}else{this._scheduleItemUpdate(b)}break;default:if(this._inServerResponse()){this._scheduleItemUpdate(b)}else{this._rowContainer.renderItem(b)}break}}},_scheduleUpdate:function(a){if(a!==undefined){this.addToQueue(a)}this._renderQueue.allItems=true;this.addToQueue($[315])},_scheduleItemUpdate:function(a){this._renderQueue[a.toHashCode()]=a;this.addToQueue($[315])},_layoutPost:function(a){arguments.callee.base.call(this,a);if(a[$[501]]){this._checkDisposedItems()}if(a[$[219]]){this._updateScrollHeight()}if(a[$[219]]||a.topItem){this._updateTopItem(false)}if(a[$[315]]){if(this._renderQueue.allItems){this._rowContainer.renderAll()}else{this._rowContainer.renderItemQueue(this._renderQueue)}this._renderQueue={}}},_updateScrollHeight:function(){var b=this.getRootItem().getVisibleChildrenCount();var a=b*this._itemHeight;if(this._vertScrollBar.getMaximum()!=a){if(!this._vertScrollBar.getDisposed()){this._vertScrollBar.setMaximum(a)}}},_updateTopItem:function(b){var a=this._rootItem.findItemByFlatIndex(this._topItemIndex);this._rowContainer.setTopItem(a,this._topItemIndex,b)},_updateScrollWidth:function(){var a=this._getItemWidth();this._rowContainer.setRowWidth(this._getRowWidth());if(!this._horzScrollBar.getDisposed()){this._horzScrollBar.setMaximum(a)}var b=this._vertScrollBar.getVisibility()?this._vertScrollBar.getWidth():0;this._columnArea.setScrollWidth(a+b)},_scrollIntoView:function(a){if(a<this._topItemIndex){this.setTopItemIndex(a)}else{if(a>(this._topItemIndex+this._rowContainer.getChildrenLength()-2)){this.setTopItemIndex(a-this._rowContainer.getChildrenLength()+2)}}},setHasScrollBarsSelectionListener:function(a){this._hasScrollBarsSelectionListener=a;if(a){this._createSendRequestTimer()}},_sendSelectionChange:function(c){if(!this._inServerResponse()){var b=org.eclipse.swt.Request.getInstance();var d=org.eclipse.swt.WidgetManager.getInstance();var e=d.findIdByWidget(this);var a=this._getSelectionList();b.addParameter(e+$[147],a);this._sendSelectionEvent(c,false,null)}},_sendItemCheckedChange:function(b){if(!this._inServerResponse()){var a=org.eclipse.swt.Request.getInstance();var c=org.eclipse.swt.WidgetManager.getInstance();var d=c.findIdByWidget(b);a.addParameter(d+".checked",b.isChecked());this._sendSelectionEvent(b,false,"check")}},_sendItemFocusChange:function(){if(!this._inServerResponse()){var a=org.eclipse.swt.Request.getInstance();var b=org.eclipse.swt.WidgetManager.getInstance().findIdByWidget(this);a.addParameter(b+".focusItem",this._getItemId(this._focusItem))}},_sendTopItemIndexChange:function(){var a=org.eclipse.swt.Request.getInstance();var b=org.eclipse.swt.WidgetManager.getInstance();var c=b.findIdByWidget(this);a.addParameter(c+".topItemIndex",this._topItemIndex);if(this._isVirtual||this._hasScrollBarsSelectionListener){this._sendRequestTimer.start()}},_sendScrollLeftChange:function(){var a=org.eclipse.swt.Request.getInstance();var b=org.eclipse.swt.WidgetManager.getInstance();var c=b.findIdByWidget(this);a.addParameter(c+".scrollLeft",this._horzScrollBar.getValue());if(this._isVirtual||this._hasScrollBarsSelectionListener){this._sendRequestTimer.start()}},_sendItemUpdate:function(b,a){if(!this._inServerResponse()){switch(a.msg){case $[162]:this._sendItemEvent(b,"org.eclipse.swt.events.treeExpanded");break;case $[273]:this._sendItemEvent(b,"org.eclipse.swt.events.treeCollapsed");break;default:}}},_sendItemEvent:function(c,a){var d=org.eclipse.swt.WidgetManager.getInstance();var e=d.findIdByWidget(c);var b=org.eclipse.swt.Request.getInstance();b.addEvent(a,e);b.send()},_sendSelectionEvent:function(e,c,b){if(this._hasSelectionListener){var d=org.eclipse.swt.Request.getInstance();var f=org.eclipse.swt.WidgetManager.getInstance();var h=f.findIdByWidget(this);var a="org.eclipse.swt.events.widget";a+=c?"DefaultSelected":"Selected";var g=this._getItemId(e);d.addEvent(a,h);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();d.addParameter(a+".item",g);if(b!=null){d.addParameter(a+".detail",b)}d.send()}},_isDoubleClicked:function(c,h){var i=false;var d=c.getType()===$[1];var e=c.getButton()==="left";if(e&&d&&this.isFocusItem(h)&&this._selectionTimestamp!=null){var a=new Date();var f=c.getPageX();var b=org.eclipse.swt.EventUtil.DOUBLE_CLICK_TIME;var g=8;if(a.getTime()-this._selectionTimestamp.getTime()<b&&Math.abs(this._selectionOffsetX-f)<g){i=true}}if(d&&e&&!i){this._selectionTimestamp=new Date();this._selectionOffsetX=c.getPageX()}else{if(d){this._selectionTimestamp=null}}return i},_getSelectionList:function(){var a=[];for(var b=0;b<this._selection.length;b++){a.push(this._getItemId(this._selection[b]))}return a.join()},_getItemId:function(c){var d=org.eclipse.swt.WidgetManager.getInstance();var a;if(c.isCached()){a=d.findIdByWidget(c)}else{var b=c.getParent();if(b.isRootItem()){a=d.findIdByWidget(this)}else{a=d.findIdByWidget(b)}a+="#"+b.indexOf(c)}return a},_singleSelectItem:function(b,a){if(b.isCtrlPressed()&&this.isItemSelected(a)){this._ctrlSelectItem(a)}else{this._exclusiveSelectItem(a)}},_multiSelectItem:function(b,a){if(b instanceof qx.event.type.MouseEvent&&b.isRightButtonPressed()){if(!this.isItemSelected(a)){this._exclusiveSelectItem(a)}}else{if(b.isCtrlPressed()){if(b instanceof qx.event.type.KeyEvent&&a!=this._focusItem){this.setFocusItem(a)}else{this._ctrlSelectItem(a)}}else{if(b.isShiftPressed()){if(this._focusItem!=null){this._shiftSelectItem(a)}else{this._exclusiveSelectItem(a)}}else{this._exclusiveSelectItem(a)}}}},_exclusiveSelectItem:function(a){this.deselectAll();this._leadItem=null;this._selectItem(a,true);this._sendSelectionChange(a);this.setFocusItem(a)},_ctrlSelectItem:function(a){if(!this.isItemSelected(a)){this._selectItem(a,true)}else{this._deselectItem(a,true)}this._sendSelectionChange(a);this.setFocusItem(a)},_shiftSelectItem:function(c){this.deselectAll();var b=this._leadItem!=null?this._leadItem:this._focusItem;this._leadItem=b;var e=c;var f=b.getFlatIndex();var d=e.getFlatIndex();if(f>d){var a=b;b=e;e=a}this._selectItem(b,true);while(b!==e){b=b.getNextItem();this._selectItem(b,true)}this._sendSelectionChange(c);this.setFocusItem(c)},_selectItem:function(b,a){if(!this.isItemSelected(b)){this._selection.push(b)}if(a){this._rowContainer.renderItem(b)}},_deselectItem:function(b,a){if(this.isItemSelected(b)){this._selection.splice(this._selection.indexOf(b),1)}if(a){this._rowContainer.renderItem(b)}},deselectAll:function(){var a=this._selection;this._selection=[];for(var b=0;b<a.length;b++){this._rowContainer.renderItem(a[b])}},_toggleCheckSelection:function(a){if(a.isCached()){a.setChecked(!a.isChecked());this._sendItemCheckedChange(a)}},_deselectVisibleChildren:function(b){var a=b.getNextItem();var c=b.getNextItem(true);while(a!==c){this._deselectItem(a,false);a=a.getNextItem()}},_applyFocused:function(b,a){arguments.callee.base.call(this,b,a);this._config.focused=b;this._scheduleUpdate()},_applyEnabled:function(b,a){arguments.callee.base.call(this,b,a);this._config.enabled=b;this._scheduleUpdate()},_checkDisposedItems:function(){if(this._focusItem&&this._focusItem.isDisposed()){this._focusItem=null}if(this._leadItem&&this._leadItem.isDisposed()){this._leadItem=null}var a=0;while(a<this._selection.length){if(this._selection[a].isDisposed()){this._deselectItem(this._selection[a],false)}else{a++}}},_applyTextColor:function(b,a){arguments.callee.base.call(this,b,a);this._config.textColor=b;this._scheduleUpdate()},_applyFont:function(b,a){arguments.callee.base.call(this,b,a);this._config.font=b;this._scheduleUpdate()},_applyBackgroundColor:function(a){this._rowContainer.setBackgroundColor(a)},_applyBackgroundImage:function(a){this._rowContainer.setBackgroundImage(a)},_applyWidth:function(b,a){arguments.callee.base.call(this,b,a);this._layoutX()},_applyHeight:function(b,a){arguments.callee.base.call(this,b,a);this._layoutY()},_applyBorder:function(b,a){arguments.callee.base.call(this,b,a);this._layoutX();this._layoutY()},_layoutX:function(){var a=this.getWidth()-this.getFrameWidth();if(this._columnArea.getDisplay()){this._columnArea.setWidth(a)}if(this._vertScrollBar.getVisibility()){a-=this._vertScrollBar.getWidth();this._vertScrollBar.setLeft(a)}this._horzScrollBar.setWidth(a);this._rowContainer.setWidth(a);this._updateScrollWidth()},_layoutY:function(){var a=this.getHeight()-this.getFrameHeight();var b=0;if(this._columnArea.getDisplay()){b=this._headerHeight;a-=this._headerHeight;this._columnArea.setHeight(this._headerHeight)}if(this._horzScrollBar.getVisibility()){a-=this._horzScrollBar.getHeight();this._horzScrollBar.setTop(b+a)}a=Math.max(0,a);this._vertScrollBar.setHeight(a);this._vertScrollBar.setTop(b);this._rowContainer.setTop(b);this._rowContainer.setHeight(a);this._scheduleUpdate()},_getItemWidth:function(){var a=0;if(this._config.itemLeft.length>0){var c=Math.max(1,this._config.columnCount);for(var b=0;b<c;b++){a=Math.max(a,this._config.itemLeft[b]+this._config.itemWidth[b])}}return a},_getRowWidth:function(){var b=this._rowContainer.getWidth();var a=Math.max(this._getItemWidth(),b);return a},_inServerResponse:function(){return org.eclipse.swt.EventUtil.getSuspended()},_isDragSource:function(){return this.hasEventListeners($[79])},setEnableCellToolTip:function(a){if(a){var c=org.eclipse.swt.WidgetManager.getInstance();var b=c.findIdByWidget(this);this._cellToolTip=new org.eclipse.swt.widgets.TableCellToolTip(b);this._rowContainer.addEventListener($[34],this._onClientAreaMouseMove,this);this._rowContainer.setToolTip(this._cellToolTip)}else{this._rowContainer.removeEventListener($[34],this._onClientAreaMouseMove,this);this._rowContainer.setToolTip(null);this._cellToolTip.destroy();this._cellToolTip=null}},_onClientAreaMouseMove:function(a){if(this._cellToolTip!=null){var c=null;var b=-1;if(this._rowContainer.getHoverItem()){var d=org.eclipse.swt.WidgetManager.getInstance();c=d.findIdByWidget(this._rowContainer.getHoverItem());b=org.eclipse.rwt.TreeUtil.getColumnByPageX(this,a.getPageX())}this._cellToolTip.setCell(c,b)}},setCellToolTipText:function(a){if(this._cellToolTip!=null){this._cellToolTip.setText(a)}}}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.Tree",{factory:function(b){var d=org.eclipse.rwt.protocol.AdapterUtil.createStyleMap(b.style);var c={appearance:b.appearance,virtual:d.VIRTUAL,noScroll:d.NO_SCROLL,multiSelection:d.MULTI,check:d.CHECK,fullSelection:b.appearance==="table"?true:d.FULL_SELECTION,hideSelection:d.HIDE_SELECTION,checkBoxMetrics:b.checkBoxMetrics,selectionPadding:b.selectionPadding,indentionWidth:b.indentionWidth,splitContainer:b.splitContainer,markupEnabled:b.markupEnabled};var a=new org.eclipse.rwt.widgets.Tree(c);org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);a.setUserData($[22],true);org.eclipse.rwt.protocol.AdapterUtil.setParent(a,b.parent);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties(["itemCount","itemHeight","itemMetrics","columnCount",$[309],"fixedColumns",$[376],"headerVisible","linesVisible","topItemIndex","scrollLeft",$[24],"focusItem","sortDirection","sortColumn",$[321],"alwaysHideSelection","enableCellToolTip","cellToolTipText"]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({itemMetrics:function(c,b){for(var a=0;a<b.length;a++){c.setItemMetrics.apply(c,b[a])}},fixedColumns:function(b,a){org.eclipse.rwt.TreeUtil.setFixedColumns(b,a)},focusItem:function(b,a){org.eclipse.rwt.protocol.AdapterUtil.callWithTarget(a,function(c){b.setFocusItem(c)})},selection:function(c,b){c.deselectAll();for(var a=0;a<b.length;a++){org.eclipse.rwt.protocol.AdapterUtil.callWithTarget(b[a],function(d){c.selectItem(d)})}},sortColumn:function(b,a){org.eclipse.rwt.protocol.AdapterUtil.callWithTarget(a,function(c){b.setSortColumn(c)})},scrollBarsVisible:function(b,a){b.setScrollBarsVisible(a[0],a[1])},cellToolTipText:function(c,b){var a=org.eclipse.rwt.protocol.EncodingUtil;var d=a.escapeText(b,false);d=a.replaceNewLines(d,$[107]);c.setCellToolTipText(d)}}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners([$[24],$[432]]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({scrollBarsSelection:function(b,a){b.setHasScrollBarsSelectionListener(a)}}),methods:[]});
 qx.Class.define("org.eclipse.rwt.widgets.TreeItem",{extend:qx.core.Target,construct:function(b,a,c){this._autoDispose=false;arguments.callee.base.call(this);this._parent=b;this._level=-1;this._children=[];this._indexCache={};this._visibleChildrenCount=0;this._expandedItems={};this._texts=c?["..."]:[];this._images=[];this._cached=!c;this._font=null;this._cellFonts=[];this._foreground=null;this._cellForegrounds=[];this._background=null;this._cellBackgrounds=[];this._checked=false;this._grayed=false;this._variant=null;if(this._parent!=null){this._level=this._parent.getLevel()+1;this._parent._add(this,a)}this._expanded=this.isRootItem();this.addEventListener("update",this._onUpdate,this);this._escaped=false},destruct:function(){if(this._parent!=null){this._parent._remove(this)}},statics:{createItem:function(d,c){var b=this._getItem(d);var a;if(b.isChildCreated(c)&&!b.isChildCached(c)){a=b.getChild(c);a.markCached()}else{a=new org.eclipse.rwt.widgets.TreeItem(b,c,false)}return a},_getItem:function(b){var a;if(b instanceof org.eclipse.rwt.widgets.Tree){a=b.getRootItem()}else{a=b}return a}},events:{update:$[3]},members:{setItemCount:function(a){var b=this._children.length>a?$[221]:"add";this._children.length=a;this._update(b)},clear:function(){this._cached=false;this._checked=false;this._grayed=false;this._texts=["..."];this._images=[];this._background=null;this._foreground=null;this._font=null;this._cellBackgrounds=[];this._cellForegrounds=[];this._cellFonts=[];this._variant=null},isCached:function(){return this._cached},markCached:function(){this._cached=true;this._texts=[]},setTexts:function(a){this._texts=a;this._escaped=false;this._update($[88])},getText:function(b,c){var a=this._texts[b];if((typeof a)===$[9]){if(c!==false&&!this._escaped){this._escapeTexts();this._escaped=true;a=this._texts[b]}}else{a=""}return a},hasText:function(a){return !!this._texts[a]},setFont:function(a){this._font=a;this._update($[88])},getCellFont:function(b){var a=this._cellFonts[b];return typeof a===$[9]&&a!==""?a:this._font},setCellFonts:function(a){this._cellFonts=a;this._update($[88])},setForeground:function(a){this._foreground=a;this._update($[88])},getCellForeground:function(b){var a=this._cellForegrounds[b];return typeof a===$[9]?a:this._foreground},setCellForegrounds:function(a){this._cellForegrounds=a;this._update($[88])},setBackground:function(a){this._background=a;this._update($[88])},getCellBackground:function(b){var a=this._cellBackgrounds[b];return typeof a===$[9]?a:null},getBackground:function(){return this._background},setCellBackgrounds:function(a){this._cellBackgrounds=a;this._update($[88])},setImages:function(a){this._images=a;this._update($[88])},getImage:function(b){var a=this._images[b];return typeof a===$[9]?a:null},setChecked:function(a){this._checked=a;this._update($[88])},isChecked:function(){return this._checked},setGrayed:function(a){this._grayed=a;this._update($[88])},isGrayed:function(){return this._grayed},setVariant:function(a){this._variant=a},getVariant:function(){return this._variant},isRootItem:function(){return this._level<0},getLevel:function(){return this._level},getParent:function(){return this._parent},setExpanded:function(a){if(this._expanded!=a){this._expanded=a;this._update(a?$[162]:$[273]);if(a){this._parent._addToExpandedItems(this)}else{this._parent._removeFromExpandedItems(this)}}},isExpanded:function(){return this._expanded},isDisplayable:function(){var a=false;if(this.isRootItem()||this._parent.isRootItem()){a=true}else{a=this._parent.isExpanded()&&this._parent.isDisplayable()}return a},hasChildren:function(){return this._children.length>0},getChildrenLength:function(){return this._children.length},isChildCreated:function(a){return this._children[a]!==undefined},isChildCached:function(a){return this._children[a].isCached()},getVisibleChildrenCount:function(){if(this._visibleChildrenCount==null){this._computeVisibleChildrenCount()}return this._visibleChildrenCount},getChild:function(b){var a=this._children[b];if(!a){if(b>=0&&b<this._children.length){a=new org.eclipse.rwt.widgets.TreeItem(this,b,true)}}return a},getLastChild:function(){return this.getChild(this._children.length-1)},indexOf:function(a){var b=a.toHashCode();if(this._indexCache[b]===undefined){this._indexCache[b]=this._children.indexOf(a)}return this._indexCache[b]},isChildOf:function(b){var a=this._parent===b;if(!a&&!this._parent.isRootItem()){a=this._parent.isChildOf(b)}return a},findItemByFlatIndex:function(c){var b=this._getExpandedIndicies();var h=c;var a=null;var g=false;while(!g&&h>=0){var e=b.shift();if(e===undefined||e>=h){a=this.getChild(h);if(a){this._indexCache[a.toHashCode()]=h}g=true}else{var d=this.getChild(e).getVisibleChildrenCount();var f=h-e;if(f<=d){a=this.getChild(e).findItemByFlatIndex(f-1);g=true;if(a==null){throw new Error("getItemByFlatIndex failed")}}else{h-=d}}}return a},getFlatIndex:function(){var d=this._parent.indexOf(this);var a=d;var b=this._parent._getExpandedIndicies();while(b.length>0&&d>b[0]){var c=b.shift();a+=this._parent._children[c].getVisibleChildrenCount()}if(!this._parent.isRootItem()){a+=this._parent.getFlatIndex()+1}return a},hasPreviousSibling:function(){var a=this._parent.indexOf(this)-1;return a>=0},hasNextSibling:function(){var a=this._parent.indexOf(this)+1;return a<this._parent.getChildrenLength()},getPreviousSibling:function(){var a=this._parent.indexOf(this)-1;return this._parent.getChild(a)},getNextSibling:function(){var a=this._parent.indexOf(this)+1;var b=this._parent.getChild(a);this._parent._indexCache[b.toHashCode()]=a;return b},getNextItem:function(b){var a=null;if(!b&&this.hasChildren()&&this.isExpanded()){a=this.getChild(0)}else{if(this.hasNextSibling()){a=this.getNextSibling()}else{if(this.getLevel()>0){a=this._parent.getNextItem(true)}}}return a},getPreviousItem:function(){var a=null;if(this.hasPreviousSibling()){a=this.getPreviousSibling();while(a.hasChildren()&&a.isExpanded()){a=a.getLastChild()}}else{if(this.getLevel()>0){a=this._parent}}return a},_add:function(b,a){if(this._children[a]){this._children.splice(a,0,b);this._children.pop();this._update("add",b)}else{this._children[a]=b}},_remove:function(b){if(b.isExpanded()){delete this._expandedItems[b.toHashCode()]}var a=this._children.indexOf(b);this._children.splice(a,1);this._children.push(undefined);this._update($[221],b)},_addToExpandedItems:function(a){this._expandedItems[a.toHashCode()]=a},_removeFromExpandedItems:function(a){delete this._expandedItems[a.toHashCode()]},getEnabled:function(){return true},_update:function(c,b){var a={msg:c,related:b,target:this};this.dispatchSimpleEvent("update",a,true);delete a.target;delete a.related;delete a.msg},_onUpdate:function(a){if(a.msg!==$[88]){this._visibleChildrenCount=null;this._indexCache={}}},_escapeTexts:function(){var a=org.eclipse.rwt.protocol.EncodingUtil;for(var b=0;b<this._texts.length;b++){var c=this._texts[b];if(c){c=a.escapeText(c,false);c=a.replaceWhiteSpaces(c)}this._texts[b]=c}},_computeVisibleChildrenCount:function(){var a=0;if(this.isExpanded()||this.isRootItem()){a=this._children.length;for(var b=0;b<this._children.length;b++){if(this.isChildCreated(b)){a+=this.getChild(b).getVisibleChildrenCount()}}}this._visibleChildrenCount=a},_getExpandedIndicies:function(){var a=[];for(var b in this._expandedItems){a.push(this.indexOf(this._expandedItems[b]))}return a.sort(function(d,c){return d-c})},toString:function(){return"TreeItem "+this._texts.join()}}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.TreeItem",{factory:function(b){var a;org.eclipse.rwt.protocol.AdapterUtil.callWithTarget(b.parent,function(c){a=org.eclipse.rwt.widgets.TreeItem.createItem(c,b.index)});return a},destructor:function(a){a.dispose()},properties:["itemCount","texts","images",$[146],$[296],"font","cellBackgrounds","cellForegrounds","cellFonts",$[162],$[203],$[200],$[98]],propertyHandler:{images:function(d,c){var a=[];for(var b=0;b<c.length;b++){if(c[b]===null){a[b]=null}else{a[b]=c[b][0]}}d.setImages(a)},background:function(b,a){if(a===null){b.setBackground(null)}else{b.setBackground(qx.util.ColorUtil.rgbToRgbString(a))}},foreground:function(b,a){if(a===null){b.setForeground(null)}else{b.setForeground(qx.util.ColorUtil.rgbToRgbString(a))}},font:function(d,c){if(c===null){d.setFont(null)}else{var b=org.eclipse.swt.WidgetManager.getInstance();var a=b._createFont.apply(b,c);d.setFont(a)}},cellBackgrounds:function(d,c){var b=[];for(var a=0;a<c.length;a++){if(c[a]===null){b[a]=null}else{b[a]=qx.util.ColorUtil.rgbToRgbString(c[a])}}d.setCellBackgrounds(b)},cellForegrounds:function(d,c){var a=[];for(var b=0;b<c.length;b++){if(c[b]===null){a[b]=null}else{a[b]=qx.util.ColorUtil.rgbToRgbString(c[b])}}d.setCellForegrounds(a)},cellFonts:function(e,d){var f=[];for(var b=0;b<d.length;b++){if(d[b]===null){f[b]=""}else{var c=org.eclipse.swt.WidgetManager.getInstance();var a=c._createFont.apply(c,d[b]);f[b]=a.toCss()}}e.setCellFonts(f)},customVariant:function(b,a){b.setVariant(a)}},listeners:[],listenerHandler:{},methods:[]});
-qx.Class.define("org.eclipse.rwt.TreeDNDFeedback",{extend:qx.core.Object,construct:function(a){arguments.callee.base.call(this);this._tree=a;this._feedback=null;this._currentRow=null;this._insertIndicator=null;this._expandTimer=null;this._scrollTimer=null},destruct:function(){this._renderFeedback(this._currentRow,false);if(this._expandTimer!=null){this._expandTimer.dispose();this._expandTimer=null}if(this._scrollTimer!=null){this._scrollTimer.dispose();this._scrollTimer=null}this._tree=null;this._feedback=null;this._insertIndicator=null;this._currentRow=null},members:{setFeedback:function(a){this._renderFeedback(this._currentRow,false);this._feedback=a;this._renderFeedback(this._currentRow,true)},renderFeedback:function(a){this._renderFeedback(this._currentRow,false);this._renderFeedback(a,true);this._currentRow=a},isFeedbackNode:function(b){var a=false;if(this._insertIndicator!=null&&this._insertIndicator==b){a=true}return a},_renderFeedback:function(b,a){if(this._feedback!=null&&b!=null){if(this._feedback.FEEDBACK_SELECT){this._renderFeedbackSelect(b,a)}else{if(this._feedback.FEEDBACK_INSERT_BEFORE){this._renderFeedbackBefore(b,a)}else{if(this._feedback.FEEDBACK_INSERT_AFTER){this._renderFeedbackAfter(b,a)}}}if(this._feedback.FEEDBACK_EXPAND){this._renderFeedbackExpand(b,a)}if(this._feedback.FEEDBACK_SCROLL){this._renderFeedbackScroll(b,a)}}},_renderFeedbackSelect:function(c,b){c.setState($[340],b);var a=this._tree._rowContainer.findItemByRow(c);this._tree._rowContainer.renderItem(a)},_renderFeedbackBefore:function(c,b){if(b){var a=this._getRowLocation(c);a.y--;this._showInsertIndicator(a.x,a.y)}else{this._hideInsertIndicator()}},_renderFeedbackAfter:function(d,c){if(c){var b=this._getRowLocation(d);var a=d.getHeightValue();b.y=b.y+(a-1);this._showInsertIndicator(b.x,b.y)}else{this._hideInsertIndicator()}},_renderFeedbackExpand:function(c,b){var a=this._tree._rowContainer.findItemByRow(c);if(a!=null&&a.hasChildren()){if(b&&!a.isExpanded()){this._startExpandTimer()}else{this._stopExpandTimer()}}},_renderFeedbackScroll:function(b,a){if(a){this._startScrollTimer()}else{this._stopScrollTimer()}},_getRowLocation:function(d){var a={x:0,y:0};var b=d.getElement();var c=this._tree._getTargetNode();while(b!=c){a.x+=parseInt(b.style.left||0);a.y+=parseInt(b.style.top||0);b=b.parentNode}return a},_showInsertIndicator:function(a,e){if(this._insertIndicator==null){var d=document.createElement("div");d.style.position=$[17];d.style.borderTopStyle=$[72];d.style.borderTopColor="black";d.style.borderTopWidth="2px";d.style.zIndex=100000;d.style.height="2px";this._insertIndicator=d}var b=this._tree.getWidthValue()-(a+6);this._insertIndicator.style.left=a+"px";this._insertIndicator.style.top=e+"px";this._insertIndicator.style.width=b+"px";var c=this._tree._getTargetNode();c.appendChild(this._insertIndicator)},_hideInsertIndicator:function(){var a=this._tree._getTargetNode();a.removeChild(this._insertIndicator)},_startExpandTimer:function(){if(this._expandTimer==null){this._expandTimer=new qx.client.Timer(750);this._expandTimer.addEventListener($[28],this._onExpandTimer,this)}this._expandTimer.setEnabled(true)},_stopExpandTimer:function(){if(this._expandTimer!=null){this._expandTimer.stop()}},_onExpandTimer:function(b){this._stopExpandTimer();var a=this._tree._rowContainer.findItemByRow(this._currentRow);a.setExpanded(true)},_startScrollTimer:function(){if(this._scrollTimer==null){this._scrollTimer=new qx.client.Timer(250);this._scrollTimer.addEventListener($[28],this._onScrollTimer,this)}this._scrollTimer.setEnabled(true)},_stopScrollTimer:function(){if(this._scrollTimer!=null){this._scrollTimer.stop()}},_getScrollDirection:function(b){var a=0;var c=this._tree._rowContainer.indexOf(b);if(c===0){a=-1}else{if(c>=this._tree._rowContainer.getChildrenLength()-2){a=1}}return a},_onScrollTimer:function(b){this._stopScrollTimer();var d=this._getScrollDirection(this._currentRow);if(d!=0){var i=this._tree._rowContainer.findItemByRow(this._currentRow);var f=i.getFlatIndex();var h=f+d;var e=this._tree._rootItem.findItemByFlatIndex(h);if(e!=null){var c=this._tree._topItemIndex+d;this._tree.setTopItemIndex(c);var j=this._tree._rowContainer._findRowByItem(e);var g=this._currentRow;var a=function(){this._targetUpdateCheck(g,j)};qx.client.Timer.once(a,this,1)}}},_targetUpdateCheck:function(a,b){if(!this.isDisposed()){if(b!=this._currentRow&&a==this._currentRow){var c=org.eclipse.rwt.DNDSupport.getInstance();c.setCurrentTargetWidget(b)}}}}});
+qx.Class.define("org.eclipse.rwt.TreeDNDFeedback",{extend:qx.core.Object,construct:function(a){arguments.callee.base.call(this);this._tree=a;this._feedback=null;this._currentRow=null;this._insertIndicator=null;this._expandTimer=null;this._scrollTimer=null},destruct:function(){this._renderFeedback(this._currentRow,false);if(this._expandTimer!=null){this._expandTimer.dispose();this._expandTimer=null}if(this._scrollTimer!=null){this._scrollTimer.dispose();this._scrollTimer=null}this._tree=null;this._feedback=null;this._insertIndicator=null;this._currentRow=null},members:{setFeedback:function(a){this._renderFeedback(this._currentRow,false);this._feedback=a;this._renderFeedback(this._currentRow,true)},renderFeedback:function(a){this._renderFeedback(this._currentRow,false);this._renderFeedback(a,true);this._currentRow=a},isFeedbackNode:function(b){var a=false;if(this._insertIndicator!=null&&this._insertIndicator==b){a=true}return a},_renderFeedback:function(b,a){if(this._feedback!=null&&b!=null){if(this._feedback.FEEDBACK_SELECT){this._renderFeedbackSelect(b,a)}else{if(this._feedback.FEEDBACK_INSERT_BEFORE){this._renderFeedbackBefore(b,a)}else{if(this._feedback.FEEDBACK_INSERT_AFTER){this._renderFeedbackAfter(b,a)}}}if(this._feedback.FEEDBACK_EXPAND){this._renderFeedbackExpand(b,a)}if(this._feedback.FEEDBACK_SCROLL){this._renderFeedbackScroll(b,a)}}},_renderFeedbackSelect:function(c,b){c.setState($[340],b);var a=this._tree._rowContainer.findItemByRow(c);this._tree._rowContainer.renderItem(a)},_renderFeedbackBefore:function(c,b){if(b){var a=this._getRowLocation(c);a.y--;this._showInsertIndicator(a.x,a.y)}else{this._hideInsertIndicator()}},_renderFeedbackAfter:function(d,c){if(c){var b=this._getRowLocation(d);var a=d.getHeightValue();b.y=b.y+(a-1);this._showInsertIndicator(b.x,b.y)}else{this._hideInsertIndicator()}},_renderFeedbackExpand:function(c,b){var a=this._tree._rowContainer.findItemByRow(c);if(a!=null&&a.hasChildren()){if(b&&!a.isExpanded()){this._startExpandTimer()}else{this._stopExpandTimer()}}},_renderFeedbackScroll:function(b,a){if(a){this._startScrollTimer()}else{this._stopScrollTimer()}},_getRowLocation:function(d){var a={x:0,y:0};var b=d.getElement();var c=this._tree._getTargetNode();while(b!=c){a.x+=parseInt(b.style.left||0);a.y+=parseInt(b.style.top||0);b=b.parentNode}return a},_showInsertIndicator:function(a,e){if(this._insertIndicator==null){var d=document.createElement("div");d.style.position=$[17];d.style.borderTopStyle=$[72];d.style.borderTopColor="black";d.style.borderTopWidth="2px";d.style.zIndex=100000;d.style.height="2px";this._insertIndicator=d}var b=this._tree.getWidthValue()-(a+6);this._insertIndicator.style.left=a+"px";this._insertIndicator.style.top=e+"px";this._insertIndicator.style.width=b+"px";var c=this._tree._getTargetNode();c.appendChild(this._insertIndicator)},_hideInsertIndicator:function(){var a=this._tree._getTargetNode();a.removeChild(this._insertIndicator)},_startExpandTimer:function(){if(this._expandTimer==null){this._expandTimer=new qx.client.Timer(750);this._expandTimer.addEventListener($[26],this._onExpandTimer,this)}this._expandTimer.setEnabled(true)},_stopExpandTimer:function(){if(this._expandTimer!=null){this._expandTimer.stop()}},_onExpandTimer:function(b){this._stopExpandTimer();var a=this._tree._rowContainer.findItemByRow(this._currentRow);a.setExpanded(true)},_startScrollTimer:function(){if(this._scrollTimer==null){this._scrollTimer=new qx.client.Timer(250);this._scrollTimer.addEventListener($[26],this._onScrollTimer,this)}this._scrollTimer.setEnabled(true)},_stopScrollTimer:function(){if(this._scrollTimer!=null){this._scrollTimer.stop()}},_getScrollDirection:function(b){var a=0;var c=this._tree._rowContainer.indexOf(b);if(c===0){a=-1}else{if(c>=this._tree._rowContainer.getChildrenLength()-2){a=1}}return a},_onScrollTimer:function(b){this._stopScrollTimer();var d=this._getScrollDirection(this._currentRow);if(d!=0){var i=this._tree._rowContainer.findItemByRow(this._currentRow);var f=i.getFlatIndex();var h=f+d;var e=this._tree._rootItem.findItemByFlatIndex(h);if(e!=null){var c=this._tree._topItemIndex+d;this._tree.setTopItemIndex(c);var j=this._tree._rowContainer._findRowByItem(e);var g=this._currentRow;var a=function(){this._targetUpdateCheck(g,j)};qx.client.Timer.once(a,this,1)}}},_targetUpdateCheck:function(a,b){if(!this.isDisposed()){if(b!=this._currentRow&&a==this._currentRow){var c=org.eclipse.rwt.DNDSupport.getInstance();c.setCurrentTargetWidget(b)}}}}});
 qx.Class.define("org.eclipse.swt.widgets.TableCellToolTip",{extend:qx.ui.popup.ToolTip,include:org.eclipse.rwt.VisibilityAnimationMixin,construct:function(a){arguments.callee.base.call(this);this._controlId=a;this._itemId=null;this._columnIndex=-1},members:{_onshowtimer:function(a){this._stopShowTimer();this._requestCellToolTipText()},setText:function(a){if(this._isValidToolTip(a)){this.getAtom().setLabel(a);this.setLeft(qx.event.type.MouseEvent.getPageX()+this.getMousePointerOffsetX());this.setTop(qx.event.type.MouseEvent.getPageY()+this.getMousePointerOffsetY());this.show()}},setCell:function(b,a){if(this._itemId!=b||this._columnIndex!=a){this._itemId=b;this._columnIndex=a;this.hide();if(this._isValidCell()){this._startShowTimer()}else{this._stopShowTimer()}}},_requestCellToolTipText:function(){if(this._isValidCell()){var a=org.eclipse.swt.Request.getInstance();a.addEvent("org.eclipse.swt.events.cellToolTipTextRequested",this._controlId);this._requestedCell=this._itemId+","+this._columnIndex;a.addParameter("org.eclipse.swt.events.cellToolTipTextRequested.cell",this._requestedCell);a.send()}},_isValidCell:function(){return this._itemId!=null&&this._columnIndex!=-1},_isValidToolTip:function(b){var a=this._itemId+","+this._columnIndex;return b&&b!==""&&a===this._requestedCell}}});
 qx.Class.define("org.eclipse.rwt.widgets.TableHeader",{extend:qx.ui.layout.CanvasLayout,construct:function(a){arguments.callee.base.call(this);this.setOverflow($[13]);this.setZIndex(2000);this._fixedColumns=a.splitContainer;this._scrollWidth=0;this._scrollLeft=0;this._dummyColumn=new qx.ui.basic.Atom();this._dummyColumn.setAppearance(a.appearance+"-column");this._dummyColumn.setHeight("100%");this._dummyColumn.setLabel("&nbsp;");this._dummyColumn.addState("dummy");this.add(this._dummyColumn)},destruct:function(){this._dummyColumn=null},events:{columnLayoutChanged:$[3],scrollLeftChanged:$[3]},members:{setScrollLeft:function(b){this._scrollLeft=b;if(this._fixedColumns){for(var a=0;a<this._children.length;a++){if(this._children[a].isFixed&&this._children[a].isFixed()){this._children[a].addToQueue("left")}}if(!org.eclipse.swt.EventUtil.getSuspended()){qx.ui.core.Widget.flushGlobalQueues()}}if(this.isSeeable()){arguments.callee.base.call(this,b)}},getScrollLeft:function(){return this._scrollLeft},setScrollWidth:function(a){this._scrollWidth=a;if(this.getVisibility()){this._renderDummyColumn()}},add:function(a){arguments.callee.base.call(this,a);if(a!==this._dummyColumn){a.addEventListener($[63],this._fireUpdateEvent,this);a.addEventListener($[150],this._renderDummyColumn,this)}},remove:function(a){arguments.callee.base.call(this,a);if(a!==this._dummyColumn){a.removeEventListener($[63],this._fireUpdateEvent,this);a.removeEventListener($[150],this._renderDummyColumn,this);this._fireUpdateEvent()}},_afterAppear:function(){arguments.callee.base.call(this);this.setScrollLeft(this._scrollLeft)},_fireUpdateEvent:function(a){this.createDispatchEvent($[424])},_renderDummyColumn:function(){var b=this._getDummyColumnLeft();var a=Math.max(this._scrollWidth,this.getWidth());var c=Math.max(0,a-b);this._dummyColumn.setLeft(b);this._dummyColumn.setWidth(c)},_getDummyColumnLeft:function(){var c=this.getChildren();var a=0;for(var b=0;b<c.length;b++){if(c[b]!==this._dummyColumn){var d=c[b].getLeft()+c[b].getWidth();a=Math.max(a,d)}}return a}}});
 qx.Class.define("org.eclipse.swt.widgets.TableColumn",{extend:qx.ui.basic.Atom,construct:function(a){arguments.callee.base.call(this);this._table=a;this._parentIsTree=a.getAppearance()==="tree";this.setAppearance(this._parentIsTree?$[500]:"table-column");this.setHorizontalChildrenAlign(qx.constant.Layout.ALIGN_LEFT);this.setOverflow(qx.constant.Style.OVERFLOW_HIDDEN);this._resizable=true;this._moveable=false;this._resizeStartX=0;this._inResize=false;this._wasResizeOrMoveEvent=false;this._inMove=false;this._offsetX=0;this._initialLeft=0;this._fixed=false;this._index=0;this.setWidth(0);this.setLeft(0);this.setHeight("100%");this._createLabel();this.getLabelObject().setMode(qx.constant.Style.LABEL_MODE_HTML);this._table.getTableHeader().add(this);this.addEventListener($[6],this._onMouseOver,this);this.addEventListener($[34],this._onMouseMove,this);this.addEventListener($[8],this._onMouseOut,this);this.addEventListener($[1],this._onMouseDown,this);this.addEventListener($[5],this._onMouseUp,this);this._sortImage=new qx.ui.basic.Image();this._sortImage.setAnonymous(true);if(this._parentIsTree){this._sortImage.setAppearance("tree-column-sort-indicator")}else{this._sortImage.setAppearance("table-column-sort-indicator")}this.add(this._sortImage);this._handleZIndex()},destruct:function(){this.removeEventListener($[6],this._onMouseOver,this);this.removeEventListener($[34],this._onMouseMove,this);this.removeEventListener($[8],this._onMouseOut,this);this.removeEventListener($[1],this._onMouseDown,this);this.removeEventListener($[5],this._onMouseUp,this);this._disposeFields("_sortImage");if(!this._table.getDisposed()&&!qx.core.Object.inGlobalDispose()){this._table.getTableHeader().remove(this)}},statics:{RESIZE_CURSOR:(org.eclipse.rwt.Client.isGecko()&&(org.eclipse.rwt.Client.getMajor()>1||org.eclipse.rwt.Client.getMinor()>=8))?"ew-resize":$[145],STATE_MOVING:"moving",STATE_MOUSE_OVER:$[6]},members:{setIndex:function(a){this._index=a},getIndex:function(){return this._index},setSortDirection:function(a){if(a=="up"){this._sortImage.addState("up")}else{this._sortImage.removeState("up")}if(a=="down"){this._sortImage.addState("down")}else{this._sortImage.removeState("down")}},setResizable:function(a){this._resizable=a},setMoveable:function(a){this._moveable=a},setHasSelectionListener:function(a){if(a){this.addEventListener($[16],this._onClick,this)}else{this.removeEventListener($[16],this._onClick,this)}},_onClick:function(a){if(!this._wasResizeOrMoveEvent){org.eclipse.swt.EventUtil.widgetSelected(a)}this._wasResizeOrMoveEvent=false},_onMouseOver:function(a){if(!this._inMove&&!this._inResize){this.addState(org.eclipse.swt.widgets.TableColumn.STATE_MOUSE_OVER)}},setAlignment:function(a){this._table.setAlignment(this._index,a);this.getLabelObject().setTextAlign(a);this.setHorizontalChildrenAlign(a)},setFixed:function(a){if(this._fixed!==a){this._fixed=a;this._handleZIndex();this.addToQueue("left")}},isFixed:function(){return this._fixed},_renderRuntimeLeft:function(a){var b=a;if(this._fixed){b+=this.getParent().getScrollLeft()}arguments.callee.base.call(this,b)},_onMouseDown:function(b){if(!this._inMove&&!this._inResize&&b.getButton()==="left"){var c=org.eclipse.swt.WidgetUtil;if(this._isResizeLocation(b.getPageX())){this._inResize=true;var a=this.getLeft()+this.getWidth();this._table._showResizeLine(a,this._fixed);this._resizeStartX=b.getPageX();this.setCapture(true);b.stopPropagation();b.preventDefault();c._fakeMouseEvent(this,$[8])}else{if(this._moveable){this._inMove=true;this.setCapture(true);this._handleZIndex();this._offsetX=b.getPageX()-this.getLeft();this._initialLeft=this.getLeft();b.stopPropagation();b.preventDefault();c._fakeMouseEvent(this,$[8])}}}},_onMouseUp:function(a){var b=org.eclipse.swt.WidgetUtil;if(this._inResize){this._table._hideResizeLine();this.getTopLevelWidget().setGlobalCursor(null);this.setCapture(false);var d=this._getResizeWidth(a.getPageX());this._sendResized(d);this._inResize=false;this._wasResizeOrMoveEvent=true;a.stopPropagation();a.preventDefault();b._fakeMouseEvent(a.getTarget(),$[6])}else{if(this._inMove){this._inMove=false;this.setCapture(false);this._handleZIndex();this.removeState(org.eclipse.swt.widgets.TableColumn.STATE_MOVING);if(this.getLeft()<this._initialLeft-1||this.getLeft()>this._initialLeft+1){this._wasResizeOrMoveEvent=true;var c=Math.round(this.getElement().getBoundingClientRect().left);this._sendMoved(this.getLeft()+a.getPageX()-c)}else{this.setLeft(this._initialLeft)}a.stopPropagation();a.preventDefault();b._fakeMouseEvent(a.getTarget(),$[6])}}},_onMouseMove:function(b){if(this._inResize){var a=this.getLeft()+this._getResizeWidth(b.getPageX());if(a<this.getLeft()+5){a=this.getLeft()+5}this._table._showResizeLine(a,this._fixed)}else{if(this._inMove){this.setLeft(b.getPageX()-this._offsetX);this.addState(org.eclipse.swt.widgets.TableColumn.STATE_MOVING)}else{if(this._isResizeLocation(b.getPageX())){this.getTopLevelWidget().setGlobalCursor(org.eclipse.swt.widgets.TableColumn.RESIZE_CURSOR)}else{this.getTopLevelWidget().setGlobalCursor(null)}}}b.stopPropagation();b.preventDefault()},_onMouseOut:function(a){this.removeState(org.eclipse.swt.widgets.TableColumn.STATE_MOUSE_OVER);if(!this._inResize){this.getTopLevelWidget().setGlobalCursor(null);a.stopPropagation();a.preventDefault()}},_isResizeLocation:function(b){var a=false;if(this._resizable){var c=qx.bom.element.Location.getLeft(this.getElement())+this.getWidth();if(b>=c-5&&b<=c){a=true}}return a},_getResizeWidth:function(a){var b=this._resizeStartX-a;return this.getWidth()-b},_handleZIndex:function(){var a=1;if(this._inMove){a=100000000}else{if(this._fixed){a=10000000}}this.setZIndex(a)},_sendResized:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){var d=org.eclipse.swt.WidgetManager.getInstance();var c=d.findIdByWidget(this);var b=org.eclipse.swt.Request.getInstance();b.addEvent("org.eclipse.swt.events.controlResized",c);b.addParameter(c+".width",a);b.send()}},_sendMoved:function(b){if(!org.eclipse.swt.EventUtil.getSuspended()){var d=org.eclipse.swt.WidgetManager.getInstance();var c=d.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent("org.eclipse.swt.events.controlMoved",c);a.addParameter(c+".left",b);a.send()}}}});
-org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.TableColumn",{factory:function(b){var a;org.eclipse.rwt.protocol.AdapterUtil.callWithTarget(b.parent,function(c){a=new org.eclipse.swt.widgets.TableColumn(c)});return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getWidgetDestructor(),properties:["index","left",$[27],"text",$[18],$[110],"resizable","moveable",$[293],$[123],$[98]],propertyHandler:{text:function(c,b){var a=org.eclipse.rwt.protocol.EncodingUtil;var d=a.escapeText(b,false);d=a.replaceNewLines(d,$[107]);c.setLabel(d)},image:function(b,a){if(a===null){b.setIcon(null)}else{b.setIcon(a[0])}},toolTip:org.eclipse.rwt.protocol.AdapterUtil.getControlPropertyHandler($[110])},listeners:[$[24]],listenerHandler:{},methods:[]});
+org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.TableColumn",{factory:function(b){var a;org.eclipse.rwt.protocol.AdapterUtil.callWithTarget(b.parent,function(c){a=new org.eclipse.swt.widgets.TableColumn(c)});return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getWidgetDestructor(),properties:["index","left",$[28],"text",$[18],$[110],"resizable","moveable",$[293],$[123],$[98]],propertyHandler:{text:function(c,b){var a=org.eclipse.rwt.protocol.EncodingUtil;var d=a.escapeText(b,false);d=a.replaceNewLines(d,$[107]);c.setLabel(d)},image:function(b,a){if(a===null){b.setIcon(null)}else{b.setIcon(a[0])}},toolTip:org.eclipse.rwt.protocol.AdapterUtil.getControlPropertyHandler($[110])},listeners:[$[24]],listenerHandler:{},methods:[]});
 qx.Class.define("org.eclipse.swt.browser.Browser",{extend:qx.ui.embed.Iframe,construct:function(){arguments.callee.base.call(this);this._hasProgressListener=false;this._browserFunctions={};this.setTabIndex(1);this.setAppearance("browser");this.addEventListener($[84],this._onCreate,this)},properties:{asynchronousResult:{check:$[2],init:false},executedFunctionPending:{check:$[2],init:false},executedFunctionResult:{nullable:true,init:null},executedFunctionError:{check:$[21],nullable:true,init:null}},statics:{getDomain:function(a){var d=null;if(a!==null){var b=a.toLowerCase();if(b.indexOf("http://")===0||b.indexOf("https://")===0||b.indexOf("ftp://")===0||b.indexOf("ftps://")===0){var d=b.slice(b.indexOf("://")+3);var c=d.indexOf("/");if(c!==-1){d=d.slice(0,c)}}}return d}},members:{syncSource:function(){if(this.isCreated()){this._syncSource()}},_applySource:function(b,a){},_applyEnabled:function(b,a){arguments.callee.base.call(this,b,a);if(b){this.release()}else{this.block()}},release:function(){if(this.getEnabled()){arguments.callee.base.call(this)}},_onload:function(a){if(!this._isInGlobalDisposeQueue){arguments.callee.base.call(this,a);if(this._isContentAccessible()){this._attachBrowserFunctions()}this._sendProgressEvent()}},_onCreate:function(a){if(!this.getEnabled()){this.block()}},_sendProgressEvent:function(){if(this._hasProgressListener){var c=org.eclipse.swt.WidgetManager.getInstance();var a=org.eclipse.swt.Request.getInstance();var b=c.findIdByWidget(this);a.addParameter(b+".org.eclipse.swt.events.progressCompleted","true");a.send()}},setHasProgressListener:function(a){this._hasProgressListener=a},execute:function(b){this._checkIframeAccess();var f=true;var a=null;try{a=this._parseEvalResult(this._eval(b))}catch(c){f=false}var d=org.eclipse.swt.Request.getInstance();var e=org.eclipse.swt.WidgetManager.getInstance();var g=e.findIdByWidget(this);d.addParameter(g+".executeResult",f);d.addParameter(g+".evaluateResult",a);if(this.getExecutedFunctionPending()){d.sendSyncronous()}else{d.send()}},_srcInLocalDomain:function(){var f=this.getSource();var e=org.eclipse.swt.browser.Browser;var c=e.getDomain(document.URL);var d=e.getDomain(f);var a=c===d;var b=d===null;return b||a},_isContentAccessible:function(){var a;try{this.getContentDocument().body.URL;a=true}catch(b){a=false}return a&&this._isLoaded},_checkIframeAccess:function(b){if(!this._isContentAccessible()){var a=this._srcInLocalDomain();if(!a){this._throwSecurityException(false)}if(this._isLoaded&&a){this._throwSecurityException(true)}}},_throwSecurityException:function(a){var e=org.eclipse.swt.browser.Browser;var b=e.getDomain(document.URL);var d=a?null:e.getDomain(this.getSource());var c="SecurityRestriction:\nBrowser-Widget can not access ";c+=d!==null?'"'+d+'"':"unkown domain";c+=' from "'+b+'".';throw new Error(c)},_eval:function(script){var win=this.getContentWindow();if(!win.eval&&win.execScript){win.execScript("null;","JScript")}return win.eval(script)},_parseEvalResult:function(b){var a=null;var c=this.getContentWindow();if(b instanceof c.Function){a=this.objectToString([[]])}else{if(b instanceof c.Array){a=this.objectToString([b])}else{if(typeof b!==$[19]&&typeof b!==$[45]){a=this.objectToString([b])}}}return a},createFunction:function(a){this._browserFunctions[a]=true;this._checkIframeAccess();if(this.isLoaded()){try{this._createFunctionImpl(a);this._createFunctionWrapper(a)}catch(b){var c='Unable to create function: "'+a+'".\n'+b;if(org.eclipse.swt.EventUtil.getSuspended()){throw c}else{org.eclipse.rwt.ErrorHandler.processJavaScriptError(c)}}}},_attachBrowserFunctions:function(){for(var a in this._browserFunctions){this.createFunction(a)}},_createFunctionImpl:function(a){var d=this.getContentWindow();var c=org.eclipse.swt.Request.getInstance();var f=org.eclipse.swt.WidgetManager.getInstance();var e=f.findIdByWidget(this);var b=this;d[a+"_impl"]=function(){var g={};if(b.getExecutedFunctionPending()){g.error='Unable to execute browser function "'+a+'". Another browser function is still pending.'}else{var i=b.objectToString(arguments);c.addParameter(e+".executeFunction",a);c.addParameter(e+".executeArguments",i);b.setExecutedFunctionResult(null);b.setExecutedFunctionError(null);b.setExecutedFunctionPending(true);b.setAsynchronousResult(false);c.sendSyncronous();if(b.getExecutedFunctionPending()){b.setAsynchronousResult(true)}else{var h=b.getExecutedFunctionError();if(h!=null){g.error=h}else{g.result=b.getExecutedFunctionResult()}}}return g}},_createFunctionWrapper:function(b){var a=[];a.push("function "+b+"(){");a.push("  var result = "+b+"_impl.apply( window, arguments );");a.push("  if( result.error ) {");a.push("    throw new Error( result.error );");a.push("  }");a.push("  return result.result;");a.push("}");this._eval(a.join(""))},destroyFunction:qx.core.Variant.select($[0],{"default":function(b){delete this._browserFunctions[b];var d=this.getContentWindow();if(d!=null){try{var a=[];a.push($[375]+b+";");a.push($[375]+b+"_impl;");this._eval(a.join(""))}catch(c){throw new Error($[361]+b+" error: "+c)}}},mshtml:function(b){delete this._browserFunctions[b];var d=this.getContentWindow();if(d!=null){try{var a=[];a.push("window."+b+" = undefined;");a.push("window."+b+"_impl = undefined;");this._eval(a.join(""))}catch(c){throw new Error($[361]+b+" error: "+c)}}}}),setFunctionResult:function(c,a,b){this.setExecutedFunctionResult(a);this.setExecutedFunctionError(b);this.setExecutedFunctionPending(false)},objectToString:function(b){var a;var d=typeof(b);if(b===null){a=String(b)}else{if(d==$[19]){a=[];for(var c=0;c<b.length;c++){var e=b[c];d=typeof(e);if(d==$[9]){e='"'+e.replace(/"/g,'\\"')+'"'}else{if(d==$[19]&&e!==null){e=this.objectToString(e)}}a.push(String(e))}a="["+String(a)+"]"}else{if(d==$[9]){a='"'+b.replace(/"/g,'\\"')+'"'}else{a=String(b)}}}return a},destroy:function(){arguments.callee.base.call(this);this.syncSource()}}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.Browser",{factory:function(b){var a=new org.eclipse.swt.browser.Browser();org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);a.setUserData($[22],true);org.eclipse.rwt.protocol.AdapterUtil.setParent(a,b.parent);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties(["url","functionResult"]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({url:function(b,a){b.setSource(a);b.syncSource()},functionResult:function(b,a){b.setFunctionResult(a[0],a[1],a[2])}}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners([$[192]]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({}),methods:["evaluate","destroyFunctions","createFunctions"],methodHandler:{evaluate:function(b,a){b.execute(a.script)},createFunctions:function(c,b){var d=b.functions;for(var a=0;a<d.length;a++){c.createFunction(d[a])}},destroyFunctions:function(c,b){var d=b.functions;for(var a=0;a<d.length;a++){c.destroyFunction(d[a])}}}});
 qx.Class.define("org.eclipse.rwt.widgets.ExternalBrowser",{type:$[37],extend:qx.core.Object,members:{_map:{},open:function(e,a,b){var d=this._escapeId(e);var c=window.open(a,d,b,true);if(c!=null){c.focus();this._map[d]=c}},close:function(c){var b=this._escapeId(c);var a=this._map[b];if(a!=null){a.close()}delete this._map[b]},_escapeId:function(b){var a=b;a=a.replace(/_/g,"_0");a=a.replace(/-/g,"_1");a=a.replace(/\./g,"_");a=a.replace(/ /g,"__");return a}}});
@@ -186,7 +186,7 @@
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.Group",{factory:function(b){var a=new org.eclipse.swt.widgets.Group();org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);a.setUserData($[22],true);org.eclipse.rwt.protocol.AdapterUtil.setParent(a,b.parent);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties(["text"]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({text:function(c,b){var a=org.eclipse.rwt.protocol.EncodingUtil;var d=a.escapeText(b,true);c.setLegend(d)}}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners([]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({}),methods:[]});
 qx.Class.define("org.eclipse.swt.widgets.Shell",{extend:qx.ui.window.Window,include:org.eclipse.rwt.VisibilityAnimationMixin,construct:function(b){arguments.callee.base.call(this);this.setShowMinimize(b.MIN===true);this.setAllowMinimize(b.MIN===true);this.setShowMaximize(b.MAX===true);this.setAllowMaximize(b.MAX===true);this.setShowClose(b.CLOSE===true);this.setAllowClose(b.CLOSE===true);this.setResizableWest(b.RESIZE===true);this.setResizableNorth(b.RESIZE===true);this.setResizableEast(b.RESIZE===true);this.setResizableSouth(b.RESIZE===true);this.setOverflow(qx.constant.Style.OVERFLOW_HIDDEN);this.setRestrictToPageOnOpen(false);this._captionTitle.setMode("html");this._activeControl=null;this._focusControl=null;this._activateListenerWidgets=[];this._parentShell=null;this._renderZIndex=true;this._hasShellListener=false;this.addEventListener($[351],this._onChangeActiveChild);this.addEventListener($[194],this._onChangeFocusedChild);this.addEventListener($[320],this._onChangeActive);this.addEventListener($[349],this._onChangeMode);this.addEventListener($[150],this._onChangeLocation);this.addEventListener($[336],this._onChangeLocation);this.addEventListener($[63],this._onChangeSize);this.addEventListener($[71],this._onChangeSize);this.addEventListener($[10],this._onKeydown);var a=org.eclipse.swt.Request.getInstance();a.addEventListener("send",this._onSend,this);this.getCaptionBar().setWidth("100%");this.removeEventListener($[1],this._onwindowmousedown);this.addEventListener($[84],this._onCreate,this);this.__onwindowmousedown=qx.lang.Function.bind(this._onwindowmousedown,this);this.addToDocument()},statics:{TOP_LEFT:"topLeft",TOP_RIGHT:"topRight",BOTTOM_LEFT:"bottomLeft",BOTTOM_RIGHT:$[467],CORNER_NAMES:["topLeft","topRight","bottomLeft",$[467]],_onParentClose:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){this.doClose()}},_appendCloseRequestParam:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){var d=org.eclipse.swt.WidgetManager.getInstance();var c=d.findIdByWidget(a);var b=org.eclipse.swt.Request.getInstance();b.addEvent("org.eclipse.swt.widgets.Shell_close",c)}},reorderShells:function(c){var g=qx.lang.Object.getValues(c.getAll());g=g.sort(org.eclipse.swt.widgets.Shell._compareShells);var f=g.length;var e=null;if(f>0){var b=g[0].getTopLevelWidget();var a=org.eclipse.swt.widgets.Shell.MIN_ZINDEX;for(var d=0;d<f;d++){a+=10;g[d].setZIndex(a);if(g[d]._appModal&&g[d].getVisibility()&&g[d].getDisplay()){e=g[d]}}if(e!=null){this._copyStates(e,b._getBlocker());b._getBlocker().show();b._getBlocker().setZIndex(e.getZIndex()-1)}else{b._getBlocker().hide()}}org.eclipse.swt.widgets.Shell._upperModalShell=e},_copyStates:function(b,c){c.__states={};for(var a in b.__states){if(b._isRelevantState(a)){c.addState(a)}}c._renderAppearance();qx.ui.core.Widget.removeFromGlobalLayoutQueue(c)},_compareShells:function(c,b){var a=0;if(c.isDialogOf(b)){a=1}else{if(b.isDialogOf(c)){a=-1}}if(a===0){a=(c._onTop?1:0)-(b._onTop?1:0)}if(a===0){a=(c._appModal?1:0)-(b._appModal?1:0)}if(a===0){var e=c.getTopLevelShell();var d=b.getTopLevelShell();a=e.getZIndex()-d.getZIndex()}if(a===0){a=c.getZIndex()-b.getZIndex()}return a},MIN_ZINDEX:100000,MAX_ZINDEX:10000000},destruct:function(){this.setParentShell(null);this.removeEventListener($[351],this._onChangeActiveChild);this.removeEventListener($[194],this._onChangeFocusedChild);this.removeEventListener($[320],this._onChangeActive);this.removeEventListener($[349],this._onChangeMode);this.removeEventListener($[150],this._onChangeLocation);this.removeEventListener($[336],this._onChangeLocation);this.removeEventListener($[63],this._onChangeSize);this.removeEventListener($[71],this._onChangeSize);this.removeEventListener($[10],this._onKeydown);var a=org.eclipse.swt.Request.getInstance();a.removeEventListener("send",this._onSend,this);if(this.isCreated()){qx.html.EventRegistration.removeEventListener(this.getElement(),$[1],this.__onwindowmousedown)}this._activateListenerWidgets=null},events:{close:$[48],parentShellChanged:$[3]},members:{destroy:function(){this.doClose();this.getWindowManager().remove(this);arguments.callee.base.call(this)},_onCreate:function(a){qx.html.EventRegistration.addEventListener(this.getElement(),$[1],this.__onwindowmousedown);this.removeEventListener($[84],this._onCreate,this)},_beforeAppear:function(){qx.ui.layout.CanvasLayout.prototype._beforeAppear.call(this);qx.ui.popup.PopupManager.getInstance().update();var a=this.getWindowManager().getActiveWindow();this.getWindowManager().add(this);this.getWindowManager().setActiveWindow(a)},setDefaultButton:function(a){if(this._defaultButton!=null){this._defaultButton.removeState($[66])}this._defaultButton=a;if(this._defaultButton!=null){this._defaultButton.addState($[66])}},getDefaultButton:function(){return this._defaultButton},setParentShell:function(a){var b=this._parentShell;this._parentShell=a;var c=org.eclipse.swt.widgets.Shell._onParentClose;if(b!=null){b.removeEventListener("close",c,this)}if(a!=null){a.addEventListener("close",c,this)}this.dispatchSimpleEvent("parentShellChanged")},isDisableResize:function(){return this._disableResize?true:false},setHasShellListener:function(a){this._hasShellListener=a},setActiveControl:function(a){this._activeControl=a},initialize:function(){this.setShowCaption(this.hasState("rwt_TITLE"));this._onTop=(this._parentShell!=null&&this._parentShell._onTop)||this.hasState("rwt_ON_TOP");this._appModal=this.hasState("rwt_APPLICATION_MODAL")},addState:function(b){arguments.callee.base.call(this,b);if(this._isRelevantState(b)){this._captionBar.addState(b);this._captionTitle.addState(b);this._minimizeButton.addState(b);this._maximizeButton.addState(b);this._restoreButton.addState(b);this._closeButton.addState(b);var a=this._getClientDocumentBlocker();if(a!=null){a.addState(b)}}},removeState:function(b){arguments.callee.base.call(this,b);if(this._isRelevantState(b)){this._captionBar.removeState(b);this._captionTitle.removeState(b);this._minimizeButton.removeState(b);this._maximizeButton.removeState(b);this._restoreButton.removeState(b);this._closeButton.removeState(b);var a=this._getClientDocumentBlocker();if(a!=null){a.removeState(b)}}},_getClientDocumentBlocker:function(){var a=null;if(this._appModal&&org.eclipse.swt.widgets.Shell._upperModalShell==this){a=this.getTopLevelWidget()._getBlocker()}return a},_isRelevantState:function(b){var a=b==$[68]||b==$[78]||b==$[210]||b.substr(0,8)==$[36]||b.substr(0,4)=="rwt_";return a},close:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){org.eclipse.swt.widgets.Shell._appendCloseRequestParam(this);if(this._hasShellListener){org.eclipse.swt.Request.getInstance().send()}else{this.doClose()}}},doClose:function(){if(!this.isDisposed()){this.hide();if(this.hasEventListeners("close")){var a=new qx.event.type.DataEvent("close",this);this.dispatchEvent(a,true)}var b=this.getWindowManager();org.eclipse.swt.widgets.Shell.reorderShells(b)}},addActivateListenerWidget:function(a){this._activateListenerWidgets.push(a)},removeActivateListenerWidget:function(a){qx.lang.Array.remove(this._activateListenerWidgets,a)},_isRelevantActivateEvent:function(d){var a=false;for(var c=0;!a&&c<this._activateListenerWidgets.length;c++){var b=this._activateListenerWidgets[c];if(!b.contains(this._activeControl)&&b.contains(d)){a=true}}return a},_onChangeActiveChild:function(a){var e=this._getParentControl(a.getValue());if(!org.eclipse.swt.EventUtil.getSuspended()&&e!=null){var b=org.eclipse.swt.WidgetManager.getInstance();var f=b.findIdByWidget(e);var d=b.findIdByWidget(this);var c=org.eclipse.swt.Request.getInstance();if(this._isRelevantActivateEvent(e)){this._activeControl=e;c.removeParameter(d+$[407]);c.addEvent("org.eclipse.swt.events.controlActivated",f);c.send()}else{c.addParameter(d+$[407],f)}}},_onChangeFocusedChild:function(a){if(org.eclipse.swt.EventUtil.getSuspended()){this._focusControl=this.getFocusedChild()}},_onChangeActive:function(b){if(!this.getActive()&&!isFinite(this.getZIndex())){this.setZIndex(100000000)}if(!org.eclipse.swt.EventUtil.getSuspended()&&this.getActive()){var c=org.eclipse.swt.WidgetManager.getInstance();var f=c.findIdByWidget(this);var d=org.eclipse.swt.Request.getInstance();d.addEvent("org.eclipse.swt.events.shellActivated",f);d.send()}var e=b.getValue();if(e){var a=org.eclipse.swt.widgets.Shell._upperModalShell;if(a!=null&&a.getZIndex()>this.getZIndex()){this.setActive(false);a.setActive(true)}}},_onChangeMode:function(a){var c=a.getValue();var e=org.eclipse.swt.WidgetManager.getInstance();var d=e.findIdByWidget(a.getTarget());var b=org.eclipse.swt.Request.getInstance();b.addParameter(d+".mode",c)},_onChangeSize:function(b){if(!org.eclipse.swt.EventUtil.getSuspended()){var f=org.eclipse.swt.WidgetManager.getInstance();var d=org.eclipse.swt.Request.getInstance();var e=f.findIdByWidget(b.getTarget());var a=b.getTarget().getHeightValue();var c=b.getTarget().getWidthValue();d.addParameter(e+$[278],a);d.addParameter(e+$[267],c);d.send()}},_onChangeLocation:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){var f=org.eclipse.swt.WidgetManager.getInstance();var b=org.eclipse.swt.Request.getInstance();var e=f.findIdByWidget(a.getTarget());var d=a.getTarget().getLeft();var c=a.getTarget().getTop();if(!isNaN(d)&&!isNaN(c)){b.addParameter(e+$[260],d);b.addParameter(e+$[261],c)}b.send()}},_onKeydown:function(a){var c=a.getKeyIdentifier();if(c==$[54]&&!a.isShiftPressed()&&!a.isAltPressed()&&!a.isCtrlPressed()&&!a.isMetaPressed()){var b=this.getDefaultButton();if(b!=null&&b.isSeeable()){b.execute()}}else{if(c==$[103]&&this._parentShell!=null){this.close()}}},_onSend:function(a){if(this.getActive()){var c=this.getFocusedChild();if(c!=null&&c!=this._focusControl){this._focusControl=c;var e=org.eclipse.swt.WidgetManager.getInstance();var b=e.findIdByWidget(c);var d=org.eclipse.swt.Request.getInstance();d.addParameter(d.getUIRootId()+".focusControl",b)}}},_getParentControl:function(c){var b=org.eclipse.swt.WidgetManager.getInstance();var a=c;while(a!=null&&!b.isControl(a)){if(a.getParent){a=a.getParent()}else{a=null}}return a},isDialogOf:function(c){var a=false;var b=this._parentShell;while(!a&&b!=null){a=c===b;b=b._parentShell}return a},getTopLevelShell:function(){var a=this;while(a._parentShell!=null){a=a._parentShell}return a},_sendTo:function(){org.eclipse.swt.widgets.Shell.reorderShells(this.getWindowManager())},bringToFront:function(){var a=this;while(a._parentShell!=null){a=a._parentShell}this._setRenderZIndex(false);this.setZIndex(org.eclipse.swt.widgets.Shell.MAX_ZINDEX+1);a.setZIndex(org.eclipse.swt.widgets.Shell.MAX_ZINDEX+1);org.eclipse.swt.widgets.Shell.reorderShells(this.getWindowManager());this._setRenderZIndex(true)},_applyZIndex:function(b,a){if(this._renderZIndex){arguments.callee.base.call(this,b,a)}},_setRenderZIndex:function(a){this._renderZIndex=a;if(a){this._applyZIndex(this.getZIndex())}},sendToBack:function(){var a=this;while(a._parentShell!=null){a=a._parentShell}this._setRenderZIndex(false);this.setZIndex(org.eclipse.swt.widgets.Shell.MIN_ZINDEX-1);a.setZIndex(org.eclipse.swt.widgets.Shell.MIN_ZINDEX-1);org.eclipse.swt.widgets.Shell.reorderShells(this.getWindowManager());this._setRenderZIndex(true)},setBlocked:function(a){if(a){if(!this._blocker){this._blocker=new qx.ui.layout.CanvasLayout();this._blocker.setAppearance($[460]);this.add(this._blocker)}this._blocker.setSpace(0,0,10000,10000);this._blocker.setZIndex(1000)}else{if(this._blocker){this.remove(this._blocker);this._blocker.destroy();this._blocker=null}}},setFullScreen:function(a){if(a){this._captionBar.setDisplay(false)}else{this._captionBar.setDisplay(this.hasState("rwt_TITLE"))}}}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.Shell",{factory:function(b){var d=org.eclipse.rwt.protocol.AdapterUtil;var c=d.createStyleMap(b.style);var a=new org.eclipse.swt.widgets.Shell(c);d.addStatesForStyles(a,b.style);a.setUserData($[22],true);d.callWithTarget(b.parentShell,function(e){if(e){a.setParentShell(e)}a.initialize()});return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties(["showMinimize","allowMinimize","showMaximize","allowMaximize","showClose","allowClose","resizable",$[18],"text","alpha",$[68],"mode","hasShellListener","minimumSize","defaultButton","activeControl"]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({bounds:function(b,a){if(!b.isDisableResize()){b.setLeft(a[0]);b.setTop(a[1]);b.setWidth(a[2]);b.setHeight(a[3])}},alpha:function(a,b){a.setOpacity(b/255)},defaultButton:function(a,b){org.eclipse.rwt.protocol.AdapterUtil.callWithTarget(b,function(c){a.setDefaultButton(c)})},activeControl:function(a,b){org.eclipse.rwt.protocol.AdapterUtil.callWithTarget(b,function(c){a.setActiveControl(c)})},mode:function(a,c){var b=c==="fullscreen";a.setMode(b?$[78]:c);a.setFullScreen(b)},minimumSize:function(a,b){a.setMinWidth(b[0]);a.setMinHeight(b[1])},text:function(a,b){var c=org.eclipse.rwt.protocol.EncodingUtil.escapeText(b,false);a.setCaption(c)},image:function(a,b){if(b===null){a.setIcon(b)}else{a.setIcon(b[0])}},visibility:function(a,b){if(b){a.show()}else{a.hide()}org.eclipse.swt.widgets.Shell.reorderShells(a.getWindowManager())}}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners(["shell"]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({}),methods:[]});
-qx.Class.define("org.eclipse.swt.widgets.ProgressBar",{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.setOverflow($[13]);this.setAppearance("progressbar");this.setState($[61]);this._timer=null;this._gfxCanvasAppended=false;this._canvas=null;this._backgroundShape=null;this._indicatorShape=null;this._borderShape=null;this._useBorderShape=false;this._gfxBorderWidth=0;this._indicatorVirtualPosition=0;this._separatorStartShape=null;this._separatorEndShape=null;this._useSeparator=false;this._separatorWidth=0;this._minimum=0;this._maximum=100;this._selection=0},destruct:function(){if(this._timer!=null){this._timer.stop();this._timer.dispose()}this._timer=null;this._canvas=null;this._backgroundShape=null;this._indicatorShape=null;this._borderShape=null;this._separatorStartShape=null;this._separatorEndShape=null},statics:{UNDETERMINED_SIZE:40},events:{minimumChanged:$[3],maximumChanged:$[3],selectionChanged:$[3]},properties:{indicatorColor:{nullable:true,init:null,apply:$[274],themeable:true},indicatorImage:{nullable:true,init:null,apply:$[274],themeable:true},indicatorGradient:{nullable:true,init:null,apply:$[274],themeable:true},indicatorOpacity:{nullable:true,init:1,apply:$[274],themeable:true},backgroundImageSized:{nullable:true,init:null,apply:"_applyBackgroundImageSized",themeable:true},separatorBorder:{nullable:true,init:null,apply:$[510],themeable:true}},members:{setMinimum:function(a){this._minimum=a;this.dispatchSimpleEvent($[496])},setMaximum:function(a){this._maximum=a;this.dispatchSimpleEvent($[487])},setSelection:function(a){this._selection=a;this.addToQueue("indicatorSelection");this.dispatchSimpleEvent($[286])},addState:function(a){if(a===$[448]){this._timer=new qx.client.Timer(120);this._timer.addEventListener($[28],this._onInterval,this);this._timer.start()}arguments.callee.base.call(this,a)},setState:function(a){if(a==$[140]){this.removeState($[61]);this.removeState("paused");this.addState($[140])}else{if(a=="paused"){this.removeState($[61]);this.removeState($[140]);this.addState("paused")}else{this.removeState($[140]);this.removeState("paused");this.addState($[61])}}},_isIndeterminate:function(){return this.hasState($[448])},_isHorizontal:function(){return this.hasState($[429])},_isVertical:function(){return this.hasState($[220])},_queueBorder:function(a){this.addToQueue("indicatorBorder");if(a&&a.getStyle()===$[77]){this._cachedBorderTop=0;this._cachedBorderRight=0;this._cachedBorderBottom=0;this._cachedBorderLeft=0;this._invalidateFrameDimensions()}else{arguments.callee.base.call(this,a)}},_applyBackgroundColor:function(a){if(this._gfxCanvasAppended){this._styleBackgroundFill()}},_applyBackgroundGradient:function(a){if(this._gfxCanvasAppended){this._styleBackgroundFill()}},_applyBackgroundImage:function(a){},_applyBackgroundImageSized:function(a){if(this._gfxCanvasAppended){this._styleBackgroundFill()}},_applyIndicatorFill:function(a){if(this._gfxCanvasAppended){this._styleIndicatorFill()}},_applySeparatorBorder:function(a){this.addToQueue($[390])},_onCanvasAppear:function(){org.eclipse.rwt.GraphicsUtil.handleAppear(this._canvas)},_onInterval:function(){if(this.isSeeable()){this._renderIndicatorSelection()}},_layoutPost:function(b){if(!this._gfxCanvasAppended){this._createCanvas()}var a=b.width||b.height||b.frameWidth||b.frameHeight||b.initial;if(b.separatorBorder){this._styleSeparatorBorder()}if(b.indicatorBorder){this._styleIndicatorBorder()}if(b.indicatorBorder||a){this._renderDimension();this._renderIndicatorSelection()}else{if(b.indicatorSelection||b.separatorBorder){this._renderIndicatorSelection()}}},_createCanvas:function(){var a=org.eclipse.rwt.GraphicsUtil;this._canvas=a.createCanvas();this._getTargetNode().appendChild(a.getCanvasNode(this._canvas));this._gfxCanvasAppended=true;this.addEventListener($[143],this._onCanvasAppear);this._backgroundShape=a.createShape($[158]);this._indicatorShape=a.createShape($[158]);a.addToCanvas(this._canvas,this._backgroundShape);a.addToCanvas(this._canvas,this._indicatorShape);this._styleBackgroundFill();this._styleIndicatorFill();if(this.isSeeable()){this._onCanvasAppear()}},_styleIndicatorBorder:function(){var b=org.eclipse.rwt.GraphicsUtil;if(this.getBorder()&&this.getBorder().getStyle()===$[77]){if(!this._useBorderShape){this._style.border="";if(this._borderShape==null){this._borderShape=b.createShape($[158])}b.addToCanvas(this._canvas,this._borderShape);this._useBorderShape=true}this._gfxBorderWidth=this._getMaxBorderWidth(this.getBorder());var a=this.getBorder().getColor();b.setStroke(this._borderShape,a,this._gfxBorderWidth)}else{if(this._useBorderShape){b.removeFromCanvas(this._canvas,this._borderShape);this._useBorderShape=true;this._gfxBorderWidth=0}}},_styleSeparatorBorder:function(){var c=org.eclipse.rwt.GraphicsUtil;var b=this.getSeparatorBorder();if(b!=null){if(!this._useSeparator){if(this._isIndeterminate()){if(this._separatorStartShape==null){this._separatorStartShape=c.createShape("rect")}c.addToCanvas(this._canvas,this._separatorStartShape)}if(this._separatorEndShape==null){this._separatorEndShape=c.createShape("rect")}c.addToCanvas(this._canvas,this._separatorEndShape);this._useSeparator=true}this._separatorWidth=this._getMaxBorderWidth(b);var a=b.getColorTop();c.setFillColor(this._separatorEndShape,a);if(this._isIndeterminate()){c.setFillColor(this._separatorStartShape,a)}}else{if(this._useSeparator){c.removeFromCanvas(this._canvas,this._separatorEndShape);this._useSeparator=false;if(this._isIndeterminate()){c.removeFromCanvas(this._canvas,this._separatorStartShape)}this._separatorWidth=0}}},_getMaxBorderWidth:function(a){var b=0;b=Math.max(b,a.getWidthTop());b=Math.max(b,a.getWidthLeft());b=Math.max(b,a.getWidthRight());b=Math.max(b,a.getWidthBottom());return b},_styleIndicatorFill:function(){var a=org.eclipse.rwt.GraphicsUtil;if(this.getIndicatorImage()!=null&&this.getIndicatorImage()[0]!=null){var b=this.getIndicatorImage();a.setFillPattern(this._indicatorShape,b[0],b[1],b[2])}else{if(this.getIndicatorGradient()!=null){a.setFillGradient(this._indicatorShape,this.getIndicatorGradient())}else{a.setFillColor(this._indicatorShape,this.getIndicatorColor())}}a.setOpacity(this._indicatorShape,this.getIndicatorOpacity())},_styleBackgroundFill:function(){var a=org.eclipse.rwt.GraphicsUtil;if(this.getBackgroundImageSized()!=null&&this.getBackgroundImageSized()[0]!=null){var b=this.getBackgroundImageSized();a.setFillPattern(this._backgroundShape,b[0],b[1],b[2])}else{if(this.getBackgroundGradient()!=null){a.setFillGradient(this._backgroundShape,this.getBackgroundGradient())}else{a.setFillColor(this._backgroundShape,this.getBackgroundColor())}}},_renderDimension:function(){var b=org.eclipse.rwt.GraphicsUtil;var d=[0,0,0,0];var c=this.getInnerWidth();var a=this.getInnerHeight();if(this._useBorderShape){d=this.getBorder().getRadii();b.setRoundRectLayout(this._borderShape,this._gfxBorderWidth/2,this._gfxBorderWidth/2,c-this._gfxBorderWidth,a-this._gfxBorderWidth,d)}b.setRoundRectLayout(this._backgroundShape,this._gfxBorderWidth/2,this._gfxBorderWidth/2,c-this._gfxBorderWidth,a-this._gfxBorderWidth,d)},_renderIndicatorSelection:function(){var k=org.eclipse.rwt.GraphicsUtil;var c=this._getIndicatorVirtualPosition();var g=Math.max(c,0);var b=this._getIndicatorLength(c);if(b>0){var f=this._getIndicatorRadii(g,b);var h=g;var i=b;if(g+b==this._getIndicatorFullLength()){i+=this._gfxBorderWidth/2}else{i+=this._separatorWidth}if(h==0){h+=this._gfxBorderWidth/2;i+=this._gfxBorderWidth/2}else{h+=this._gfxBorderWidth}var e=this._isVertical();var a=e?this.getInnerWidth()-this._gfxBorderWidth:i;var m=e?i:this.getInnerHeight()-this._gfxBorderWidth;var l=e?this.getInnerHeight()-(h+i):this._gfxBorderWidth/2;var d=e?this._gfxBorderWidth/2:h;var j=this._indicatorShape;k.setDisplay(this._indicatorShape,true);k.setRoundRectLayout(j,d,l,a,m,f)}else{k.setDisplay(this._indicatorShape,false)}if(this._useSeparator){this._renderSeparator(g,b)}},_renderSeparator:function(d,b){var i=org.eclipse.rwt.GraphicsUtil;var g=b+d==this._getIndicatorFullLength();if(b==0){i.setDisplay(this._separatorEndShape,false);if(this._isIndeterminate()){i.setDisplay(this._separatorStartShape,false)}}else{i.setDisplay(this._separatorEndShape,!g);if(this._isIndeterminate()){i.setDisplay(this._separatorStartShape,d!=0)}var e=d+this._gfxBorderWidth-this._separatorWidth;var f=b+2*this._separatorWidth;if(this._isVertical()){var c=this._gfxBorderWidth;var j=this.getInnerHeight()-(f+e);var a=this.getInnerWidth()-2*this._gfxBorderWidth;var k=this._separatorWidth;var h=this._separatorEndShape;if(!g){i.setRectBounds(h,c,j,a,k)}if(d!=0){j=this.getInnerHeight()-e-this._separatorWidth;h=this._separatorStartShape;i.setRectBounds(h,c,j,a,k)}}else{var c=e+f-this._separatorWidth;var j=this._gfxBorderWidth;var a=this._separatorWidth;var k=this.getInnerHeight()-2*this._gfxBorderWidth;var h=this._separatorEndShape;if(!g){i.setRectBounds(h,c,j,a,k)}if(d!=0){c=e;h=this._separatorStartShape;i.setRectBounds(h,c,j,a,k)}}}},_getIndicatorLength:function(c){var a=this._getIndicatorVirtualLength();var e=this._getIndicatorFullLength();if(this._isIndeterminate()){if(c<0){a+=c}if((c+a)>e){a=e-c}}else{if(this._useBorderShape){var d=this._getIndicatorMinSafeLength();var b=this._getIndicatorMaxSafeLength();if(a<d){if(a>0){a=d}else{a=0}}if(a>b&&a<e){a=b}}}return Math.round(a)},_getIndicatorVirtualLength:function(){var b;if(this._isIndeterminate()){b=org.eclipse.swt.widgets.ProgressBar.UNDETERMINED_SIZE}else{var d=this._getIndicatorFullLength();var c=this._selection-this._minimum;var a=this._maximum-this._minimum;b=(c/a)*d}return b},_getIndicatorVirtualPosition:function(){var a=0;if(this._isIndeterminate()){a=this._computeNextSaveIndicatorPosition()}return a},_computeNextSaveIndicatorPosition:function(){var e=org.eclipse.swt.widgets.ProgressBar.UNDETERMINED_SIZE;var f=this._getIndicatorFullLength();var a=this._indicatorVirtualPosition+2;if(this._useBorderShape){var b=this._getIndicatorMinSafeLength();var d=this._getIndicatorMaxSafeLength();var c=a+e;if(c>0&&c<b){a=b-e}if(a>0&&a<b){a=b}c=a+e;if(c>d&&c<f){a=f-e}if(a>d){a=-e}}else{if(a>=f){a=-e}}this._indicatorVirtualPosition=a;return a},_getIndicatorRadii:function(b,d){var a=[0,0,0,0];if(this._useBorderShape&&d>0){var f=this.getBorder().getRadii();var c=b+d;var e=this._getIndicatorFullLength();if(this._isVertical()){if(b==0){a[2]=f[2];a[3]=f[3]}if(c==e){a[0]=f[0];a[1]=f[1]}}else{if(b==0){a[0]=f[0];a[3]=f[3]}if(c==e){a[1]=f[1];a[2]=f[2]}}}return a},_getIndicatorFullLength:function(){return this._isVertical()?this.getInnerHeight()-2*this._gfxBorderWidth:this.getInnerWidth()-2*this._gfxBorderWidth},_getIndicatorMinSafeLength:function(){var b=this.getBorder().getRadii();var a=this._isVertical()?Math.max(b[2],b[3]):Math.max(b[0],b[3]);a+=this._separatorWidth;a-=Math.floor(this._gfxBorderWidth/2);return a},_getIndicatorMaxSafeLength:function(){var c=this.getBorder().getRadii();var b=this._getIndicatorFullLength();var a=this._isVertical()?b-Math.max(c[0],c[1]):b-Math.max(c[1],c[2]);a-=this._separatorWidth;a+=Math.floor(this._gfxBorderWidth/2);return a}}});
+qx.Class.define("org.eclipse.swt.widgets.ProgressBar",{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.setOverflow($[13]);this.setAppearance("progressbar");this.setState($[61]);this._timer=null;this._gfxCanvasAppended=false;this._canvas=null;this._backgroundShape=null;this._indicatorShape=null;this._borderShape=null;this._useBorderShape=false;this._gfxBorderWidth=0;this._indicatorVirtualPosition=0;this._separatorStartShape=null;this._separatorEndShape=null;this._useSeparator=false;this._separatorWidth=0;this._minimum=0;this._maximum=100;this._selection=0},destruct:function(){if(this._timer!=null){this._timer.stop();this._timer.dispose()}this._timer=null;this._canvas=null;this._backgroundShape=null;this._indicatorShape=null;this._borderShape=null;this._separatorStartShape=null;this._separatorEndShape=null},statics:{UNDETERMINED_SIZE:40},events:{minimumChanged:$[3],maximumChanged:$[3],selectionChanged:$[3]},properties:{indicatorColor:{nullable:true,init:null,apply:$[274],themeable:true},indicatorImage:{nullable:true,init:null,apply:$[274],themeable:true},indicatorGradient:{nullable:true,init:null,apply:$[274],themeable:true},indicatorOpacity:{nullable:true,init:1,apply:$[274],themeable:true},backgroundImageSized:{nullable:true,init:null,apply:"_applyBackgroundImageSized",themeable:true},separatorBorder:{nullable:true,init:null,apply:$[510],themeable:true}},members:{setMinimum:function(a){this._minimum=a;this.dispatchSimpleEvent($[496])},setMaximum:function(a){this._maximum=a;this.dispatchSimpleEvent($[487])},setSelection:function(a){this._selection=a;this.addToQueue("indicatorSelection");this.dispatchSimpleEvent($[286])},addState:function(a){if(a===$[448]){this._timer=new qx.client.Timer(120);this._timer.addEventListener($[26],this._onInterval,this);this._timer.start()}arguments.callee.base.call(this,a)},setState:function(a){if(a==$[140]){this.removeState($[61]);this.removeState("paused");this.addState($[140])}else{if(a=="paused"){this.removeState($[61]);this.removeState($[140]);this.addState("paused")}else{this.removeState($[140]);this.removeState("paused");this.addState($[61])}}},_isIndeterminate:function(){return this.hasState($[448])},_isHorizontal:function(){return this.hasState($[429])},_isVertical:function(){return this.hasState($[220])},_queueBorder:function(a){this.addToQueue("indicatorBorder");if(a&&a.getStyle()===$[77]){this._cachedBorderTop=0;this._cachedBorderRight=0;this._cachedBorderBottom=0;this._cachedBorderLeft=0;this._invalidateFrameDimensions()}else{arguments.callee.base.call(this,a)}},_applyBackgroundColor:function(a){if(this._gfxCanvasAppended){this._styleBackgroundFill()}},_applyBackgroundGradient:function(a){if(this._gfxCanvasAppended){this._styleBackgroundFill()}},_applyBackgroundImage:function(a){},_applyBackgroundImageSized:function(a){if(this._gfxCanvasAppended){this._styleBackgroundFill()}},_applyIndicatorFill:function(a){if(this._gfxCanvasAppended){this._styleIndicatorFill()}},_applySeparatorBorder:function(a){this.addToQueue($[390])},_onCanvasAppear:function(){org.eclipse.rwt.GraphicsUtil.handleAppear(this._canvas)},_onInterval:function(){if(this.isSeeable()){this._renderIndicatorSelection()}},_layoutPost:function(b){if(!this._gfxCanvasAppended){this._createCanvas()}var a=b.width||b.height||b.frameWidth||b.frameHeight||b.initial;if(b.separatorBorder){this._styleSeparatorBorder()}if(b.indicatorBorder){this._styleIndicatorBorder()}if(b.indicatorBorder||a){this._renderDimension();this._renderIndicatorSelection()}else{if(b.indicatorSelection||b.separatorBorder){this._renderIndicatorSelection()}}},_createCanvas:function(){var a=org.eclipse.rwt.GraphicsUtil;this._canvas=a.createCanvas();this._getTargetNode().appendChild(a.getCanvasNode(this._canvas));this._gfxCanvasAppended=true;this.addEventListener($[143],this._onCanvasAppear);this._backgroundShape=a.createShape($[158]);this._indicatorShape=a.createShape($[158]);a.addToCanvas(this._canvas,this._backgroundShape);a.addToCanvas(this._canvas,this._indicatorShape);this._styleBackgroundFill();this._styleIndicatorFill();if(this.isSeeable()){this._onCanvasAppear()}},_styleIndicatorBorder:function(){var b=org.eclipse.rwt.GraphicsUtil;if(this.getBorder()&&this.getBorder().getStyle()===$[77]){if(!this._useBorderShape){this._style.border="";if(this._borderShape==null){this._borderShape=b.createShape($[158])}b.addToCanvas(this._canvas,this._borderShape);this._useBorderShape=true}this._gfxBorderWidth=this._getMaxBorderWidth(this.getBorder());var a=this.getBorder().getColor();b.setStroke(this._borderShape,a,this._gfxBorderWidth)}else{if(this._useBorderShape){b.removeFromCanvas(this._canvas,this._borderShape);this._useBorderShape=true;this._gfxBorderWidth=0}}},_styleSeparatorBorder:function(){var c=org.eclipse.rwt.GraphicsUtil;var b=this.getSeparatorBorder();if(b!=null){if(!this._useSeparator){if(this._isIndeterminate()){if(this._separatorStartShape==null){this._separatorStartShape=c.createShape("rect")}c.addToCanvas(this._canvas,this._separatorStartShape)}if(this._separatorEndShape==null){this._separatorEndShape=c.createShape("rect")}c.addToCanvas(this._canvas,this._separatorEndShape);this._useSeparator=true}this._separatorWidth=this._getMaxBorderWidth(b);var a=b.getColorTop();c.setFillColor(this._separatorEndShape,a);if(this._isIndeterminate()){c.setFillColor(this._separatorStartShape,a)}}else{if(this._useSeparator){c.removeFromCanvas(this._canvas,this._separatorEndShape);this._useSeparator=false;if(this._isIndeterminate()){c.removeFromCanvas(this._canvas,this._separatorStartShape)}this._separatorWidth=0}}},_getMaxBorderWidth:function(a){var b=0;b=Math.max(b,a.getWidthTop());b=Math.max(b,a.getWidthLeft());b=Math.max(b,a.getWidthRight());b=Math.max(b,a.getWidthBottom());return b},_styleIndicatorFill:function(){var a=org.eclipse.rwt.GraphicsUtil;if(this.getIndicatorImage()!=null&&this.getIndicatorImage()[0]!=null){var b=this.getIndicatorImage();a.setFillPattern(this._indicatorShape,b[0],b[1],b[2])}else{if(this.getIndicatorGradient()!=null){a.setFillGradient(this._indicatorShape,this.getIndicatorGradient())}else{a.setFillColor(this._indicatorShape,this.getIndicatorColor())}}a.setOpacity(this._indicatorShape,this.getIndicatorOpacity())},_styleBackgroundFill:function(){var a=org.eclipse.rwt.GraphicsUtil;if(this.getBackgroundImageSized()!=null&&this.getBackgroundImageSized()[0]!=null){var b=this.getBackgroundImageSized();a.setFillPattern(this._backgroundShape,b[0],b[1],b[2])}else{if(this.getBackgroundGradient()!=null){a.setFillGradient(this._backgroundShape,this.getBackgroundGradient())}else{a.setFillColor(this._backgroundShape,this.getBackgroundColor())}}},_renderDimension:function(){var b=org.eclipse.rwt.GraphicsUtil;var d=[0,0,0,0];var c=this.getInnerWidth();var a=this.getInnerHeight();if(this._useBorderShape){d=this.getBorder().getRadii();b.setRoundRectLayout(this._borderShape,this._gfxBorderWidth/2,this._gfxBorderWidth/2,c-this._gfxBorderWidth,a-this._gfxBorderWidth,d)}b.setRoundRectLayout(this._backgroundShape,this._gfxBorderWidth/2,this._gfxBorderWidth/2,c-this._gfxBorderWidth,a-this._gfxBorderWidth,d)},_renderIndicatorSelection:function(){var k=org.eclipse.rwt.GraphicsUtil;var c=this._getIndicatorVirtualPosition();var g=Math.max(c,0);var b=this._getIndicatorLength(c);if(b>0){var f=this._getIndicatorRadii(g,b);var h=g;var i=b;if(g+b==this._getIndicatorFullLength()){i+=this._gfxBorderWidth/2}else{i+=this._separatorWidth}if(h==0){h+=this._gfxBorderWidth/2;i+=this._gfxBorderWidth/2}else{h+=this._gfxBorderWidth}var e=this._isVertical();var a=e?this.getInnerWidth()-this._gfxBorderWidth:i;var m=e?i:this.getInnerHeight()-this._gfxBorderWidth;var l=e?this.getInnerHeight()-(h+i):this._gfxBorderWidth/2;var d=e?this._gfxBorderWidth/2:h;var j=this._indicatorShape;k.setDisplay(this._indicatorShape,true);k.setRoundRectLayout(j,d,l,a,m,f)}else{k.setDisplay(this._indicatorShape,false)}if(this._useSeparator){this._renderSeparator(g,b)}},_renderSeparator:function(d,b){var i=org.eclipse.rwt.GraphicsUtil;var g=b+d==this._getIndicatorFullLength();if(b==0){i.setDisplay(this._separatorEndShape,false);if(this._isIndeterminate()){i.setDisplay(this._separatorStartShape,false)}}else{i.setDisplay(this._separatorEndShape,!g);if(this._isIndeterminate()){i.setDisplay(this._separatorStartShape,d!=0)}var e=d+this._gfxBorderWidth-this._separatorWidth;var f=b+2*this._separatorWidth;if(this._isVertical()){var c=this._gfxBorderWidth;var j=this.getInnerHeight()-(f+e);var a=this.getInnerWidth()-2*this._gfxBorderWidth;var k=this._separatorWidth;var h=this._separatorEndShape;if(!g){i.setRectBounds(h,c,j,a,k)}if(d!=0){j=this.getInnerHeight()-e-this._separatorWidth;h=this._separatorStartShape;i.setRectBounds(h,c,j,a,k)}}else{var c=e+f-this._separatorWidth;var j=this._gfxBorderWidth;var a=this._separatorWidth;var k=this.getInnerHeight()-2*this._gfxBorderWidth;var h=this._separatorEndShape;if(!g){i.setRectBounds(h,c,j,a,k)}if(d!=0){c=e;h=this._separatorStartShape;i.setRectBounds(h,c,j,a,k)}}}},_getIndicatorLength:function(c){var a=this._getIndicatorVirtualLength();var e=this._getIndicatorFullLength();if(this._isIndeterminate()){if(c<0){a+=c}if((c+a)>e){a=e-c}}else{if(this._useBorderShape){var d=this._getIndicatorMinSafeLength();var b=this._getIndicatorMaxSafeLength();if(a<d){if(a>0){a=d}else{a=0}}if(a>b&&a<e){a=b}}}return Math.round(a)},_getIndicatorVirtualLength:function(){var b;if(this._isIndeterminate()){b=org.eclipse.swt.widgets.ProgressBar.UNDETERMINED_SIZE}else{var d=this._getIndicatorFullLength();var c=this._selection-this._minimum;var a=this._maximum-this._minimum;b=(c/a)*d}return b},_getIndicatorVirtualPosition:function(){var a=0;if(this._isIndeterminate()){a=this._computeNextSaveIndicatorPosition()}return a},_computeNextSaveIndicatorPosition:function(){var e=org.eclipse.swt.widgets.ProgressBar.UNDETERMINED_SIZE;var f=this._getIndicatorFullLength();var a=this._indicatorVirtualPosition+2;if(this._useBorderShape){var b=this._getIndicatorMinSafeLength();var d=this._getIndicatorMaxSafeLength();var c=a+e;if(c>0&&c<b){a=b-e}if(a>0&&a<b){a=b}c=a+e;if(c>d&&c<f){a=f-e}if(a>d){a=-e}}else{if(a>=f){a=-e}}this._indicatorVirtualPosition=a;return a},_getIndicatorRadii:function(b,d){var a=[0,0,0,0];if(this._useBorderShape&&d>0){var f=this.getBorder().getRadii();var c=b+d;var e=this._getIndicatorFullLength();if(this._isVertical()){if(b==0){a[2]=f[2];a[3]=f[3]}if(c==e){a[0]=f[0];a[1]=f[1]}}else{if(b==0){a[0]=f[0];a[3]=f[3]}if(c==e){a[1]=f[1];a[2]=f[2]}}}return a},_getIndicatorFullLength:function(){return this._isVertical()?this.getInnerHeight()-2*this._gfxBorderWidth:this.getInnerWidth()-2*this._gfxBorderWidth},_getIndicatorMinSafeLength:function(){var b=this.getBorder().getRadii();var a=this._isVertical()?Math.max(b[2],b[3]):Math.max(b[0],b[3]);a+=this._separatorWidth;a-=Math.floor(this._gfxBorderWidth/2);return a},_getIndicatorMaxSafeLength:function(){var c=this.getBorder().getRadii();var b=this._getIndicatorFullLength();var a=this._isVertical()?b-Math.max(c[0],c[1]):b-Math.max(c[1],c[2]);a-=this._separatorWidth;a+=Math.floor(this._gfxBorderWidth/2);return a}}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.ProgressBar",{factory:function(b){var a=new org.eclipse.swt.widgets.ProgressBar();org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);a.setUserData($[22],true);org.eclipse.rwt.protocol.AdapterUtil.setParent(a,b.parent);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties([$[238],$[272],$[24],"state"]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({backgroundImage:function(b,a){b.setBackgroundImageSized(a)}}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners([]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({}),methods:[]});
 qx.Class.define("org.eclipse.swt.widgets.Link",{extend:qx.ui.layout.CanvasLayout,construct:function(){arguments.callee.base.call(this);this.setAppearance("link");this._text="";this._hasSelectionListener=false;this._hyperlinksHaveListeners=false;this._readyToSendChanges=true;this._focusedLinkIndex=-1;this._linksCount=0;this._link=new qx.ui.embed.HtmlEmbed();this._link.setAppearance("link-text");this.add(this._link);this.setSelectable(false);this.setHideFocus(true);this.__onMouseDown=qx.lang.Function.bindEvent(this._onMouseDown,this);this.__onKeyDown=qx.lang.Function.bindEvent(this._onKeyDown,this);this.addEventListener($[44],this._onAppear,this);this.addEventListener($[180],this._onChangeEnabled,this);this.addEventListener($[4],this._onKeyPress);this.addEventListener($[104],this._onFocusOut);this._link.addEventListener($[289],this._onChangeHtml,this)},destruct:function(){this._removeEventListeners();delete this.__onMouseDown;delete this.__onKeyDown;this.removeEventListener($[44],this._onAppear,this);this.removeEventListener($[180],this._onChangeEnabled,this);this.removeEventListener($[4],this._onKeyPress);this.removeEventListener($[104],this._onFocusOut);this._link.removeEventListener($[289],this._onChangeHtml,this);this._link.dispose()},members:{_onAppear:function(a){this._link.setTabIndex(null);this._link.setHideFocus(true);this._applyHyperlinksStyleProperties();this._addEventListeners()},_onChangeHtml:function(a){this._applyHyperlinksStyleProperties();this._addEventListeners()},_applyTextColor:function(b,a){arguments.callee.base.call(this,b,a);this._applyHyperlinksStyleProperties()},_onChangeEnabled:function(a){this._applyHyperlinksStyleProperties();this._changeHyperlinksTabIndexProperty()},_getStates:function(){if(!this.__states){this.__states={}}return this.__states},addState:function(a){arguments.callee.base.call(this,a);this._link.addState(a)},removeState:function(a){arguments.callee.base.call(this,a);this._link.removeState(a)},setHasSelectionListener:function(a){this._hasSelectionListener=a},addText:function(a){this._text+=a},addLink:function(b,a){var d=org.eclipse.swt.WidgetManager.getInstance();var c=d.findIdByWidget(this)+"#"+a;this._text+='<span tabIndex="1" ';this._text+='style="';this._text+="text-decoration:underline; ";this._text+='" ';this._text+='id="'+c+'"';this._text+=">";this._text+=b;this._text+="</span>";this._linksCount++},applyText:function(){this._link.setHtml(this._text);if(this._linksCount===0){this.setTabIndex(null)}else{this.setTabIndex(1)}},clear:function(){this._removeEventListeners();this._text="";this._linksCount=0;this._focusedLinkIndex=-1},_applyHyperlinksStyleProperties:function(){var e=new org.eclipse.swt.theme.ThemeValues(this._getStates());var b=e.getCssColor($[427],$[65]);var a=e.getCssShadow($[427],"text-shadow");e.dispose();var c=this._getHyperlinkElements();for(var d=0;d<c.length;d++){org.eclipse.rwt.HtmlUtil.setStyleProperty(c[d],$[65],b);org.eclipse.rwt.HtmlUtil.setTextShadow(c[d],a);if(this.isEnabled()){c[d].style.cursor=$[133]}else{c[d].style.cursor=$[66]}}},_changeHyperlinksTabIndexProperty:function(){var a=this._getHyperlinkElements();for(var b=0;b<a.length;b++){if(this.isEnabled()){a[b].tabIndex="1"}else{a[b].tabIndex="-1"}}},_addEventListeners:function(){var a=this._getHyperlinkElements();if(a.length>0&&!this._hyperlinksHaveListeners){for(var b=0;b<a.length;b++){qx.html.EventRegistration.addEventListener(a[b],$[1],this.__onMouseDown);qx.html.EventRegistration.addEventListener(a[b],$[10],this.__onKeyDown)}this._hyperlinksHaveListeners=true}},_removeEventListeners:function(){var a=this._getHyperlinkElements();if(a.length>0&&this._hyperlinksHaveListeners){for(var b=0;b<a.length;b++){qx.html.EventRegistration.removeEventListener(a[b],$[1],this.__onMouseDown);qx.html.EventRegistration.removeEventListener(a[b],$[10],this.__onKeyDown)}this._hyperlinksHaveListeners=false}},_onMouseDown:function(a){var c=this._getEventTarget(a);var b=this._getLinkIndex(c);this._setFocusedLink(b);var d=this._isLeftMouseButtonPressed(a);if(this.isEnabled()&&d&&this._readyToSendChanges){this._readyToSendChanges=false;qx.client.Timer.once(function(){this._sendChanges(b)},this,org.eclipse.swt.EventUtil.DOUBLE_CLICK_TIME)}},_isLeftMouseButtonPressed:function(a){var b;if(a.which){b=(a.which===1)}else{if(a.button){if(org.eclipse.rwt.Client.isMshtml()){b=(a.button===1)}else{b=(a.button===0)}}}return b},_onKeyDown:function(a){if(this.isEnabled()&&a.keyCode===13){var c=this._getEventTarget(a);var b=this._getLinkIndex(c);this._sendChanges(b)}},_getLinkIndex:function(b){var c=b.id;var a=c.substr(c.lastIndexOf("#")+1);return parseInt(a,10)},_getEventTarget:function(a){var b;if(org.eclipse.rwt.Client.isMshtml()){b=window.event.srcElement}else{b=a.target}return b},_ontabfocus:function(){if(this._focusedLinkIndex===-1&&this._linksCount>0){this._setFocusedLink(0)}},_onKeyPress:function(a){if(this.isFocused()&&a.getKeyIdentifier()==="Tab"&&this._linksCount>0){var b=this._focusedLinkIndex;if(!a.isShiftPressed()&&b>=0&&b<this._linksCount-1){a.stopPropagation();a.preventDefault();this._setFocusedLink(b+1)}else{if(!a.isShiftPressed()&&b===-1){a.stopPropagation();a.preventDefault();this._setFocusedLink(0)}else{if(a.isShiftPressed()&&b>0&&b<=this._linksCount-1){a.stopPropagation();a.preventDefault();this._setFocusedLink(b-1)}}}}},_onFocusOut:function(a){this._setFocusedLink(-1)},_setFocusedLink:function(a){var b=this._getFocusedHyperlinkElement();if(b!==null){b.blur();b.style.outline="none"}this._focusedLinkIndex=a;b=this._getFocusedHyperlinkElement();if(b!==null){b.focus();b.style.outline="1px dotted"}},_getFocusedHyperlinkElement:function(){var a=null;var c=this._getHyperlinkElements();var b=this._focusedLinkIndex;if(b>=0&&b<c.length){a=c[b]}return a},_getHyperlinkElements:function(){var a;var b=this.getElement();if(b){a=b.getElementsByTagName("span")}else{a=[]}return a},_sendChanges:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){var d=org.eclipse.swt.WidgetManager.getInstance();var c=d.findIdByWidget(this);var b=org.eclipse.swt.Request.getInstance();if(this._hasSelectionListener){b.addEvent($[69],c);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();b.addEvent("org.eclipse.swt.events.widgetSelected.index",a);b.send()}}this._readyToSendChanges=true}}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.Link",{factory:function(b){var a=new org.eclipse.swt.widgets.Link();org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);a.setUserData($[22],true);org.eclipse.rwt.protocol.AdapterUtil.setParent(a,b.parent);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties(["text"]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({text:function(e,d){var b=org.eclipse.rwt.protocol.EncodingUtil;e.clear();for(var c=0;c<d.length;c++){var f=b.escapeText(d[c][0],false);f=b.replaceNewLines(f,$[107]);var a=d[c][1];if(a!==null){e.addLink(f,a)}else{e.addText(f)}}e.applyText()}}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners([$[24]]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({}),methods:[]});
@@ -228,8 +228,8 @@
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.Slider",{factory:function(b){var c=b.style.indexOf($[343])!=-1;var a=new org.eclipse.swt.widgets.Slider(c);org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);a.setUserData($[22],true);org.eclipse.rwt.protocol.AdapterUtil.setParent(a,b.parent);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties([$[238],$[272],$[24],$[283],$[332],"thumb"]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners([$[24]]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({}),methods:[]});
 qx.Class.define("org.eclipse.swt.widgets.Spinner",{extend:qx.ui.form.Spinner,construct:function(){arguments.callee.base.call(this);this._isModified=false;this._hasModifyListener=false;this._hasSelectionListener=false;this.setWrap(false);this._textfield.setFocused=function(){};this._textfield.addEventListener($[109],this._onChangeValue,this);this._textfield.addEventListener($[4],this._onChangeValue,this);this._textfield.addEventListener("blur",this._onChangeValue,this);this._textfield.addEventListener($[10],this._onKeyDown,this);this._textfield.setTabIndex(null);this.addEventListener($[180],this._onChangeEnabled,this);this.addEventListener($[104],this._onFocusOut,this);this._checkValue=this.__checkValueWithDigits},destruct:function(){this._textfield.removeEventListener($[109],this._onChangeValue,this);this._textfield.removeEventListener($[4],this._onChangeValue,this);this._textfield.removeEventListener("blur",this._onChangeValue,this);this._textfield.removeEventListener($[10],this._onKeyDown,this);this.removeEventListener($[180],this._onChangeEnabled,this);this.removeEventListener($[104],this._onFocusOut,this)},properties:{digits:{check:$[14],init:0,apply:"_applyDigits"},decimalSeparator:{check:$[21],init:".",apply:"_applyDecimalSeparator"}},members:{setFont:function(a){this._textfield.setFont(a)},setMaxLength:function(a){this._textfield.setMaxLength(a)},setMinMaxSelection:function(b,a,c){this.setMin(Math.min(b,this.getMin()));this.setMax(Math.max(a,this.getMax()));this.setValue(c);this.setMin(b);this.setMax(a)},_applyCursor:function(b,a){arguments.callee.base.call(this,b,a);if(b){this._upbutton.setCursor(b);this._downbutton.setCursor(b);this._textfield.setCursor(b)}else{this._upbutton.resetCursor();this._downbutton.resetCursor();this._textfield.resetCursor()}},setHasModifyListener:function(a){this._hasModifyListener=a},setHasSelectionListener:function(a){this._hasSelectionListener=a},_visualizeFocus:function(){this._textfield._visualizeFocus();if(this._textfield.isCreated()){this._textfield.selectAll()}this.addState($[75])},_visualizeBlur:function(){this._textfield._setSelectionLength(0);this._textfield._visualizeBlur();this.removeState($[75])},_oninput:function(a){this._suspendTextFieldUpdate=true;this._checkValue(true,false);this._suspendTextFieldUpdate=false},_onChangeValue:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()&&!this._isModified){this._isModified=true;var b=org.eclipse.swt.Request.getInstance();b.addEventListener("send",this._onSend,this);if(this._hasSelectionListener){this._addModifyTextEvent();this._sendWidgetSelected()}else{if(this._hasModifyListener){this._addModifyTextEvent();qx.client.Timer.once(this._sendModifyText,this,500)}}}},_onChangeEnabled:function(a){var b=a.getValue();this._upbutton.setEnabled(b&&this.getValue()<this.getMax());this._downbutton.setEnabled(b&&this.getValue()>this.getMin())},_onKeyDown:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){if(a.getKeyIdentifier()==$[54]&&!a.isShiftPressed()&&!a.isAltPressed()&&!a.isCtrlPressed()&&!a.isMetaPressed()&&this._hasSelectionListener){a.stopPropagation();this._sendWidgetDefaultSelected()}}},_onmousewheel:function(a){if(this.getFocused()){arguments.callee.base.call(this,a)}},_addModifyTextEvent:function(){var c=org.eclipse.swt.WidgetManager.getInstance();var b=c.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent($[358],b)},_sendWidgetSelected:function(){var c=org.eclipse.swt.WidgetManager.getInstance();var b=c.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent($[69],b);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();a.send()},_sendWidgetDefaultSelected:function(){var c=org.eclipse.swt.WidgetManager.getInstance();var b=c.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent($[168],b);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();a.send()},_onSend:function(a){this._isModified=false;var d=org.eclipse.swt.WidgetManager.getInstance();var c=d.findIdByWidget(this);var b=org.eclipse.swt.Request.getInstance();b.addParameter(c+$[147],this.getManager().getValue());b.removeEventListener("send",this._onSend,this)},_sendModifyText:function(a){if(this._isModified){org.eclipse.swt.Request.getInstance().send();this._isModified=false}},_applyDigits:function(c,b){var a=this.getManager().getValue();if(this.getDigits()>0){this._textfield.setValue(this._format(a))}else{this._textfield.setValue(String(a))}},_applyDecimalSeparator:function(c,b){var a=this.getManager().getValue();if(this.getDigits()>0){this._textfield.setValue(this._format(a))}},_format:function(d){var c=this.getDigits();var f=d/Math.pow(10,c);var a=f.toFixed(c);var e=this.getDecimalSeparator();if(e!="."){var b=qx.lang.String.escapeRegexpChars(".");a=a.replace(new RegExp(b),e)}return a},_limit:function(c){var a=c;var b=this.getDigits();if(b>0){a=a*Math.pow(10,b)}a=Math.round(a);if(a>this.getMax()){a=this.getMax()}if(a<this.getMin()){a=this.getMin()}return a},_onFocusOut:function(a){this._checkValue(true,false)},_onkeypress:function(a){var b=a.getKeyIdentifier();var c=this.getDecimalSeparator();if(!(this.getDigits()>0&&b==c)){arguments.callee.base.call(this,a)}},_onchange:function(a){var b=this.getManager().getValue();if(!this._suspendTextFieldUpdate){if(this.getDigits()>0){this._textfield.setValue(this._format(b))}else{this._textfield.setValue(String(b))}}if(b==this.getMin()&&!this.getWrap()){this._downbutton.removeState($[11]);this._downbutton.setEnabled(false);this._timer.stop()}else{this._downbutton.resetEnabled()}if(b==this.getMax()&&!this.getWrap()){this._upbutton.removeState($[11]);this._upbutton.setEnabled(false);this._timer.stop()}else{this._upbutton.resetEnabled()}this.createDispatchDataEvent($[67],b)},__checkValueWithDigits:function(g,b){var k=this._textfield.getInputElement();if(k){if(k.value===""&&!g){this.resetValue()}else{var i=k.value;var e=i;var d=this.getDecimalSeparator();if(this.getDigits()>0&&d!="."){d=qx.lang.String.escapeRegexpChars(d);e=i.replace(new RegExp(d),".")}var j=parseFloat(e);var f=this._limit(j);var a=this.getManager().getValue();var h=f;if(isNaN(j)||j!=f||j!=e){if(b){this._textfield.setValue(this._last_value)}else{if(isNaN(f)){h=a}}}if(!b){var c=String(h);if(this.getDigits()>0){c=this._format(h)}if(h===a&&i!==c&&!this._suspendTextFieldUpdate){this._textfield.setValue(c)}this.getManager().setValue(h)}}}}}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.Spinner",{factory:function(b){var a=new org.eclipse.swt.widgets.Spinner();org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);a.setUserData($[22],true);org.eclipse.rwt.protocol.AdapterUtil.setParent(a,b.parent);var c=org.eclipse.rwt.protocol.AdapterUtil.createStyleMap(b.style);if(c.READ_ONLY){a.setEditable(false)}if(c.WRAP){a.setWrap(true)}return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties([$[238],$[272],$[24],"digits",$[283],$[332],$[297],"decimalSeparator"]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({minimum:function(c,b){var a=c.getMax();if(b>a){c.setMax(b+1)}c.setMin(b)},maximum:function(b,a){b.setMax(a)},selection:function(b,a){b.setValue(a)},increment:function(b,a){b.setIncrementAmount(a);b.setWheelIncrementAmount(a)},pageIncrement:function(b,a){b.setPageIncrementAmount(a)},textLimit:function(b,a){b.setMaxLength(a)}}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners(["modify",$[24]]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({}),methods:[]});
-qx.Class.define("org.eclipse.swt.widgets.DateTimeTime",{extend:qx.ui.layout.CanvasLayout,construct:function(a){arguments.callee.base.call(this);this.setOverflow(qx.constant.Style.OVERFLOW_HIDDEN);this.setAppearance("datetime-time");this._short=qx.lang.String.contains(a,"short");this._medium=qx.lang.String.contains(a,"medium");this._long=qx.lang.String.contains(a,"long");this._hasSelectionListener=false;this._requestTimer=null;this.addEventListener($[102],this._rwt_onChangeFont,this);this.addEventListener($[4],this._onKeyPress,this);this.addEventListener($[40],this._onKeyUp,this);this.addEventListener($[47],this._onMouseWheel,this);this.addEventListener($[49],this._onContextMenu,this);this.addEventListener($[64],this._onFocusIn,this);this.addEventListener("blur",this._onFocusOut,this);this._focusedTextField=null;this._hoursTextField=new qx.ui.basic.Label("00");this._hoursTextField.setAppearance($[159]);this._hoursTextField.setUserData($[142],2);this._hoursTextField.addEventListener($[1],this._onTextFieldMouseDown,this);this.add(this._hoursTextField);this._separator3=new qx.ui.basic.Label(":");this._separator3.setAppearance($[204]);this._separator3.addEventListener($[49],this._onContextMenu,this);this.add(this._separator3);this._minutesTextField=new qx.ui.basic.Label("00");this._minutesTextField.setAppearance($[159]);this._minutesTextField.setUserData($[142],2);this._minutesTextField.addEventListener($[1],this._onTextFieldMouseDown,this);this.add(this._minutesTextField);this._separator4=new qx.ui.basic.Label(":");this._separator4.setAppearance($[204]);if(this._medium||this._long){this.add(this._separator4)}this._secondsTextField=new qx.ui.basic.Label("00");this._secondsTextField.setAppearance($[159]);this._secondsTextField.setUserData($[142],2);this._secondsTextField.addEventListener($[1],this._onTextFieldMouseDown,this);if(this._medium||this._long){this.add(this._secondsTextField)}this._spinner=new qx.ui.form.Spinner();this._spinner.set({wrap:true,border:null,backgroundColor:null});this._spinner.setMin(0);this._spinner.setMax(23);this._spinner.setValue(0);this._spinner.addEventListener($[67],this._onSpinnerChange,this);this._spinner._textfield.setTabIndex(null);this._spinner._textfield.setFocused=function(){};this._spinner._textfield.setVisibility(false);this._spinner._upbutton.setAppearance($[406]);this._spinner._downbutton.setAppearance($[447]);this._spinner.removeEventListener($[4],this._spinner._onkeypress,this._spinner);this._spinner.removeEventListener($[10],this._spinner._onkeydown,this._spinner);this._spinner.removeEventListener($[40],this._spinner._onkeyup,this._spinner);this._spinner.removeEventListener($[47],this._spinner._onmousewheel,this._spinner);this.add(this._spinner);this._focusedTextField=this._hoursTextField},destruct:function(){this.removeEventListener($[102],this._rwt_onChangeFont,this);this.removeEventListener($[4],this._onKeyPress,this);this.removeEventListener($[40],this._onKeyUp,this);this.removeEventListener($[47],this._onMouseWheel,this);this.removeEventListener($[49],this._onContextMenu,this);this.removeEventListener($[64],this._onFocusIn,this);this.removeEventListener("blur",this._onFocusOut,this);this._hoursTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._minutesTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._secondsTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._spinner.removeEventListener($[67],this._onSpinnerChange,this);this._disposeObjects("_hoursTextField","_minutesTextField","_secondsTextField",$[388],"_spinner","_separator3","_separator4")},statics:{HOURS_TEXTFIELD:8,MINUTES_TEXTFIELD:9,SECONDS_TEXTFIELD:10,HOURS_MINUTES_SEPARATOR:11,MINUTES_SECONDS_SEPARATOR:12,SPINNER:7,_isNoModifierPressed:function(a){return !a.isCtrlPressed()&&!a.isShiftPressed()&&!a.isAltPressed()&&!a.isMetaPressed()}},members:{addState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._hoursTextField.addState(a);this._minutesTextField.addState(a);this._secondsTextField.addState(a);this._spinner.addState(a);this._separator3.addState(a);this._separator4.addState(a)}},removeState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._hoursTextField.removeState(a);this._minutesTextField.removeState(a);this._secondsTextField.removeState(a);this._spinner.removeState(a);this._separator3.removeState(a);this._separator4.removeState(a)}},_rwt_onChangeFont:function(a){var b=a.getValue();this._hoursTextField.setFont(b);this._minutesTextField.setFont(b);this._secondsTextField.setFont(b)},_onContextMenu:function(a){var b=this.getContextMenu();if(b!=null){b.setLocation(a.getPageX(),a.getPageY());b.setOpener(this);b.show();a.stopPropagation()}},_onFocusIn:function(a){this._focusedTextField.addState($[29]);this._initialEditing=true},_onFocusOut:function(a){this._focusedTextField.removeState($[29])},_onTextFieldMouseDown:function(a){this._setFocusedTextField(a.getTarget())},_setFocusedTextField:function(a){if(this._focusedTextField!==a){var b;this._focusedTextField.removeState($[29]);this._focusedTextField=null;if(a===this._hoursTextField){this._spinner.setMin(0);this._spinner.setMax(23);b=this._removeLeadingZero(this._hoursTextField.getText());this._spinner.setValue(parseInt(b,10))}else{if(a===this._minutesTextField){this._spinner.setMin(0);this._spinner.setMax(59);b=this._removeLeadingZero(this._minutesTextField.getText());this._spinner.setValue(parseInt(b,10))}else{if(a===this._secondsTextField){this._spinner.setMin(0);this._spinner.setMax(59);b=this._removeLeadingZero(this._secondsTextField.getText());this._spinner.setValue(parseInt(b,10))}}}this._focusedTextField=a;this._focusedTextField.addState($[29]);this._initialEditing=true}},_onSpinnerChange:function(a){if(this._focusedTextField!=null){var b=this._focusedTextField.getText();var c=this._addLeadingZero(this._spinner.getValue());this._focusedTextField.setText(c);if(b!=c){this._sendChanges()}}},_onKeyPress:function(a){var c=a.getKeyIdentifier();if(org.eclipse.swt.widgets.DateTimeTime._isNoModifierPressed(a)){switch(c){case"Left":if(this._focusedTextField===this._hoursTextField){if(this._short){this._setFocusedTextField(this._minutesTextField)}else{this._setFocusedTextField(this._secondsTextField)}}else{if(this._focusedTextField===this._minutesTextField){this._setFocusedTextField(this._hoursTextField)}else{if(this._focusedTextField===this._secondsTextField){this._setFocusedTextField(this._minutesTextField)}}}a.preventDefault();a.stopPropagation();break;case $[39]:if(this._focusedTextField===this._hoursTextField){this._setFocusedTextField(this._minutesTextField)}else{if(this._focusedTextField===this._minutesTextField){if(this._short){this._setFocusedTextField(this._hoursTextField)}else{this._setFocusedTextField(this._secondsTextField)}}else{if(this._focusedTextField===this._secondsTextField){this._setFocusedTextField(this._hoursTextField)}}}a.preventDefault();a.stopPropagation();break;case"Up":var b=this._spinner.getValue();if(b==this._spinner.getMax()){this._spinner.setValue(this._spinner.getMin())}else{this._spinner.setValue(b+1)}a.preventDefault();a.stopPropagation();break;case"Down":var b=this._spinner.getValue();if(b==this._spinner.getMin()){this._spinner.setValue(this._spinner.getMax())}else{this._spinner.setValue(b-1)}a.preventDefault();a.stopPropagation();break;case $[42]:case $[43]:case"Home":case"End":a.preventDefault();a.stopPropagation();break}}},_onKeyUp:function(a){var b=a.getKeyIdentifier();var e=this._focusedTextField.getText();e=this._removeLeadingZero(e);if(org.eclipse.swt.widgets.DateTimeTime._isNoModifierPressed(a)){switch(b){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":var d=this._focusedTextField.getUserData($[142]);var f=b;if(e.length<d&&!this._initialEditing){f=e+b}var c=parseInt(f,10);if(c>=this._spinner.getMin()&&c<=this._spinner.getMax()){this._spinner.setValue(c)}else{f=b;c=parseInt(f,10);if(c>=this._spinner.getMin()&&c<=this._spinner.getMax()){this._spinner.setValue(c)}}this._initialEditing=false;a.preventDefault();a.stopPropagation();break;case"Home":var f=this._spinner.getMin();this._spinner.setValue(f);this._initialEditing=true;a.preventDefault();a.stopPropagation();break;case"End":var f=this._spinner.getMax();this._spinner.setValue(f);this._initialEditing=true;a.preventDefault();a.stopPropagation();break}}},_onMouseWheel:function(a){if(this.getFocused()){a.preventDefault();a.stopPropagation();this._spinner._onmousewheel(a)}},_addLeadingZero:function(a){return a<10?"0"+a:""+a},_removeLeadingZero:function(c){var a=c;if(c.length==2){var b=c.substring(0,1);if(b=="0"){a=c.substring(1)}}return a},_sendChanges:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){var c=org.eclipse.swt.WidgetManager.getInstance();var a=org.eclipse.swt.Request.getInstance();var b=c.findIdByWidget(this);a.addParameter(b+".hours",this._removeLeadingZero(this._hoursTextField.getText()));a.addParameter(b+".minutes",this._removeLeadingZero(this._minutesTextField.getText()));a.addParameter(b+".seconds",this._removeLeadingZero(this._secondsTextField.getText()));if(this._hasSelectionListener){this._requestTimer.restart()}}},_onInterval:function(){this._requestTimer.stop();var c=org.eclipse.swt.WidgetManager.getInstance();var b=c.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent($[69],b);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();a.send()},setHours:function(a){this._hoursTextField.setText(this._addLeadingZero(a));if(this._focusedTextField===this._hoursTextField){this._spinner.setValue(a)}},setMinutes:function(a){this._minutesTextField.setText(this._addLeadingZero(a));if(this._focusedTextField===this._minutesTextField){this._spinner.setValue(a)}},setSeconds:function(a){this._secondsTextField.setText(this._addLeadingZero(a));if(this._focusedTextField===this._secondsTextField){this._spinner.setValue(a)}},setHasSelectionListener:function(a){this._hasSelectionListener=a;this._requestTimer=new qx.client.Timer(110);this._requestTimer.addEventListener($[28],this._onInterval,this)},setBounds:function(e,b,f,c,a){var d;switch(e){case org.eclipse.swt.widgets.DateTimeTime.HOURS_TEXTFIELD:d=this._hoursTextField;break;case org.eclipse.swt.widgets.DateTimeTime.MINUTES_TEXTFIELD:d=this._minutesTextField;break;case org.eclipse.swt.widgets.DateTimeTime.SECONDS_TEXTFIELD:d=this._secondsTextField;break;case org.eclipse.swt.widgets.DateTimeTime.HOURS_MINUTES_SEPARATOR:d=this._separator3;break;case org.eclipse.swt.widgets.DateTimeTime.MINUTES_SECONDS_SEPARATOR:d=this._separator4;break;case org.eclipse.swt.widgets.DateTimeTime.SPINNER:d=this._spinner;break}d.set({left:b,top:f,width:c,height:a})}}});
-qx.Class.define("org.eclipse.swt.widgets.DateTimeDate",{extend:qx.ui.layout.CanvasLayout,construct:function(f,e,b,d,g,c){arguments.callee.base.call(this);this.setOverflow(qx.constant.Style.OVERFLOW_HIDDEN);this.setAppearance("datetime-date");this._short=qx.lang.String.contains(f,"short");this._medium=qx.lang.String.contains(f,"medium");this._long=qx.lang.String.contains(f,"long");this._drop_down=qx.lang.String.contains(f,"drop_down");this._hasSelectionListener=false;this._requestTimer=null;this._readyToSendChanges=true;this._weekday=b;this._monthname=e;this._datePattern=c;this.addEventListener($[102],this._rwt_onChangeFont,this);this.addEventListener($[4],this._onKeyPress,this);this.addEventListener($[40],this._onKeyUp,this);this.addEventListener($[47],this._onMouseWheel,this);this.addEventListener($[49],this._onContextMenu,this);this.addEventListener($[64],this._onFocusIn,this);this.addEventListener("blur",this._onFocusOut,this);this._focusedTextField=null;this._weekdayTextField=new qx.ui.basic.Label();this._weekdayTextField.setAppearance($[159]);if(this._long){this.add(this._weekdayTextField)}this._separator0=new qx.ui.basic.Label(",");this._separator0.setAppearance($[204]);if(this._long){this.add(this._separator0)}this._monthTextField=new qx.ui.basic.Label();this._monthTextField.setAppearance($[159]);this._monthTextField.set({textAlign:this._medium?$[15]:$[30]});this._monthInt=1;if(this._medium){this._monthTextField.setText("1")}else{this._monthTextField.setText(this._monthname[this._monthInt-1])}this._monthTextField.addEventListener($[1],this._onTextFieldMouseDown,this);this.add(this._monthTextField);this._separator1=new qx.ui.basic.Label(g);this._separator1.setAppearance($[204]);if(this._medium){this.add(this._separator1)}this._dayTextField=new qx.ui.basic.Label("1");this._dayTextField.setAppearance($[159]);this._dayTextField.setUserData($[142],2);this._dayTextField.set({textAlign:$[15]});this._dayTextField.addEventListener($[1],this._onTextFieldMouseDown,this);if(!this._short){this.add(this._dayTextField)}this._separator2=new qx.ui.basic.Label(",");this._separator2.setAppearance($[204]);if(this._medium){this._separator2.setText(g)}this.add(this._separator2);this._yearTextField=new qx.ui.basic.Label("1970");this._yearTextField.setAppearance($[159]);this._yearTextField.setUserData($[142],4);this._yearTextField.set({textAlign:$[15]});this._lastValidYear=1970;this._yearTextField.addEventListener($[1],this._onTextFieldMouseDown,this);this.add(this._yearTextField);this._spinner=new qx.ui.form.Spinner();this._spinner.set({wrap:true,border:null,backgroundColor:null});this._spinner.setMin(1);this._spinner.setMax(12);this._spinner.setValue(this._monthInt);this._spinner.addEventListener($[67],this._onSpinnerChange,this);this._spinner._textfield.setTabIndex(null);this._spinner._textfield.setFocused=function(){};this._spinner._textfield.setVisibility(false);this._spinner._upbutton.setAppearance($[406]);this._spinner._downbutton.setAppearance($[447]);this._spinner.removeEventListener($[4],this._spinner._onkeypress,this._spinner);this._spinner.removeEventListener($[10],this._spinner._onkeydown,this._spinner);this._spinner.removeEventListener($[40],this._spinner._onkeyup,this._spinner);this._spinner.removeEventListener($[47],this._spinner._onmousewheel,this._spinner);this._spinner.setVisibility(!this._drop_down);this.add(this._spinner);this._dropped=false;this._dropDownButton=null;this._calendar=null;if(this._drop_down){var a=qx.ui.core.ClientDocument.getInstance();a.addEventListener($[224],this._onWindowBlur,this);this.addEventListener($[44],this._onAppear,this);this.addEventListener($[174],this._onChangeVisibility,this);this.addEventListener($[1],this._onMouseDown,this);this.addEventListener($[16],this._onMouseClick,this);this.addEventListener($[6],this._onMouseOver,this);this.addEventListener($[8],this._onMouseOut,this);this._dropDownButton=new qx.ui.form.Button();this._dropDownButton.setAppearance("datetime-drop-down-button");this._dropDownButton.setTabIndex(null);this._dropDownButton.setAllowStretchY(true);this.add(this._dropDownButton);org.eclipse.swt.widgets.Calendar.MONTH_NAMES=e;org.eclipse.swt.widgets.Calendar.WEEKDAY_NAMES=d;this._calendar=new org.eclipse.swt.widgets.Calendar();this._calendar.setAppearance("datetime-drop-down-calendar");this._calendar.setDate(new Date(70,0,1));this._calendar.setTabIndex(null);this._calendar.setVisibility(false);this._calendar._lastYearBt.setToolTip(null);this._calendar._lastMonthBt.setToolTip(null);this._calendar._nextMonthBt.setToolTip(null);this._calendar._nextYearBt.setToolTip(null)}this._focusedTextField=this._monthTextField;this._setWeekday()},destruct:function(){this.removeEventListener($[102],this._rwt_onChangeFont,this);this.removeEventListener($[4],this._onKeyPress,this);this.removeEventListener($[40],this._onKeyUp,this);this.removeEventListener($[47],this._onMouseWheel,this);this.removeEventListener($[49],this._onContextMenu,this);this.removeEventListener($[64],this._onFocusIn,this);this.removeEventListener("blur",this._onFocusOut,this);this._monthTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._dayTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._yearTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._spinner.removeEventListener($[67],this._onSpinnerChange,this);this._disposeObjects("_weekdayTextField","_monthTextField","_dayTextField","_yearTextField",$[388],"_spinner","_separator0","_separator1","_separator2");if(this._drop_down){var a=qx.ui.core.ClientDocument.getInstance();a.removeEventListener($[224],this._onWindowBlur,this);this.removeEventListener($[44],this._onAppear,this);this.removeEventListener($[174],this._onChangeVisibility,this);this.removeEventListener($[1],this._onMouseDown,this);this.removeEventListener($[16],this._onMouseClick,this);this.removeEventListener($[6],this._onMouseOver,this);this.removeEventListener($[8],this._onMouseOut,this);this._dropDownButton.dispose();this._dropDownButton=null;if(!qx.core.Object.inGlobalDispose()){this._calendar.setParent(null)}this._calendar.dispose();this._calendar=null}},statics:{WEEKDAY_TEXTFIELD:0,DATE_TEXTFIELD:1,MONTH_TEXTFIELD:2,YEAR_TEXTFIELD:3,WEEKDAY_MONTH_SEPARATOR:4,MONTH_DATE_SEPARATOR:5,DATE_YEAR_SEPARATOR:6,SPINNER:7,DROP_DOWN_BUTTON:13,_isNoModifierPressed:function(a){return !a.isCtrlPressed()&&!a.isShiftPressed()&&!a.isAltPressed()&&!a.isMetaPressed()}},members:{addState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._weekdayTextField.addState(a);this._monthTextField.addState(a);this._dayTextField.addState(a);this._yearTextField.addState(a);this._spinner.addState(a);this._separator0.addState(a);this._separator1.addState(a);this._separator2.addState(a);if(this._drop_down){this._dropDownButton.addState(a);this._calendar.addState(a)}}},removeState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._weekdayTextField.removeState(a);this._monthTextField.removeState(a);this._dayTextField.removeState(a);this._yearTextField.removeState(a);this._spinner.removeState(a);this._separator0.removeState(a);this._separator1.removeState(a);this._separator2.removeState(a);if(this._drop_down){this._dropDownButton.removeState(a);this._calendar.removeState(a)}}},_rwt_onChangeFont:function(a){var b=a.getValue();this._weekdayTextField.setFont(b);this._dayTextField.setFont(b);this._monthTextField.setFont(b);this._yearTextField.setFont(b)},_onContextMenu:function(a){var b=this.getContextMenu();if(b!=null&&!this._dropped){b.setLocation(a.getPageX(),a.getPageY());b.setOpener(this);b.show();a.stopPropagation()}},_onFocusIn:function(a){this._focusedTextField.addState($[29]);this._initialEditing=true},_onFocusOut:function(a){if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}this._focusedTextField.removeState($[29])},_onTextFieldMouseDown:function(a){if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}this._setFocusedTextField(a.getTarget())},_setFocusedTextField:function(a){if(this._focusedTextField!==a){this._focusedTextField.removeState($[29]);this._focusedTextField=null;if(a===this._dayTextField){this._spinner.setMin(1);this._spinner.setMax(this._getDaysInMonth());var b=this._removeLeadingZero(this._dayTextField.getText());this._spinner.setValue(parseInt(b),10)}else{if(a===this._monthTextField){this._spinner.setMin(1);this._spinner.setMax(12);this._spinner.setValue(this._monthInt)}else{if(a===this._yearTextField){this._spinner.setMax(9999);this._spinner.setMin(1752);this._spinner.setValue(this._lastValidYear)}}}this._focusedTextField=a;this._focusedTextField.addState($[29]);this._initialEditing=true}},_onSpinnerChange:function(a){if(this._focusedTextField!=null){var b=this._focusedTextField.getText();if(this._focusedTextField===this._monthTextField){this._monthInt=this._spinner.getValue();if(this._medium){this._focusedTextField.setText(this._addLeadingZero(this._monthInt))}else{this._focusedTextField.setText(this._monthname[this._monthInt-1])}}else{if(this._focusedTextField===this._yearTextField){this._lastValidYear=this._spinner.getValue();this._focusedTextField.setText(""+this._spinner.getValue())}else{this._focusedTextField.setText(this._addLeadingZero(this._spinner.getValue()))}}if(this._focusedTextField==this._monthTextField||this._focusedTextField==this._yearTextField){var c=this._dayTextField.getText();if(c>this._getDaysInMonth()){this._dayTextField.setText(""+this._getDaysInMonth())}}this._setWeekday();var d=this._focusedTextField.getText();if(b!=d){this._sendChanges()}}},_onKeyPress:function(a){var d=a.getKeyIdentifier();if(this._dropped){this._calendar._onkeypress(a);if(org.eclipse.swt.widgets.DateTimeDate._isNoModifierPressed(a)){switch(d){case $[54]:case $[103]:case $[83]:case"Tab":this._toggleCalendarVisibility();break;case"Left":case $[39]:case"Up":case"Down":case $[42]:case $[43]:var b=this._calendar.getDate();this._setDate(b);this._sendChanges();a.preventDefault();a.stopPropagation();break}}else{if(a.isShiftPressed()){switch(d){case"Tab":this._toggleCalendarVisibility();break;case $[42]:case $[43]:var b=this._calendar.getDate();this._setDate(b);this._sendChanges();a.preventDefault();a.stopPropagation();break}}}}else{if(org.eclipse.swt.widgets.DateTimeDate._isNoModifierPressed(a)){switch(d){case"Left":if(this._datePattern=="MDY"){this._rollLeft(this._monthTextField,this._dayTextField,this._yearTextField)}else{if(this._datePattern=="DMY"){this._rollLeft(this._dayTextField,this._monthTextField,this._yearTextField)}else{if(this._medium){this._rollLeft(this._yearTextField,this._monthTextField,this._dayTextField)}else{this._rollLeft(this._monthTextField,this._dayTextField,this._yearTextField)}}}a.preventDefault();a.stopPropagation();break;case $[39]:if(this._datePattern=="MDY"){this._rollRight(this._monthTextField,this._dayTextField,this._yearTextField)}else{if(this._datePattern=="DMY"){this._rollRight(this._dayTextField,this._monthTextField,this._yearTextField)}else{if(this._medium){this._rollRight(this._yearTextField,this._monthTextField,this._dayTextField)}else{this._rollRight(this._monthTextField,this._dayTextField,this._yearTextField)}}}a.preventDefault();a.stopPropagation();break;case"Up":if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}var c=this._spinner.getValue();if(c==this._spinner.getMax()){this._spinner.setValue(this._spinner.getMin())}else{this._spinner.setValue(c+1)}a.preventDefault();a.stopPropagation();break;case"Down":if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}var c=this._spinner.getValue();if(c==this._spinner.getMin()){this._spinner.setValue(this._spinner.getMax())}else{this._spinner.setValue(c-1)}a.preventDefault();a.stopPropagation();break;case $[42]:case $[43]:case"Home":case"End":a.preventDefault();a.stopPropagation();break}}}},_rollRight:function(c,b,a){if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}if(this._focusedTextField===c){if(b.isSeeable()){this._setFocusedTextField(b)}else{this._setFocusedTextField(a)}}else{if(this._focusedTextField===b){if(a.isSeeable()){this._setFocusedTextField(a)}else{this._setFocusedTextField(c)}}else{if(this._focusedTextField===a){if(c.isSeeable()){this._setFocusedTextField(c)}else{this._setFocusedTextField(b)}}}}},_rollLeft:function(c,b,a){if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}if(this._focusedTextField===c){if(a.isSeeable()){this._setFocusedTextField(a)}else{this._setFocusedTextField(b)}}else{if(this._focusedTextField===b){if(c.isSeeable()){this._setFocusedTextField(c)}else{this._setFocusedTextField(a)}}else{if(this._focusedTextField===a){if(b.isSeeable()){this._setFocusedTextField(b)}else{this._setFocusedTextField(c)}}}}},_onKeyUp:function(a){if(!this._dropped){var b=a.getKeyIdentifier();var e=this._focusedTextField.getText();e=this._removeLeadingZero(e);if(org.eclipse.swt.widgets.DateTimeDate._isNoModifierPressed(a)){switch(b){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":var d=this._focusedTextField.getUserData($[142]);if(this._focusedTextField===this._monthTextField){e=""+this._monthInt;d=2}var f=b;if(e.length<d&&!this._initialEditing){f=e+b}var c=parseInt(f,10);if(this._focusedTextField===this._dayTextField||this._focusedTextField===this._monthTextField){if(c>=this._spinner.getMin()&&c<=this._spinner.getMax()){this._spinner.setValue(c)}else{f=b;c=parseInt(f,10);if(c>=this._spinner.getMin()&&c<=this._spinner.getMax()){this._spinner.setValue(c)}}}else{if(this._focusedTextField==this._yearTextField){this._focusedTextField.setText(f);if(f.length==4){this._checkAndApplyYearValue()}}}this._initialEditing=false;a.preventDefault();a.stopPropagation();break;case"Home":var f=this._spinner.getMin();this._spinner.setValue(f);this._initialEditing=true;a.preventDefault();a.stopPropagation();break;case"End":var f=this._spinner.getMax();this._spinner.setValue(f);this._initialEditing=true;a.preventDefault();a.stopPropagation();break}}}},_onMouseWheel:function(a){if(this.getFocused()){a.preventDefault();a.stopPropagation();if(!this._dropped){this._spinner._onmousewheel(a)}}},_getDaysInMonth:function(){var a=31;var c=this._monthInt-1;var d=parseInt(this._yearTextField.getText(),10);var b=new Date(d,c,1);b.setDate(a);while(b.getMonth()!==c){a--;b=new Date(d,c,1);b.setDate(a)}return a},_setWeekday:function(){var a=new Date();a.setDate(parseInt(this._dayTextField.getText(),10));a.setMonth(this._monthInt-1);a.setFullYear(parseInt(this._yearTextField.getText(),10));this._weekdayTextField.setText(this._weekday[a.getDay()+1])},_checkAndApplyYearValue:function(){var a=this._lastValidYear;var b=parseInt(this._yearTextField.getText(),10);if(b>=0&&b<=29){this._lastValidYear=2000+b}else{if(b>=30&&b<=99){this._lastValidYear=1900+b}else{if(b>=1752){this._lastValidYear=b}}}this._yearTextField.setText(""+a);if(a!=this._lastValidYear){this._spinner.setValue(this._lastValidYear)}},_addLeadingZero:function(a){return a<10?"0"+a:""+a},_removeLeadingZero:function(c){var a=c;if(c.length==2){var b=c.substring(0,1);if(b=="0"){a=c.substring(1)}}return a},_sendChanges:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){var c=org.eclipse.swt.WidgetManager.getInstance();var a=org.eclipse.swt.Request.getInstance();var b=c.findIdByWidget(this);a.addParameter(b+".day",this._removeLeadingZero(this._dayTextField.getText()));a.addParameter(b+".month",this._monthInt-1);a.addParameter(b+".year",this._lastValidYear);if(this._hasSelectionListener){this._requestTimer.restart()}}},_onInterval:function(){this._requestTimer.stop();var c=org.eclipse.swt.WidgetManager.getInstance();var b=c.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent($[69],b);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();a.send()},setMonth:function(a){this._monthInt=a+1;if(this._medium){this._monthTextField.setText(this._addLeadingZero(this._monthInt))}else{this._monthTextField.setText(this._monthname[this._monthInt-1])}if(this._focusedTextField===this._monthTextField){this._spinner.setValue(this._monthInt)}this._setWeekday()},setDay:function(a){this._dayTextField.setText(this._addLeadingZero(a));if(this._focusedTextField===this._dayTextField){this._spinner.setValue(a)}this._setWeekday()},setYear:function(a){this._lastValidYear=a;this._yearTextField.setText(""+a);if(this._focusedTextField===this._yearTextField){this._spinner.setValue(a)}this._setWeekday()},_setDate:function(a){this.setYear(a.getFullYear());this.setMonth(a.getMonth());this.setDay(a.getDate())},setHasSelectionListener:function(a){this._hasSelectionListener=a;this._requestTimer=new qx.client.Timer(110);this._requestTimer.addEventListener($[28],this._onInterval,this)},setBounds:function(e,b,f,c,a){var d=null;switch(e){case org.eclipse.swt.widgets.DateTimeDate.WEEKDAY_TEXTFIELD:d=this._weekdayTextField;break;case org.eclipse.swt.widgets.DateTimeDate.DATE_TEXTFIELD:d=this._dayTextField;break;case org.eclipse.swt.widgets.DateTimeDate.MONTH_TEXTFIELD:d=this._monthTextField;break;case org.eclipse.swt.widgets.DateTimeDate.YEAR_TEXTFIELD:d=this._yearTextField;break;case org.eclipse.swt.widgets.DateTimeDate.WEEKDAY_MONTH_SEPARATOR:d=this._separator0;break;case org.eclipse.swt.widgets.DateTimeDate.MONTH_DATE_SEPARATOR:d=this._separator1;break;case org.eclipse.swt.widgets.DateTimeDate.DATE_YEAR_SEPARATOR:d=this._separator2;break;case org.eclipse.swt.widgets.DateTimeDate.SPINNER:d=this._spinner;break;case org.eclipse.swt.widgets.DateTimeDate.DROP_DOWN_BUTTON:d=this._dropDownButton;break}if(d!=null){d.set({left:b,top:f,width:c,height:a})}},_onAppear:function(a){if(this._calendar!=null){this.getTopLevelWidget().add(this._calendar);this._setCalendarLocation()}},_onWindowBlur:function(a){if(this._dropped){this._toggleCalendarVisibility()}},_onChangeVisibility:function(a){var b=a.getValue();if(!b&&this._dropped){this._toggleCalendarVisibility()}},_onMouseDown:function(a){var b=a.getTarget();if(b.getUserData($[163])){a.stopPropagation()}else{if(b.getUserData($[177])){a.stopPropagation()}else{if(this._dropped&&b!==this._dropDownButton){this._toggleCalendarVisibility()}}}},_onMouseClick:function(a){if(a.isLeftButtonPressed()){var c=a.getTarget();if(c.getUserData($[163])){this._calendar._onDayClicked(a);var b=this._calendar.getDate();this._setDate(b);this._toggleCalendarVisibility();this.setFocused(true);this._sendChanges()}else{if(c.getUserData($[177])){this._calendar._onNavButtonClicked(a)}else{if(c===this._dropDownButton){this._toggleCalendarVisibility()}}}}},_onMouseOver:function(a){var b=a.getTarget();if(b==this._dropDownButton){this._dropDownButton.addState("over")}else{if(b.getUserData($[163])){this._calendar._onDayMouseOver(a)}}},_onMouseOut:function(a){var b=a.getTarget();if(b==this._dropDownButton){this._dropDownButton.removeState("over")}else{if(b.getUserData($[163])){this._calendar._onDayMouseOut(a)}}},_toggleCalendarVisibility:function(){if(this._calendar!=null){this._dropped=!this._dropped;this._calendar.setVisibility(this._dropped);this.setCapture(this._dropped);if(this._dropped){this._bringToFront();this._setCalendarLocation();var c=parseInt(this._yearTextField.getText(),10);var a=parseInt(this._dayTextField.getText(),10);var b=new Date(c,this._monthInt-1,a);this._calendar.setDate(b);this._focusedTextField.removeState($[29])}else{if(this.getFocused()){this._focusedTextField.addState($[29])}}}},_setCalendarLocation:function(){if(this.getElement()&&this._calendar!=null){var b=qx.bom.element.Location.get(this.getElement());var c=qx.html.Window.getInnerHeight(window);var d=b.top+this.getHeight();var a=this._calendar.getHeightValue();if(d+a>c){d=b.top-a}this._calendar.setLocation(b.left,d)}},_bringToFront:function(){var a=this.getTopLevelWidget().getChildren();var b=this._calendar.getZIndex();for(var d in a){var c=a[d];if(c.getZIndex){if(b<c.getZIndex()){b=c.getZIndex()}}}if(b>this._calendar.getZIndex()){this._calendar.setZIndex(b+1)}}}});
+qx.Class.define("org.eclipse.swt.widgets.DateTimeTime",{extend:qx.ui.layout.CanvasLayout,construct:function(a){arguments.callee.base.call(this);this.setOverflow(qx.constant.Style.OVERFLOW_HIDDEN);this.setAppearance("datetime-time");this._short=qx.lang.String.contains(a,"short");this._medium=qx.lang.String.contains(a,"medium");this._long=qx.lang.String.contains(a,"long");this._hasSelectionListener=false;this._requestTimer=null;this.addEventListener($[102],this._rwt_onChangeFont,this);this.addEventListener($[4],this._onKeyPress,this);this.addEventListener($[40],this._onKeyUp,this);this.addEventListener($[47],this._onMouseWheel,this);this.addEventListener($[49],this._onContextMenu,this);this.addEventListener($[64],this._onFocusIn,this);this.addEventListener("blur",this._onFocusOut,this);this._focusedTextField=null;this._hoursTextField=new qx.ui.basic.Label("00");this._hoursTextField.setAppearance($[159]);this._hoursTextField.setUserData($[142],2);this._hoursTextField.addEventListener($[1],this._onTextFieldMouseDown,this);this.add(this._hoursTextField);this._separator3=new qx.ui.basic.Label(":");this._separator3.setAppearance($[204]);this._separator3.addEventListener($[49],this._onContextMenu,this);this.add(this._separator3);this._minutesTextField=new qx.ui.basic.Label("00");this._minutesTextField.setAppearance($[159]);this._minutesTextField.setUserData($[142],2);this._minutesTextField.addEventListener($[1],this._onTextFieldMouseDown,this);this.add(this._minutesTextField);this._separator4=new qx.ui.basic.Label(":");this._separator4.setAppearance($[204]);if(this._medium||this._long){this.add(this._separator4)}this._secondsTextField=new qx.ui.basic.Label("00");this._secondsTextField.setAppearance($[159]);this._secondsTextField.setUserData($[142],2);this._secondsTextField.addEventListener($[1],this._onTextFieldMouseDown,this);if(this._medium||this._long){this.add(this._secondsTextField)}this._spinner=new qx.ui.form.Spinner();this._spinner.set({wrap:true,border:null,backgroundColor:null});this._spinner.setMin(0);this._spinner.setMax(23);this._spinner.setValue(0);this._spinner.addEventListener($[67],this._onSpinnerChange,this);this._spinner._textfield.setTabIndex(null);this._spinner._textfield.setFocused=function(){};this._spinner._textfield.setVisibility(false);this._spinner._upbutton.setAppearance($[406]);this._spinner._downbutton.setAppearance($[447]);this._spinner.removeEventListener($[4],this._spinner._onkeypress,this._spinner);this._spinner.removeEventListener($[10],this._spinner._onkeydown,this._spinner);this._spinner.removeEventListener($[40],this._spinner._onkeyup,this._spinner);this._spinner.removeEventListener($[47],this._spinner._onmousewheel,this._spinner);this.add(this._spinner);this._focusedTextField=this._hoursTextField},destruct:function(){this.removeEventListener($[102],this._rwt_onChangeFont,this);this.removeEventListener($[4],this._onKeyPress,this);this.removeEventListener($[40],this._onKeyUp,this);this.removeEventListener($[47],this._onMouseWheel,this);this.removeEventListener($[49],this._onContextMenu,this);this.removeEventListener($[64],this._onFocusIn,this);this.removeEventListener("blur",this._onFocusOut,this);this._hoursTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._minutesTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._secondsTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._spinner.removeEventListener($[67],this._onSpinnerChange,this);this._disposeObjects("_hoursTextField","_minutesTextField","_secondsTextField",$[388],"_spinner","_separator3","_separator4")},statics:{HOURS_TEXTFIELD:8,MINUTES_TEXTFIELD:9,SECONDS_TEXTFIELD:10,HOURS_MINUTES_SEPARATOR:11,MINUTES_SECONDS_SEPARATOR:12,SPINNER:7,_isNoModifierPressed:function(a){return !a.isCtrlPressed()&&!a.isShiftPressed()&&!a.isAltPressed()&&!a.isMetaPressed()}},members:{addState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._hoursTextField.addState(a);this._minutesTextField.addState(a);this._secondsTextField.addState(a);this._spinner.addState(a);this._separator3.addState(a);this._separator4.addState(a)}},removeState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._hoursTextField.removeState(a);this._minutesTextField.removeState(a);this._secondsTextField.removeState(a);this._spinner.removeState(a);this._separator3.removeState(a);this._separator4.removeState(a)}},_rwt_onChangeFont:function(a){var b=a.getValue();this._hoursTextField.setFont(b);this._minutesTextField.setFont(b);this._secondsTextField.setFont(b)},_onContextMenu:function(a){var b=this.getContextMenu();if(b!=null){b.setLocation(a.getPageX(),a.getPageY());b.setOpener(this);b.show();a.stopPropagation()}},_onFocusIn:function(a){this._focusedTextField.addState($[29]);this._initialEditing=true},_onFocusOut:function(a){this._focusedTextField.removeState($[29])},_onTextFieldMouseDown:function(a){this._setFocusedTextField(a.getTarget())},_setFocusedTextField:function(a){if(this._focusedTextField!==a){var b;this._focusedTextField.removeState($[29]);this._focusedTextField=null;if(a===this._hoursTextField){this._spinner.setMin(0);this._spinner.setMax(23);b=this._removeLeadingZero(this._hoursTextField.getText());this._spinner.setValue(parseInt(b,10))}else{if(a===this._minutesTextField){this._spinner.setMin(0);this._spinner.setMax(59);b=this._removeLeadingZero(this._minutesTextField.getText());this._spinner.setValue(parseInt(b,10))}else{if(a===this._secondsTextField){this._spinner.setMin(0);this._spinner.setMax(59);b=this._removeLeadingZero(this._secondsTextField.getText());this._spinner.setValue(parseInt(b,10))}}}this._focusedTextField=a;this._focusedTextField.addState($[29]);this._initialEditing=true}},_onSpinnerChange:function(a){if(this._focusedTextField!=null){var b=this._focusedTextField.getText();var c=this._addLeadingZero(this._spinner.getValue());this._focusedTextField.setText(c);if(b!=c){this._sendChanges()}}},_onKeyPress:function(a){var c=a.getKeyIdentifier();if(org.eclipse.swt.widgets.DateTimeTime._isNoModifierPressed(a)){switch(c){case"Left":if(this._focusedTextField===this._hoursTextField){if(this._short){this._setFocusedTextField(this._minutesTextField)}else{this._setFocusedTextField(this._secondsTextField)}}else{if(this._focusedTextField===this._minutesTextField){this._setFocusedTextField(this._hoursTextField)}else{if(this._focusedTextField===this._secondsTextField){this._setFocusedTextField(this._minutesTextField)}}}a.preventDefault();a.stopPropagation();break;case $[39]:if(this._focusedTextField===this._hoursTextField){this._setFocusedTextField(this._minutesTextField)}else{if(this._focusedTextField===this._minutesTextField){if(this._short){this._setFocusedTextField(this._hoursTextField)}else{this._setFocusedTextField(this._secondsTextField)}}else{if(this._focusedTextField===this._secondsTextField){this._setFocusedTextField(this._hoursTextField)}}}a.preventDefault();a.stopPropagation();break;case"Up":var b=this._spinner.getValue();if(b==this._spinner.getMax()){this._spinner.setValue(this._spinner.getMin())}else{this._spinner.setValue(b+1)}a.preventDefault();a.stopPropagation();break;case"Down":var b=this._spinner.getValue();if(b==this._spinner.getMin()){this._spinner.setValue(this._spinner.getMax())}else{this._spinner.setValue(b-1)}a.preventDefault();a.stopPropagation();break;case $[42]:case $[43]:case"Home":case"End":a.preventDefault();a.stopPropagation();break}}},_onKeyUp:function(a){var b=a.getKeyIdentifier();var e=this._focusedTextField.getText();e=this._removeLeadingZero(e);if(org.eclipse.swt.widgets.DateTimeTime._isNoModifierPressed(a)){switch(b){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":var d=this._focusedTextField.getUserData($[142]);var f=b;if(e.length<d&&!this._initialEditing){f=e+b}var c=parseInt(f,10);if(c>=this._spinner.getMin()&&c<=this._spinner.getMax()){this._spinner.setValue(c)}else{f=b;c=parseInt(f,10);if(c>=this._spinner.getMin()&&c<=this._spinner.getMax()){this._spinner.setValue(c)}}this._initialEditing=false;a.preventDefault();a.stopPropagation();break;case"Home":var f=this._spinner.getMin();this._spinner.setValue(f);this._initialEditing=true;a.preventDefault();a.stopPropagation();break;case"End":var f=this._spinner.getMax();this._spinner.setValue(f);this._initialEditing=true;a.preventDefault();a.stopPropagation();break}}},_onMouseWheel:function(a){if(this.getFocused()){a.preventDefault();a.stopPropagation();this._spinner._onmousewheel(a)}},_addLeadingZero:function(a){return a<10?"0"+a:""+a},_removeLeadingZero:function(c){var a=c;if(c.length==2){var b=c.substring(0,1);if(b=="0"){a=c.substring(1)}}return a},_sendChanges:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){var c=org.eclipse.swt.WidgetManager.getInstance();var a=org.eclipse.swt.Request.getInstance();var b=c.findIdByWidget(this);a.addParameter(b+".hours",this._removeLeadingZero(this._hoursTextField.getText()));a.addParameter(b+".minutes",this._removeLeadingZero(this._minutesTextField.getText()));a.addParameter(b+".seconds",this._removeLeadingZero(this._secondsTextField.getText()));if(this._hasSelectionListener){this._requestTimer.restart()}}},_onInterval:function(){this._requestTimer.stop();var c=org.eclipse.swt.WidgetManager.getInstance();var b=c.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent($[69],b);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();a.send()},setHours:function(a){this._hoursTextField.setText(this._addLeadingZero(a));if(this._focusedTextField===this._hoursTextField){this._spinner.setValue(a)}},setMinutes:function(a){this._minutesTextField.setText(this._addLeadingZero(a));if(this._focusedTextField===this._minutesTextField){this._spinner.setValue(a)}},setSeconds:function(a){this._secondsTextField.setText(this._addLeadingZero(a));if(this._focusedTextField===this._secondsTextField){this._spinner.setValue(a)}},setHasSelectionListener:function(a){this._hasSelectionListener=a;this._requestTimer=new qx.client.Timer(110);this._requestTimer.addEventListener($[26],this._onInterval,this)},setBounds:function(e,b,f,c,a){var d;switch(e){case org.eclipse.swt.widgets.DateTimeTime.HOURS_TEXTFIELD:d=this._hoursTextField;break;case org.eclipse.swt.widgets.DateTimeTime.MINUTES_TEXTFIELD:d=this._minutesTextField;break;case org.eclipse.swt.widgets.DateTimeTime.SECONDS_TEXTFIELD:d=this._secondsTextField;break;case org.eclipse.swt.widgets.DateTimeTime.HOURS_MINUTES_SEPARATOR:d=this._separator3;break;case org.eclipse.swt.widgets.DateTimeTime.MINUTES_SECONDS_SEPARATOR:d=this._separator4;break;case org.eclipse.swt.widgets.DateTimeTime.SPINNER:d=this._spinner;break}d.set({left:b,top:f,width:c,height:a})}}});
+qx.Class.define("org.eclipse.swt.widgets.DateTimeDate",{extend:qx.ui.layout.CanvasLayout,construct:function(f,e,b,d,g,c){arguments.callee.base.call(this);this.setOverflow(qx.constant.Style.OVERFLOW_HIDDEN);this.setAppearance("datetime-date");this._short=qx.lang.String.contains(f,"short");this._medium=qx.lang.String.contains(f,"medium");this._long=qx.lang.String.contains(f,"long");this._drop_down=qx.lang.String.contains(f,"drop_down");this._hasSelectionListener=false;this._requestTimer=null;this._readyToSendChanges=true;this._weekday=b;this._monthname=e;this._datePattern=c;this.addEventListener($[102],this._rwt_onChangeFont,this);this.addEventListener($[4],this._onKeyPress,this);this.addEventListener($[40],this._onKeyUp,this);this.addEventListener($[47],this._onMouseWheel,this);this.addEventListener($[49],this._onContextMenu,this);this.addEventListener($[64],this._onFocusIn,this);this.addEventListener("blur",this._onFocusOut,this);this._focusedTextField=null;this._weekdayTextField=new qx.ui.basic.Label();this._weekdayTextField.setAppearance($[159]);if(this._long){this.add(this._weekdayTextField)}this._separator0=new qx.ui.basic.Label(",");this._separator0.setAppearance($[204]);if(this._long){this.add(this._separator0)}this._monthTextField=new qx.ui.basic.Label();this._monthTextField.setAppearance($[159]);this._monthTextField.set({textAlign:this._medium?$[15]:$[30]});this._monthInt=1;if(this._medium){this._monthTextField.setText("1")}else{this._monthTextField.setText(this._monthname[this._monthInt-1])}this._monthTextField.addEventListener($[1],this._onTextFieldMouseDown,this);this.add(this._monthTextField);this._separator1=new qx.ui.basic.Label(g);this._separator1.setAppearance($[204]);if(this._medium){this.add(this._separator1)}this._dayTextField=new qx.ui.basic.Label("1");this._dayTextField.setAppearance($[159]);this._dayTextField.setUserData($[142],2);this._dayTextField.set({textAlign:$[15]});this._dayTextField.addEventListener($[1],this._onTextFieldMouseDown,this);if(!this._short){this.add(this._dayTextField)}this._separator2=new qx.ui.basic.Label(",");this._separator2.setAppearance($[204]);if(this._medium){this._separator2.setText(g)}this.add(this._separator2);this._yearTextField=new qx.ui.basic.Label("1970");this._yearTextField.setAppearance($[159]);this._yearTextField.setUserData($[142],4);this._yearTextField.set({textAlign:$[15]});this._lastValidYear=1970;this._yearTextField.addEventListener($[1],this._onTextFieldMouseDown,this);this.add(this._yearTextField);this._spinner=new qx.ui.form.Spinner();this._spinner.set({wrap:true,border:null,backgroundColor:null});this._spinner.setMin(1);this._spinner.setMax(12);this._spinner.setValue(this._monthInt);this._spinner.addEventListener($[67],this._onSpinnerChange,this);this._spinner._textfield.setTabIndex(null);this._spinner._textfield.setFocused=function(){};this._spinner._textfield.setVisibility(false);this._spinner._upbutton.setAppearance($[406]);this._spinner._downbutton.setAppearance($[447]);this._spinner.removeEventListener($[4],this._spinner._onkeypress,this._spinner);this._spinner.removeEventListener($[10],this._spinner._onkeydown,this._spinner);this._spinner.removeEventListener($[40],this._spinner._onkeyup,this._spinner);this._spinner.removeEventListener($[47],this._spinner._onmousewheel,this._spinner);this._spinner.setVisibility(!this._drop_down);this.add(this._spinner);this._dropped=false;this._dropDownButton=null;this._calendar=null;if(this._drop_down){var a=qx.ui.core.ClientDocument.getInstance();a.addEventListener($[224],this._onWindowBlur,this);this.addEventListener($[44],this._onAppear,this);this.addEventListener($[174],this._onChangeVisibility,this);this.addEventListener($[1],this._onMouseDown,this);this.addEventListener($[16],this._onMouseClick,this);this.addEventListener($[6],this._onMouseOver,this);this.addEventListener($[8],this._onMouseOut,this);this._dropDownButton=new qx.ui.form.Button();this._dropDownButton.setAppearance("datetime-drop-down-button");this._dropDownButton.setTabIndex(null);this._dropDownButton.setAllowStretchY(true);this.add(this._dropDownButton);org.eclipse.swt.widgets.Calendar.MONTH_NAMES=e;org.eclipse.swt.widgets.Calendar.WEEKDAY_NAMES=d;this._calendar=new org.eclipse.swt.widgets.Calendar();this._calendar.setAppearance("datetime-drop-down-calendar");this._calendar.setDate(new Date(70,0,1));this._calendar.setTabIndex(null);this._calendar.setVisibility(false);this._calendar._lastYearBt.setToolTip(null);this._calendar._lastMonthBt.setToolTip(null);this._calendar._nextMonthBt.setToolTip(null);this._calendar._nextYearBt.setToolTip(null)}this._focusedTextField=this._monthTextField;this._setWeekday()},destruct:function(){this.removeEventListener($[102],this._rwt_onChangeFont,this);this.removeEventListener($[4],this._onKeyPress,this);this.removeEventListener($[40],this._onKeyUp,this);this.removeEventListener($[47],this._onMouseWheel,this);this.removeEventListener($[49],this._onContextMenu,this);this.removeEventListener($[64],this._onFocusIn,this);this.removeEventListener("blur",this._onFocusOut,this);this._monthTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._dayTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._yearTextField.removeEventListener($[1],this._onTextFieldMouseDown,this);this._spinner.removeEventListener($[67],this._onSpinnerChange,this);this._disposeObjects("_weekdayTextField","_monthTextField","_dayTextField","_yearTextField",$[388],"_spinner","_separator0","_separator1","_separator2");if(this._drop_down){var a=qx.ui.core.ClientDocument.getInstance();a.removeEventListener($[224],this._onWindowBlur,this);this.removeEventListener($[44],this._onAppear,this);this.removeEventListener($[174],this._onChangeVisibility,this);this.removeEventListener($[1],this._onMouseDown,this);this.removeEventListener($[16],this._onMouseClick,this);this.removeEventListener($[6],this._onMouseOver,this);this.removeEventListener($[8],this._onMouseOut,this);this._dropDownButton.dispose();this._dropDownButton=null;if(!qx.core.Object.inGlobalDispose()){this._calendar.setParent(null)}this._calendar.dispose();this._calendar=null}},statics:{WEEKDAY_TEXTFIELD:0,DATE_TEXTFIELD:1,MONTH_TEXTFIELD:2,YEAR_TEXTFIELD:3,WEEKDAY_MONTH_SEPARATOR:4,MONTH_DATE_SEPARATOR:5,DATE_YEAR_SEPARATOR:6,SPINNER:7,DROP_DOWN_BUTTON:13,_isNoModifierPressed:function(a){return !a.isCtrlPressed()&&!a.isShiftPressed()&&!a.isAltPressed()&&!a.isMetaPressed()}},members:{addState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._weekdayTextField.addState(a);this._monthTextField.addState(a);this._dayTextField.addState(a);this._yearTextField.addState(a);this._spinner.addState(a);this._separator0.addState(a);this._separator1.addState(a);this._separator2.addState(a);if(this._drop_down){this._dropDownButton.addState(a);this._calendar.addState(a)}}},removeState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._weekdayTextField.removeState(a);this._monthTextField.removeState(a);this._dayTextField.removeState(a);this._yearTextField.removeState(a);this._spinner.removeState(a);this._separator0.removeState(a);this._separator1.removeState(a);this._separator2.removeState(a);if(this._drop_down){this._dropDownButton.removeState(a);this._calendar.removeState(a)}}},_rwt_onChangeFont:function(a){var b=a.getValue();this._weekdayTextField.setFont(b);this._dayTextField.setFont(b);this._monthTextField.setFont(b);this._yearTextField.setFont(b)},_onContextMenu:function(a){var b=this.getContextMenu();if(b!=null&&!this._dropped){b.setLocation(a.getPageX(),a.getPageY());b.setOpener(this);b.show();a.stopPropagation()}},_onFocusIn:function(a){this._focusedTextField.addState($[29]);this._initialEditing=true},_onFocusOut:function(a){if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}this._focusedTextField.removeState($[29])},_onTextFieldMouseDown:function(a){if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}this._setFocusedTextField(a.getTarget())},_setFocusedTextField:function(a){if(this._focusedTextField!==a){this._focusedTextField.removeState($[29]);this._focusedTextField=null;if(a===this._dayTextField){this._spinner.setMin(1);this._spinner.setMax(this._getDaysInMonth());var b=this._removeLeadingZero(this._dayTextField.getText());this._spinner.setValue(parseInt(b),10)}else{if(a===this._monthTextField){this._spinner.setMin(1);this._spinner.setMax(12);this._spinner.setValue(this._monthInt)}else{if(a===this._yearTextField){this._spinner.setMax(9999);this._spinner.setMin(1752);this._spinner.setValue(this._lastValidYear)}}}this._focusedTextField=a;this._focusedTextField.addState($[29]);this._initialEditing=true}},_onSpinnerChange:function(a){if(this._focusedTextField!=null){var b=this._focusedTextField.getText();if(this._focusedTextField===this._monthTextField){this._monthInt=this._spinner.getValue();if(this._medium){this._focusedTextField.setText(this._addLeadingZero(this._monthInt))}else{this._focusedTextField.setText(this._monthname[this._monthInt-1])}}else{if(this._focusedTextField===this._yearTextField){this._lastValidYear=this._spinner.getValue();this._focusedTextField.setText(""+this._spinner.getValue())}else{this._focusedTextField.setText(this._addLeadingZero(this._spinner.getValue()))}}if(this._focusedTextField==this._monthTextField||this._focusedTextField==this._yearTextField){var c=this._dayTextField.getText();if(c>this._getDaysInMonth()){this._dayTextField.setText(""+this._getDaysInMonth())}}this._setWeekday();var d=this._focusedTextField.getText();if(b!=d){this._sendChanges()}}},_onKeyPress:function(a){var d=a.getKeyIdentifier();if(this._dropped){this._calendar._onkeypress(a);if(org.eclipse.swt.widgets.DateTimeDate._isNoModifierPressed(a)){switch(d){case $[54]:case $[103]:case $[83]:case"Tab":this._toggleCalendarVisibility();break;case"Left":case $[39]:case"Up":case"Down":case $[42]:case $[43]:var b=this._calendar.getDate();this._setDate(b);this._sendChanges();a.preventDefault();a.stopPropagation();break}}else{if(a.isShiftPressed()){switch(d){case"Tab":this._toggleCalendarVisibility();break;case $[42]:case $[43]:var b=this._calendar.getDate();this._setDate(b);this._sendChanges();a.preventDefault();a.stopPropagation();break}}}}else{if(org.eclipse.swt.widgets.DateTimeDate._isNoModifierPressed(a)){switch(d){case"Left":if(this._datePattern=="MDY"){this._rollLeft(this._monthTextField,this._dayTextField,this._yearTextField)}else{if(this._datePattern=="DMY"){this._rollLeft(this._dayTextField,this._monthTextField,this._yearTextField)}else{if(this._medium){this._rollLeft(this._yearTextField,this._monthTextField,this._dayTextField)}else{this._rollLeft(this._monthTextField,this._dayTextField,this._yearTextField)}}}a.preventDefault();a.stopPropagation();break;case $[39]:if(this._datePattern=="MDY"){this._rollRight(this._monthTextField,this._dayTextField,this._yearTextField)}else{if(this._datePattern=="DMY"){this._rollRight(this._dayTextField,this._monthTextField,this._yearTextField)}else{if(this._medium){this._rollRight(this._yearTextField,this._monthTextField,this._dayTextField)}else{this._rollRight(this._monthTextField,this._dayTextField,this._yearTextField)}}}a.preventDefault();a.stopPropagation();break;case"Up":if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}var c=this._spinner.getValue();if(c==this._spinner.getMax()){this._spinner.setValue(this._spinner.getMin())}else{this._spinner.setValue(c+1)}a.preventDefault();a.stopPropagation();break;case"Down":if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}var c=this._spinner.getValue();if(c==this._spinner.getMin()){this._spinner.setValue(this._spinner.getMax())}else{this._spinner.setValue(c-1)}a.preventDefault();a.stopPropagation();break;case $[42]:case $[43]:case"Home":case"End":a.preventDefault();a.stopPropagation();break}}}},_rollRight:function(c,b,a){if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}if(this._focusedTextField===c){if(b.isSeeable()){this._setFocusedTextField(b)}else{this._setFocusedTextField(a)}}else{if(this._focusedTextField===b){if(a.isSeeable()){this._setFocusedTextField(a)}else{this._setFocusedTextField(c)}}else{if(this._focusedTextField===a){if(c.isSeeable()){this._setFocusedTextField(c)}else{this._setFocusedTextField(b)}}}}},_rollLeft:function(c,b,a){if(this._focusedTextField===this._yearTextField){this._checkAndApplyYearValue()}if(this._focusedTextField===c){if(a.isSeeable()){this._setFocusedTextField(a)}else{this._setFocusedTextField(b)}}else{if(this._focusedTextField===b){if(c.isSeeable()){this._setFocusedTextField(c)}else{this._setFocusedTextField(a)}}else{if(this._focusedTextField===a){if(b.isSeeable()){this._setFocusedTextField(b)}else{this._setFocusedTextField(c)}}}}},_onKeyUp:function(a){if(!this._dropped){var b=a.getKeyIdentifier();var e=this._focusedTextField.getText();e=this._removeLeadingZero(e);if(org.eclipse.swt.widgets.DateTimeDate._isNoModifierPressed(a)){switch(b){case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":var d=this._focusedTextField.getUserData($[142]);if(this._focusedTextField===this._monthTextField){e=""+this._monthInt;d=2}var f=b;if(e.length<d&&!this._initialEditing){f=e+b}var c=parseInt(f,10);if(this._focusedTextField===this._dayTextField||this._focusedTextField===this._monthTextField){if(c>=this._spinner.getMin()&&c<=this._spinner.getMax()){this._spinner.setValue(c)}else{f=b;c=parseInt(f,10);if(c>=this._spinner.getMin()&&c<=this._spinner.getMax()){this._spinner.setValue(c)}}}else{if(this._focusedTextField==this._yearTextField){this._focusedTextField.setText(f);if(f.length==4){this._checkAndApplyYearValue()}}}this._initialEditing=false;a.preventDefault();a.stopPropagation();break;case"Home":var f=this._spinner.getMin();this._spinner.setValue(f);this._initialEditing=true;a.preventDefault();a.stopPropagation();break;case"End":var f=this._spinner.getMax();this._spinner.setValue(f);this._initialEditing=true;a.preventDefault();a.stopPropagation();break}}}},_onMouseWheel:function(a){if(this.getFocused()){a.preventDefault();a.stopPropagation();if(!this._dropped){this._spinner._onmousewheel(a)}}},_getDaysInMonth:function(){var a=31;var c=this._monthInt-1;var d=parseInt(this._yearTextField.getText(),10);var b=new Date(d,c,1);b.setDate(a);while(b.getMonth()!==c){a--;b=new Date(d,c,1);b.setDate(a)}return a},_setWeekday:function(){var a=new Date();a.setDate(parseInt(this._dayTextField.getText(),10));a.setMonth(this._monthInt-1);a.setFullYear(parseInt(this._yearTextField.getText(),10));this._weekdayTextField.setText(this._weekday[a.getDay()+1])},_checkAndApplyYearValue:function(){var a=this._lastValidYear;var b=parseInt(this._yearTextField.getText(),10);if(b>=0&&b<=29){this._lastValidYear=2000+b}else{if(b>=30&&b<=99){this._lastValidYear=1900+b}else{if(b>=1752){this._lastValidYear=b}}}this._yearTextField.setText(""+a);if(a!=this._lastValidYear){this._spinner.setValue(this._lastValidYear)}},_addLeadingZero:function(a){return a<10?"0"+a:""+a},_removeLeadingZero:function(c){var a=c;if(c.length==2){var b=c.substring(0,1);if(b=="0"){a=c.substring(1)}}return a},_sendChanges:function(){if(!org.eclipse.swt.EventUtil.getSuspended()){var c=org.eclipse.swt.WidgetManager.getInstance();var a=org.eclipse.swt.Request.getInstance();var b=c.findIdByWidget(this);a.addParameter(b+".day",this._removeLeadingZero(this._dayTextField.getText()));a.addParameter(b+".month",this._monthInt-1);a.addParameter(b+".year",this._lastValidYear);if(this._hasSelectionListener){this._requestTimer.restart()}}},_onInterval:function(){this._requestTimer.stop();var c=org.eclipse.swt.WidgetManager.getInstance();var b=c.findIdByWidget(this);var a=org.eclipse.swt.Request.getInstance();a.addEvent($[69],b);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();a.send()},setMonth:function(a){this._monthInt=a+1;if(this._medium){this._monthTextField.setText(this._addLeadingZero(this._monthInt))}else{this._monthTextField.setText(this._monthname[this._monthInt-1])}if(this._focusedTextField===this._monthTextField){this._spinner.setValue(this._monthInt)}this._setWeekday()},setDay:function(a){this._dayTextField.setText(this._addLeadingZero(a));if(this._focusedTextField===this._dayTextField){this._spinner.setValue(a)}this._setWeekday()},setYear:function(a){this._lastValidYear=a;this._yearTextField.setText(""+a);if(this._focusedTextField===this._yearTextField){this._spinner.setValue(a)}this._setWeekday()},_setDate:function(a){this.setYear(a.getFullYear());this.setMonth(a.getMonth());this.setDay(a.getDate())},setHasSelectionListener:function(a){this._hasSelectionListener=a;this._requestTimer=new qx.client.Timer(110);this._requestTimer.addEventListener($[26],this._onInterval,this)},setBounds:function(e,b,f,c,a){var d=null;switch(e){case org.eclipse.swt.widgets.DateTimeDate.WEEKDAY_TEXTFIELD:d=this._weekdayTextField;break;case org.eclipse.swt.widgets.DateTimeDate.DATE_TEXTFIELD:d=this._dayTextField;break;case org.eclipse.swt.widgets.DateTimeDate.MONTH_TEXTFIELD:d=this._monthTextField;break;case org.eclipse.swt.widgets.DateTimeDate.YEAR_TEXTFIELD:d=this._yearTextField;break;case org.eclipse.swt.widgets.DateTimeDate.WEEKDAY_MONTH_SEPARATOR:d=this._separator0;break;case org.eclipse.swt.widgets.DateTimeDate.MONTH_DATE_SEPARATOR:d=this._separator1;break;case org.eclipse.swt.widgets.DateTimeDate.DATE_YEAR_SEPARATOR:d=this._separator2;break;case org.eclipse.swt.widgets.DateTimeDate.SPINNER:d=this._spinner;break;case org.eclipse.swt.widgets.DateTimeDate.DROP_DOWN_BUTTON:d=this._dropDownButton;break}if(d!=null){d.set({left:b,top:f,width:c,height:a})}},_onAppear:function(a){if(this._calendar!=null){this.getTopLevelWidget().add(this._calendar);this._setCalendarLocation()}},_onWindowBlur:function(a){if(this._dropped){this._toggleCalendarVisibility()}},_onChangeVisibility:function(a){var b=a.getValue();if(!b&&this._dropped){this._toggleCalendarVisibility()}},_onMouseDown:function(a){var b=a.getTarget();if(b.getUserData($[163])){a.stopPropagation()}else{if(b.getUserData($[177])){a.stopPropagation()}else{if(this._dropped&&b!==this._dropDownButton){this._toggleCalendarVisibility()}}}},_onMouseClick:function(a){if(a.isLeftButtonPressed()){var c=a.getTarget();if(c.getUserData($[163])){this._calendar._onDayClicked(a);var b=this._calendar.getDate();this._setDate(b);this._toggleCalendarVisibility();this.setFocused(true);this._sendChanges()}else{if(c.getUserData($[177])){this._calendar._onNavButtonClicked(a)}else{if(c===this._dropDownButton){this._toggleCalendarVisibility()}}}}},_onMouseOver:function(a){var b=a.getTarget();if(b==this._dropDownButton){this._dropDownButton.addState("over")}else{if(b.getUserData($[163])){this._calendar._onDayMouseOver(a)}}},_onMouseOut:function(a){var b=a.getTarget();if(b==this._dropDownButton){this._dropDownButton.removeState("over")}else{if(b.getUserData($[163])){this._calendar._onDayMouseOut(a)}}},_toggleCalendarVisibility:function(){if(this._calendar!=null){this._dropped=!this._dropped;this._calendar.setVisibility(this._dropped);this.setCapture(this._dropped);if(this._dropped){this._bringToFront();this._setCalendarLocation();var c=parseInt(this._yearTextField.getText(),10);var a=parseInt(this._dayTextField.getText(),10);var b=new Date(c,this._monthInt-1,a);this._calendar.setDate(b);this._focusedTextField.removeState($[29])}else{if(this.getFocused()){this._focusedTextField.addState($[29])}}}},_setCalendarLocation:function(){if(this.getElement()&&this._calendar!=null){var b=qx.bom.element.Location.get(this.getElement());var c=qx.html.Window.getInnerHeight(window);var d=b.top+this.getHeight();var a=this._calendar.getHeightValue();if(d+a>c){d=b.top-a}this._calendar.setLocation(b.left,d)}},_bringToFront:function(){var a=this.getTopLevelWidget().getChildren();var b=this._calendar.getZIndex();for(var d in a){var c=a[d];if(c.getZIndex){if(b<c.getZIndex()){b=c.getZIndex()}}}if(b>this._calendar.getZIndex()){this._calendar.setZIndex(b+1)}}}});
 qx.Class.define("org.eclipse.swt.widgets.DateTimeCalendar",{extend:qx.ui.layout.CanvasLayout,construct:function(c,b,a){arguments.callee.base.call(this);this.setOverflow(qx.constant.Style.OVERFLOW_HIDDEN);this.setAppearance("datetime-calendar");this._hasSelectionListener=false;org.eclipse.swt.widgets.Calendar.MONTH_NAMES=b;org.eclipse.swt.widgets.Calendar.WEEKDAY_NAMES=a;this._calendar=new org.eclipse.swt.widgets.Calendar();this._calendar.addEventListener($[304],this._onChangeDate,this);this._calendar.setDate(new Date(74,5,6));this._calendar.setTabIndex(null);this.add(this._calendar);this.addEventListener($[49],this._onContextMenu,this);this.addEventListener($[4],this._onKeyPress,this);this.addEventListener($[47],this._onmousewheel,this);this.addEventListener($[64],this._onFocusIn,this);this.addEventListener("blur",this._onFocusOut,this);this._updateSelectedDayState()},destruct:function(){this._calendar.removeEventListener($[304],this._onChangeDate,this);this.removeEventListener($[49],this._onContextMenu,this);this.removeEventListener($[4],this._onKeyPress,this);this.removeEventListener($[47],this._onmousewheel,this);this.removeEventListener($[64],this._onFocusIn,this);this.removeEventListener("blur",this._onFocusOut,this);this._disposeObjects("_calendar")},members:{addState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._calendar.addState(a)}},removeState:function(a){arguments.callee.base.call(this,a);if(a.substr(0,8)==$[36]){this._calendar.removeState(a)}},_onChangeDate:function(){var a=this._calendar.getDate();this._sendChanges(a.getDate(),a.getMonth(),a.getFullYear())},_onContextMenu:function(a){var b=this.getContextMenu();if(b!=null){b.setLocation(a.getPageX(),a.getPageY());b.setOpener(this);b.show();a.stopPropagation()}},_onKeyPress:function(a){this._calendar._onkeypress(a)},_onmousewheel:function(a){a.preventDefault();a.stopPropagation()},_onFocusIn:function(a){this._updateSelectedDayState()},_onFocusOut:function(a){this._updateSelectedDayState()},_updateSelectedDayState:function(){for(var a=0;a<6*7;a++){if(this.getFocused()){this._calendar._dayLabelArr[a].removeState($[92])}else{this._calendar._dayLabelArr[a].addState($[92])}}},_sendChanges:function(a,d,b){if(!org.eclipse.swt.EventUtil.getSuspended()){var f=org.eclipse.swt.WidgetManager.getInstance();var c=org.eclipse.swt.Request.getInstance();var e=f.findIdByWidget(this);c.addParameter(e+".day",a);c.addParameter(e+".month",d);c.addParameter(e+".year",b);if(this._hasSelectionListener){c.addEvent($[69],e);org.eclipse.swt.EventUtil.addWidgetSelectedModifier();c.send()}}},setMonth:function(b){var a=this._calendar.getDate();a.setMonth(b);this._calendar.setDate(a)},setDay:function(b){var a=this._calendar.getDate();a.setDate(b);this._calendar.setDate(a)},setYear:function(b){var a=this._calendar.getDate();a.setYear(b);this._calendar.setDate(a)},setHasSelectionListener:function(a){this._hasSelectionListener=a},setFont:function(){}}});
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.DateTime",{factory:function(b){var a;var d=org.eclipse.rwt.protocol.AdapterUtil.createStyleMap(b.style);var c;if(d.SHORT){c="short"}else{if(d.LONG){c="long"}else{c="medium"}}if(d.DROP_DOWN){c+="|drop_down"}if(d.TIME){a=new org.eclipse.swt.widgets.DateTimeTime(c)}else{if(d.CALENDAR){org.eclipse.swt.widgets.Calendar.CELL_WIDTH=b.cellSize[0];org.eclipse.swt.widgets.Calendar.CELL_HEIGHT=b.cellSize[1];a=new org.eclipse.swt.widgets.DateTimeCalendar(c,b.monthNames,b.weekdayShortNames)}else{org.eclipse.swt.widgets.Calendar.CELL_WIDTH=b.cellSize[0];org.eclipse.swt.widgets.Calendar.CELL_HEIGHT=b.cellSize[1];a=new org.eclipse.swt.widgets.DateTimeDate(c,b.monthNames,b.weekdayNames,b.weekdayShortNames,b.dateSeparator,b.datePattern)}}org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);a.setUserData($[22],true);org.eclipse.rwt.protocol.AdapterUtil.setParent(a,b.parent);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getControlDestructor(),properties:org.eclipse.rwt.protocol.AdapterUtil.extendControlProperties(["year","month","day","hours","minutes","seconds","subWidgetsBounds"]),propertyHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlPropertyHandler({subWidgetsBounds:function(c,b){for(var a=0;a<b.length;a++){c.setBounds.apply(c,b[a])}}}),listeners:org.eclipse.rwt.protocol.AdapterUtil.extendControlListeners([$[24]]),listenerHandler:org.eclipse.rwt.protocol.AdapterUtil.extendControlListenerHandler({}),methods:[]});
 qx.Class.define($[284],{extend:qx.ui.basic.Atom,construct:function(b,a){arguments.callee.base.call(this);if(b.classname!=$[365]){throw new Error("illegal parent, must be a CTabFolder")}this._parent=b;this.setAppearance("ctab-item");this.setVerticalChildrenAlign(qx.constant.Layout.ALIGN_MIDDLE);this.setHorizontalChildrenAlign(qx.constant.Layout.ALIGN_LEFT);this.setOverflow(qx.constant.Style.OVERFLOW_HIDDEN);this.setTabIndex(null);this.setLabel($[235]);this.getLabelObject().setMode(qx.constant.Style.LABEL_MODE_HTML);this.getLabelObject().setVerticalAlign(qx.constant.Layout.ALIGN_MIDDLE);this.setLabel("");this._selected=false;this._showClose=false;this._canClose=a;this.updateForeground();this.updateBackground();this.updateBackgroundImage();this.updateBackgroundGradient();this.setTabPosition(b.getTabPosition());if(b.hasState($[111])){this.addState($[111])}this._closeButton=new qx.ui.basic.Image();this._closeButton.setAppearance("ctab-close-button");this._closeButton.setWidth(20);this._closeButton.addEventListener($[16],this._onClose,this);var c=org.eclipse.swt.WidgetManager.getInstance();c.setToolTip(this._closeButton,org.eclipse.swt.custom.CTabFolder.CLOSE_TOOLTIP);this.add(this._closeButton);this.updateCloseButton();this.addEventListener($[6],this._onMouseOver,this);this.addEventListener($[8],this._onMouseOut,this);this.addEventListener($[16],this._onClick,this);this.addEventListener($[51],this._onDblClick,this);this.addEventListener($[171],this._onChangeParent,this);this.addEventListener($[150],this._onChangeLeft,this)},destruct:function(){this.removeEventListener($[6],this._onMouseOver,this);this.removeEventListener($[8],this._onMouseOut,this);this.removeEventListener($[16],this._onClick,this);this.removeEventListener($[51],this._onDblClick,this);this.removeEventListener($[171],this._onChangeParent,this);this.removeEventListener($[150],this._onChangeLeft,this);this._closeButton.removeEventListener($[16],this._onClose,this);var a=org.eclipse.swt.WidgetManager.getInstance();a.setToolTip(this._closeButton,null);this._closeButton.dispose();this._closeButton=null},statics:{STATE_OVER:"over",STATE_SELECTED:$[29],IMG_CLOSE:"widget/ctabfolder/close.gif",IMG_CLOSE_HOVER:"widget/ctabfolder/close_hover.gif"},members:{setTabPosition:function(a){if(a==="top"){this.addState($[156])}else{this.removeState($[156])}},setSelected:function(a){if(this._selected!==a){this._selected=a;if(a){this.addState(org.eclipse.swt.custom.CTabItem.STATE_SELECTED)}else{this.removeState(org.eclipse.swt.custom.CTabItem.STATE_SELECTED)}this._updateNextSelected();this.updateForeground();this.updateBackground();this.updateBackgroundImage();this.updateBackgroundGradient();this.updateCloseButton()}},_updateNextSelected:function(){var a=null;var d=false;var c=this._parent.getChildren();for(var b=0;b<c.length&&!d;b++){if(c[b].classname===$[284]){d=c[b].isSelected();if(a!=null){if(d){a.addState($[437])}else{a.removeState($[437])}}a=c[b]}}},isSelected:function(){return this._selected},setShowClose:function(a){this._showClose=a;this.updateCloseButton()},updateForeground:function(){var a=this.isSelected()?this._parent.getSelectionForeground():this._parent.getTextColor();if(a!=null){this.setTextColor(a)}else{this.resetTextColor()}},updateBackground:function(){var a=this.isSelected()?this._parent.getSelectionBackground():null;if(a!=null){this.setBackgroundColor(a)}else{this.resetBackgroundColor()}},updateBackgroundImage:function(){var a=this.isSelected()?this._parent.getSelectionBackgroundImage():null;if(a!=null){this.setUserData($[173],a.slice(1));this.setBackgroundImage(a[0])}else{this.resetBackgroundImage()}},updateBackgroundGradient:function(){var a=this.isSelected()?this._parent.getSelectionBackgroundGradient():null;if(a!=null){this.setBackgroundGradient(a)}else{this.resetBackgroundGradient()}},updateCloseButton:function(){var a=false;if(this._canClose||this._showClose){a=this.isSelected()||(this._parent.getUnselectedCloseVisible()&&this.hasState(org.eclipse.swt.custom.CTabItem.STATE_OVER))}this._closeButton.setVisibility(a)},_onMouseOver:function(a){this.addState(org.eclipse.swt.custom.CTabItem.STATE_OVER);if(a.getTarget()==this._closeButton){this._closeButton.addState(org.eclipse.swt.custom.CTabItem.STATE_OVER)}this.updateCloseButton()},_onMouseOut:function(a){this.removeState(org.eclipse.swt.custom.CTabItem.STATE_OVER);if(a.getTarget()==this._closeButton){this._closeButton.removeState(org.eclipse.swt.custom.CTabItem.STATE_OVER)}this.updateCloseButton()},_onClick:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){if(a.getTarget()!=this._closeButton){a.getTarget().getParent()._notifyItemClick(a.getTarget())}}},_onDblClick:function(a){if(a.getTarget()!=this._closeButton){a.getTarget().getParent()._notifyItemDblClick(a.getTarget())}},_onClose:function(a){if(!org.eclipse.swt.EventUtil.getSuspended()){var d=org.eclipse.swt.WidgetManager.getInstance();var b=org.eclipse.swt.Request.getInstance();var c=d.findIdByWidget(this);b.addEvent("org.eclipse.swt.events.ctabItemClosed",c);b.send()}},_onChangeParent:function(a){if(!this._parent._isInGlobalDisposeQueue){this._updateNextSelected()}},_onChangeLeft:function(a){if(this.getLeft()===0){this.addState("firstItem")}else{this.removeState("firstItem")}}}});
@@ -252,9 +252,9 @@
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.widgets.ToolTip",{factory:function(b){var d=org.eclipse.rwt.protocol.AdapterUtil.createStyleMap(b.style);var c=null;if(d.ICON_ERROR){c=$[140]}else{if(d.ICON_WARNING){c="warning"}else{if(d.ICON_INFORMATION){c="information"}}}var a=new org.eclipse.swt.widgets.ToolTip(c);org.eclipse.rwt.protocol.AdapterUtil.addStatesForStyles(a,b.style);return a},destructor:org.eclipse.rwt.protocol.AdapterUtil.getWidgetDestructor(),properties:[$[98],$[303],$[134],"autoHide","text","message","location",$[209]],propertyHandler:{roundedBorder:org.eclipse.rwt.protocol.AdapterUtil.getRoundedBorderHandler(),backgroundGradient:org.eclipse.rwt.protocol.AdapterUtil.getBackgroundGradientHandler(),autoHide:function(b,a){b.setHideAfterTimeout(a)},text:function(c,b){var a=org.eclipse.rwt.protocol.EncodingUtil;var d=a.escapeText(b,false);c.setText(d)},message:function(c,b){var a=org.eclipse.rwt.protocol.EncodingUtil;var d=a.escapeText(b,false);d=a.replaceNewLines(d,$[107]);c.setMessage(d)},location:function(b,a){b.setLocation(a[0],a[1])}},listeners:[$[24]],listenerHandler:{},methods:[]});
 qx.Class.define("org.eclipse.swt.WidgetManager",{type:$[37],extend:qx.core.Object,construct:function(){arguments.callee.base.call(this);this._current=null;this._fontPool={}},statics:{_onAppearFocus:function(a){var b=this;b.focus();b.removeEventListener($[44],org.eclipse.swt.WidgetManager._onAppearFocus,b)}},members:{dispose:function(b){var a=this.findWidgetById(b);if(a!=null){this.remove(a);if(!a.getDisposed()){this._removeToolTipPopup(a);a.destroy()}}},add:function(c,d,b,a){if(b===true){c.setUserData($[22],true)}org.eclipse.rwt.protocol.ObjectManager.add(d,c,a)},remove:function(a){var b=this.findIdByWidget(a);org.eclipse.rwt.protocol.ObjectManager.remove(b)},findWidgetById:function(a){return org.eclipse.rwt.protocol.ObjectManager.getObject(a)},findIdByWidget:function(a){return org.eclipse.rwt.protocol.ObjectManager.getId(a)},isControl:function(b){var a=null;if(b!=null){a=b.getUserData($[22])}return a===true},findControl:function(b){var a=b;while(a!=null&&!this.isControl(a)){a=a.getParent?a.getParent():null}return a},setParent:function(b,c){var a=this.findWidgetById(c);if(a instanceof org.eclipse.swt.custom.ScrolledComposite){}else{if(a instanceof qx.ui.pageview.tabview.TabView){}else{if(a instanceof org.eclipse.swt.widgets.ExpandBar){a.addWidget(b)}else{b.setParent(a)}}}},setHtmlId:function(a,b){if(a instanceof Object&&typeof a.setHtmlProperty==$[45]){a.setHtmlProperty("id",b)}},focus:function(a){var b=this.findWidgetById(a);if(b.isSeeable()){b.focus()}else{b.addEventListener($[44],org.eclipse.swt.WidgetManager._onAppearFocus,b)}},setFont:function(f,c,e,d,b){if(f.setFont){var a=this._createFont(c,e,d,b);f.setFont(a)}},_createFont:function(c,e,d,b){var f=c+e+d+b;var a=this._fontPool[f];if(!a){a=new qx.ui.core.Font(e,c);a.setBold(d);a.setItalic(b);this._fontPool[f]=a}return a},setToolTip:function(c,b){if(b!=null&&b!==""){c.setUserData($[161],b);var a=org.eclipse.rwt.widgets.WidgetToolTip.getInstance();c.setToolTip(a);if(a.getParent()!=null){if(a.getBoundToWidget()==c){a.updateText(c)}}}else{this._removeToolTipPopup(c)}},_removeToolTipPopup:function(a){a.setToolTip(null);a.setUserData($[161],null)},setBackgroundGradient:function(e,c,a,b){var f=null;if(c!=null&&a!=null){f=[];for(var d=0;d<c.length;d++){f[d]=[a[d]/100,c[d]]}f.horizontal=!b}e.setBackgroundGradient(f)},setRoundedBorder:function(h,b,e,f,i,c,a){if(b>0&&e!=null&&f>=0&&i>=0&&c>=0&&a>=0){var g=[f,i,c,a];var d=new org.eclipse.rwt.Border(b,$[77],e,g);h.setBorder(d)}else{h.resetBorder()}},setContextMenu:function(a,b){a.setContextMenu(b);if(b==null){this._removeListener(a,$[456])}else{this._addListener(a,$[456])}},setHasListener:function(c,b,a){if(a){this._addListener(c,b)}else{this._removeListener(c,b)}},_addListener:function(a,c){var d=this._listenerMap[c];for(var b=0;b<d.length;b++){a.addEventListener(d[b].nativeType,d[b].listener,d[b].context)}},_removeListener:function(a,c){var d=this._listenerMap[c];for(var b=0;b<d.length;b++){a.removeEventListener(d[b].nativeType,d[b].listener,d[b].context)}},_listenerMap:{focus:[{nativeType:$[126],context:undefined,listener:org.eclipse.swt.EventUtil.focusGained},{nativeType:$[104],context:undefined,listener:org.eclipse.swt.EventUtil.focusLost}],mouse:[{nativeType:$[1],context:undefined,listener:org.eclipse.swt.EventUtil.mouseDown},{nativeType:$[5],context:undefined,listener:org.eclipse.swt.EventUtil.mouseUp}],help:[{nativeType:$[10],context:undefined,listener:org.eclipse.swt.EventUtil.helpRequested}],contextMenu:[{nativeType:$[10],context:undefined,listener:org.eclipse.rwt.widgets.Menu.menuDetectedByKey},{nativeType:$[5],context:undefined,listener:org.eclipse.rwt.widgets.Menu.menuDetectedByMouse}],menuDetect:[{nativeType:$[10],context:undefined,listener:org.eclipse.swt.EventUtil.menuDetectedByKey},{nativeType:$[5],context:undefined,listener:org.eclipse.swt.EventUtil.menuDetectedByMouse}]}}});
 namespace($[187]);org.eclipse.rwt.protocol.Processor={processMessage:function(c){this.processMeta(c.meta);var a=c.operations;for(var b=0;b<a.length;b++){this.processOperationArray(a[b])}},processMeta:function(b){if(b.requestCounter!==undefined){var a=org.eclipse.swt.Request.getInstance();a.setRequestCounter(b.requestCounter)}if(b.redirect!==undefined){document.location=b.redirect}},processOperationArray:function(a){var c=a[0];try{switch(c){case $[84]:this._processCreate(a[1],a[2],a[3]);break;case"set":this._processSet(a[1],a[2]);break;case"listen":this._processListen(a[1],a[2]);break;case"call":this._processCall(a[1],a[2],a[3]);break;case $[228]:this._processDestroy(a[1]);break}}catch(b){this._processError(b,a)}},processOperation:function(a){switch(a.action){case $[84]:this._processCreate(a.target,a.type,a.properties);break;case"set":this._processSet(a.target,a.properties);break;case $[228]:this._processDestroy(a.target);break;case"call":this._processCall(a.target,a.method,a.properties);break;case"listen":this._processListen(a.target,a.properties);break}},_processCreate:function(c,e,d){var a=org.eclipse.rwt.protocol.AdapterRegistry.getAdapter(e);var b=a.factory(d);this._addTarget(b,c,a);this._processSetImpl(b,a,d)},_processDestroy:function(d){var a=org.eclipse.rwt.protocol.ObjectManager.getEntry(d);var b=a.adapter;var c=a.object;if(b.destructor){b.destructor(c)}org.eclipse.rwt.protocol.ObjectManager.remove(d)},_processSet:function(b,c){var a=org.eclipse.rwt.protocol.ObjectManager.getEntry(b);this._processSetImpl(a.object,a.adapter,c)},_processSetImpl:function(c,a,e){if(e&&a.properties instanceof Array){for(var d=0;d<a.properties.length;d++){var g=a.properties[d];var f=e[g];if(f!==undefined){if(a.propertyHandler&&a.propertyHandler[g]){a.propertyHandler[g].call(window,c,f)}else{var b=this._getSetterName(g);c[b](f)}}}}},_processCall:function(d,f,e){var a=org.eclipse.rwt.protocol.ObjectManager.getEntry(d);var b=a.adapter;var c=a.object;if(b.methods instanceof Array&&b.methods.indexOf(f)!==-1){if(b.methodHandler&&b.methodHandler[f]){b.methodHandler[f](c,e)}else{c[f](e)}}},_processListen:function(d,f){var a=org.eclipse.rwt.protocol.ObjectManager.getEntry(d);var b=a.adapter;var c=a.object;if(b.listeners instanceof Array){for(var e=0;e<b.listeners.length;e++){var g=b.listeners[e];if(f[g]===true){this._addListener(b,c,g)}if(f[g]===false){this._removeListener(b,c,g)}}}},_processError:function(c,b){var f;if(c){f=c.message?c.message:c.toString()}else{f="No Error given!"}var e='Operation "'+b[0]+'"';e+=' on target "'+b[1]+'"';var a=org.eclipse.rwt.protocol.ObjectManager.getEntry(b[1]);var d=a?a.object:null;e+=' of type "'+(d&&d.classname?d.classname:d)+'"';e+=" failed:";e+="\n"+f+"\n";e+="Properties: \n"+this._getPropertiesString(b);throw new Error(e)},_getPropertiesString:function(b){var a="";var d;switch(b[0]){case"set":case"listen":d=b[2];break;case $[84]:case"call":d=b[3];break;default:d={};break}for(var c in d){a+=c+" = "+d[c]+"\n"}return a},_addTarget:function(c,b,a){if(c instanceof qx.ui.core.Widget){var d=org.eclipse.swt.WidgetManager.getInstance();d.add(c,b,false,a)}else{org.eclipse.rwt.protocol.ObjectManager.add(b,c,a)}},_addListener:function(a,c,d){if(a.listenerHandler&&a.listenerHandler[d]){a.listenerHandler[d](c,true)}else{var b=this._getListenerSetterName(d);c[b](true)}},_removeListener:function(a,c,d){if(a.listenerHandler&&a.listenerHandler[d]){a.listenerHandler[d](c,false)}else{var b=this._getListenerSetterName(d);c[b](false)}},_getSetterName:function(a){return"set"+qx.lang.String.toFirstUp(a)},_getListenerSetterName:function(a){return"setHas"+qx.lang.String.toFirstUp(a)+"Listener"}};
-namespace($[217]);org.eclipse.rwt.UICallBack=function(){if(org.eclipse.rwt.UICallBack._instance!==undefined){throw new Error("UICallBack can not be created twice")}else{org.eclipse.rwt.UICallBack._instance=this}this._retryInterval=0;this._active=false;this._running=false;this._requestTimer=new qx.client.Timer(0);this._requestTimer.addEventListener($[28],this._doSendUICallBackRequest,this)};org.eclipse.rwt.UICallBack.getInstance=function(){if(org.eclipse.rwt.UICallBack._instance===undefined){new org.eclipse.rwt.UICallBack()}return org.eclipse.rwt.UICallBack._instance};org.eclipse.rwt.UICallBack.prototype={setActive:function(a){this._active=a},sendUIRequest:function(){org.eclipse.swt.Request.getInstance()._sendImmediate(true)},sendUICallBackRequest:function(){if(this._active&&!this._running){this._running=true;this._requestTimer.start()}},_doSendUICallBackRequest:function(){this._requestTimer.stop();var a=org.eclipse.swt.Request.getInstance().getUrl();var b=new qx.io.remote.Request(a,"GET",$[282]);b.addEventListener($[26],this._handleFinished,this);b.addEventListener($[38],this._handleFailed,this);b.setParameter("custom_service_handler","org.eclipse.rwt.internal.uicallback.UICallBackServiceHandler");org.eclipse.swt.Request.getInstance()._sendStandalone(b)},_handleFinished:function(d){this._running=false;if(d.getType()===$[26]){var e=d.getContent();try{var b=JSON.parse(e);org.eclipse.rwt.protocol.Processor.processMessage(b)}catch(a){throw new Error("Could not process UICallBack response: ["+e+"]: "+a)}this._retryInterval=0}var f=d.getTarget();var c=f.getRequest();f.dispose();c.dispose()},_handleFailed:function(a){this._running=false;if(org.eclipse.swt.Request.getInstance()._isConnectionError(a.getStatusCode())){qx.client.Timer.once(this.sendUICallBackRequest,this,this._retryInterval);this._increaseRetryInterval()}},_increaseRetryInterval:function(){if(this._retryInterval===0){this._retryInterval=1000}else{if(this._retryInterval<60*1000){this._retryInterval*=2}}}};
+namespace($[217]);org.eclipse.rwt.UICallBack=function(){if(org.eclipse.rwt.UICallBack._instance!==undefined){throw new Error("UICallBack can not be created twice")}else{org.eclipse.rwt.UICallBack._instance=this}this._retryInterval=0;this._active=false;this._running=false;this._requestTimer=new qx.client.Timer(0);this._requestTimer.addEventListener($[26],this._doSendUICallBackRequest,this)};org.eclipse.rwt.UICallBack.getInstance=function(){if(org.eclipse.rwt.UICallBack._instance===undefined){new org.eclipse.rwt.UICallBack()}return org.eclipse.rwt.UICallBack._instance};org.eclipse.rwt.UICallBack.prototype={setActive:function(a){this._active=a},sendUIRequest:function(){org.eclipse.swt.Request.getInstance()._sendImmediate(true)},sendUICallBackRequest:function(){if(this._active&&!this._running){this._running=true;this._requestTimer.start()}},_doSendUICallBackRequest:function(){this._requestTimer.stop();var a=org.eclipse.swt.Request.getInstance().getUrl();var b=new qx.io.remote.Request(a,"GET",$[282]);b.addEventListener($[27],this._handleFinished,this);b.addEventListener($[38],this._handleFailed,this);b.setParameter("custom_service_handler","org.eclipse.rwt.internal.uicallback.UICallBackServiceHandler");org.eclipse.swt.Request.getInstance()._sendStandalone(b)},_handleFinished:function(d){this._running=false;if(d.getType()===$[27]){var e=d.getContent();try{var b=JSON.parse(e);org.eclipse.rwt.protocol.Processor.processMessage(b)}catch(a){throw new Error("Could not process UICallBack response: ["+e+"]: "+a)}this._retryInterval=0}var f=d.getTarget();var c=f.getRequest();f.dispose();c.dispose()},_handleFailed:function(a){this._running=false;if(org.eclipse.swt.Request.getInstance()._isConnectionError(a.getStatusCode())){qx.client.Timer.once(this.sendUICallBackRequest,this,this._retryInterval);this._increaseRetryInterval()}},_increaseRetryInterval:function(){if(this._retryInterval===0){this._retryInterval=1000}else{if(this._retryInterval<60*1000){this._retryInterval*=2}}}};
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.UICallBack",{factory:function(a){return org.eclipse.rwt.UICallBack.getInstance()},destructor:qx.lang.Function.returnTrue,properties:[$[68]],propertyHandler:{},listeners:[],listenerHandler:{},methods:["sendUIRequest"]});
 namespace($[217]);org.eclipse.rwt.JSExecutor=function(){if(org.eclipse.rwt.JSExecutor._instance!==undefined){throw new Error("JSExecutor can not be created twice")}else{org.eclipse.rwt.JSExecutor._instance=this}};org.eclipse.rwt.JSExecutor.getInstance=function(){if(org.eclipse.rwt.JSExecutor._instance===undefined){new org.eclipse.rwt.JSExecutor()}return org.eclipse.rwt.JSExecutor._instance};org.eclipse.rwt.JSExecutor.prototype={execute:function(code){eval(code)}};
 org.eclipse.rwt.protocol.AdapterRegistry.add("rwt.JSExecutor",{factory:function(a){return org.eclipse.rwt.JSExecutor.getInstance()},destructor:qx.lang.Function.returnTrue,properties:[],propertyHandler:{},listeners:[],listenerHandler:{},methods:[$[108]],methodHandler:{execute:function(b,a){b.execute(a.content)}}});
 qx.Class.define("org.eclipse.rwt.System",{type:$[37],extend:qx.core.Target,construct:function(){if(this.isSupported()){arguments.callee.base.call(this);this._startupTime=new Date().getTime();this._onloadWrapped=qx.lang.Function.bind(this._onload,this);this._onbeforeunloadWrapped=qx.lang.Function.bind(this._onbeforeunload,this);this._onunloadWrapped=qx.lang.Function.bind(this._onunload,this);qx.html.EventRegistration.addEventListener(window,"load",this._onloadWrapped);qx.html.EventRegistration.addEventListener(window,$[245],this._onbeforeunloadWrapped);qx.html.EventRegistration.addEventListener(window,"unload",this._onunloadWrapped);qx.io.Alias.getInstance().add($[121],"./rwt-resources/resource/static");qx.io.Alias.getInstance().add("widget","./rwt-resources/resource/widget/rap");this._applyPatches();org.eclipse.rwt.GraphicsUtil.init();var a=org.eclipse.rwt.EventHandler;a.setAllowContextMenu(org.eclipse.rwt.widgets.Menu.getAllowContextMenu);a.setMenuManager(org.eclipse.rwt.MenuManager.getInstance())}else{this._handleUnsupported()}},events:{beforeunload:$[482],unload:$[3],uiready:$[3]},members:{_autoDispose:false,_onloadDone:false,_uiReady:false,setUiReady:function(a){this._uiReady=a;if(a){this.createDispatchEvent("uiready")}},getUiReady:function(){return this._uiReady},isSupported:function(){return this._isBrowserSupported()&&this._isModeSupported()},_applyPatches:function(){if(!org.eclipse.rwt.Client.supportsCss3()){qx.Class.patch(qx.ui.core.Parent,org.eclipse.rwt.GraphicsMixin);qx.Class.patch(org.eclipse.rwt.widgets.BasicText,org.eclipse.rwt.GraphicsMixin);qx.Class.patch(org.eclipse.rwt.widgets.TreeRow,org.eclipse.rwt.GraphicsMixin);qx.Class.patch(org.eclipse.rwt.widgets.MultiCellWidget,org.eclipse.rwt.GraphicsMixin)}else{qx.Class.patch(org.eclipse.swt.widgets.ProgressBar,org.eclipse.rwt.GraphicsMixin)}qx.Class.patch(qx.event.type.DomEvent,org.eclipse.rwt.DomEventPatch)},getStartupTime:function(){return this._startupTime},_onload:function(a){if(!this._onloadDone){this._onloadDone=true;qx.ui.core.ClientDocument.getInstance();org.eclipse.rwt.MobileWebkitSupport.init();qx.client.Timer.once(this._preload,this,0)}},_preload:function(){var a=qx.io.image.Manager.getInstance().getVisibleImages();this.__preloader=new qx.io.image.PreloaderSystem(a,this._preloaderDone,this);this.__preloader.start()},_preloaderDone:function(){this.__preloader.dispose();this.__preloader=null;org.eclipse.rwt.EventHandler.init();org.eclipse.rwt.EventHandler.attachEvents();this.setUiReady(true);qx.ui.core.Widget.flushGlobalQueues();qx.client.Timer.once(this._postload,this,100)},_postload:function(){var a=qx.io.image.Manager.getInstance().getHiddenImages();this.__postloader=new qx.io.image.PreloaderSystem(a,this._postloaderDone,this);this.__postloader.start()},_postloaderDone:function(){this.__postloader.dispose();this.__postloader=null},_onbeforeunload:function(b){var a=new qx.event.type.DomEvent($[245],b,window,this);this.dispatchEvent(a,false);var c=a.getUserData($[385]);a.dispose();return c!==null?c:undefined},_onunload:function(a){this.createDispatchEvent("unload");org.eclipse.rwt.EventHandler.detachEvents();org.eclipse.rwt.EventHandler.cleanUp();qx.core.Object.dispose(true)},_isBrowserSupported:function(){var a=true;var c=org.eclipse.rwt.Client.getEngine();var b=org.eclipse.rwt.Client.getMajor();if(c===$[118]&&b<7){a=false}return a},_isModeSupported:function(){var a=true;var b=org.eclipse.rwt.Client.getEngine();if(b===$[214]&&document.documentMode<9){a=false}return a},_handleUnsupported:function(){document.write("<big style='background-color:white;color:black;'>");if(!this._isModeSupported()){document.write("Unsupported Browser mode: Your Browser is only supported when ");document.write("running in standard mode, but is running in quirksmode.")}else{document.write("Unsupported Browser: You're using an ");document.write("outdated browser version that is not supported anymore.")}document.write("</big>")}},destruct:function(){qx.html.EventRegistration.removeEventListener(window,"load",this._onloadWrapped);qx.html.EventRegistration.removeEventListener(window,$[245],this._onbeforeunloadWrapped);qx.html.EventRegistration.removeEventListener(window,"unload",this._onunloadWrapped)},defer:function(c,b,a){c.getInstance()}});
-})(["qx.client","mousedown","Boolean","qx.event.type.Event","keypress","mouseup","mouseover","undefined","mouseout","string","keydown","pressed","scroll","hidden","Integer","right","click","absolute","image","object","shadow","String","isControl","height","selection","qx.debug","completed","width","interval","selected","center","bottom","vertical","abandoned","mousemove","highlight","variant_","singleton","failed","Right","keyup","horizontal","PageUp","PageDown","appear","function","middle","mousewheel","qx.event.type.DataEvent","contextmenu","computed=this.","dblclick","sending","timeout","Enter","aborted","receiving","this.","overflow","Number","backgroundColor","normal","number","changeWidth","focus","color","default","change","active","org.eclipse.swt.events.widgetSelected","=value;","changeHeight","solid","style","label","focused","opacity","rounded","maximized","dragstart","borderLeftWidth","qx.event.type.MouseEvent","transparent","Space","create","scrollY","scrollX","borderTopWidth","content","input","maxWidth","minWidth","parent_unfocused","backgroundImage","maxHeight","configured","overflowX","overflowY","customVariant","minHeight","alias","abstract","changeFont","Escape","focusout","frame","Object","<br/>","execute","changeValue","toolTip","rwt_BORDER","\" in class \"","webkit","gradient","if(this.","textarea","bounds","mshtml","qx.io.remote.Response","CSS1Compat","static","radio","fixed","qx.ui.core.Widget","reset","focusin","border","boolean","locationX","locationY","position","delete this.","pointer","backgroundGradient","unstyle","dragover","gecko","filter","other","error","lightshadow","maxLength","insertDom","!==undefined)","e-resize","background",".selection","return this.","qx.event.type.DragEvent","changeLeft","visibility","created","refresh","translucent","rwt_FLAT","barTop","\",value);","roundrect","datetime-field","display","toolTipText","expanded","calendar-day","stateOverChanged","fontSize","fillType","queued","org.eclipse.swt.events.widgetDefaultSelected","n-resize","cursor","changeParent","changeBackgroundColor","backgroundImageSize","changeVisibility","complex","padding","calendar-button","marginTop","marginLeft","changeEnabled","paddingTop","inherit","cancel","Display","linesvisible","rwt_SEPARATOR","org.eclipse.rwt.protocol","scrollbar-thumb","ne-resize","nw-resize","paddingRight","progress","background-color","changeFocusedChild","!active","\" is an invalid value for the property \"","Invalid key \"","textAlign","dragdrop","grayed","backgroundLayouted","rwt_MULTI","checked","datetime-separator","toggle","rwt_BAR","left-reversed","paddingBottom","visible","minimized","stroke","top-reversed","paddingLeft","newmshtml","qx.event.type.FocusEvent","else if(this.","org.eclipse.rwt","darkshadow","scrollHeight","rwt_VERTICAL","remove","outline","center-reversed","windowblur","Attention! The value \"","middle-reversed","shorthand","destroy","shadowLayouted","keyevent","-moz-scrollbars-vertical","checkBox","mouseevent","activeKeys","(empty)","marginRight","elementOver","minimum","Control","qx.ui.popup.ToolTip","enabled","borderWidths","dragmove","windowresize","beforeunload","border-box","lastChild","old=this.","domKeyevent","qx.event.handler.DragAndDropHandler","received","boxSizing","no-repeat","android","changeSelection","-moz-scrollbars-none","_applyResizable","dragend","!==undefined){",".bounds.x",".bounds.y","changeFocused","borderBottomWidth","borderRightWidth","_applyClip","\" in mixin \"",".bounds.width","borderRadii","Could not evaluate computed style: ","qx.event.type.KeyEvent","dragout","maximum","collapsed","_applyIndicatorFill","marginBottom","cancelKeys","-moz-scrollbars-horizontal",".bounds.height","dragenter","expandIcon","MozOpacity","application/javascript","increment","org.eclipse.swt.custom.CTabItem","Connection dropped","selectionChanged","rwt-resources/themes/images/","qx.ui.popup.PopupManager","changeHtml","qx.io.remote.XmlHttpTransport","DOMMouseScroll","rwt_NO_RADIO_GROUP","alignment","underline","typeof value === \"number\" && isFinite(value)","foreground","textLimit","separator","Invalid type of key \"","readonly","\" is not allowed!","otherMonth","roundedBorder","changeDate","crosshair","lineHeight","se-resize","backgroundRepeat","treeColumn","changeTextColor","Backspace","The configuration key \"","\"! The type of the key must be \"","dragEnter","updateRows","changeLeadItem","Conflict between mixin \"","SystemMessage-DisplayOverlay","_applyBackgroundGradient","changeActive","scrollBarsVisible","_applyIcon","w-resize","sw-resize","borderColor","changeBackgroundGradient","changeChecked","changeState","not-allowed","stroke-width","tabIndex","pageIncrement","_applyOpacity","_applyEnabled","backgroundPosition","changeTop","_manager","s-resize","\" of property \"","dnd_selected","hoverOut","Variant \"","HORIZONTAL","changeElement","col-resize","qx.ui.form.Button","userScroll","Content-Type","changeMode","_applyWrap","changeActiveChild","org.eclipse.rwt.widgets.MenuItem","_applyTextAlign","borderMaxWidth","disappear","qx.compatibility","postApplyDimensions failed ","org.eclipse.swt.events.modifyText","_applyState","if(old===undefined)old=null;","Unable to destroy function: ","unselectable","qx.ui.embed.Flash","qx.client.NativeWindow","org.eclipse.swt.custom.CTabFolder",".selectedItemId","',sizingMethod='crop')","sash-handle","changeSource","qx.ui.window.Manager"," does not support it","push-button","subMenuChanged",":content-box;","delete window.","headerHeight","bezierCurveTo","flyOutBottom","qx.ui.window.Window","ignoreFlexible","hasComputed","\" which must be typeof \"","qx.ui.pageview.tabview.TabView","borderBottomStyle","returnValue","_applyOrientation","qx.io.remote.Exchange","_focusedTextField","_applySource","separatorBorder","progid:DXImageTransform.Microsoft.AlphaImageLoader(src='","qx.ui.pageview.AbstractButton","widget/ctabfolder/maximize.gif","_applyHeight","keyListener","qx.ui.pageview.AbstractPage","\" in member \"","minThumbSize","qx.ui.selection.RadioManager","flyInBottom","scrolledComposite","qx.util.range.Range","removeChild","borderLeftStyle","var prop=qx.core.Property;","datetime-button-up",".activeControl","\" must be defined!","static/image/blank.gif","_applyAnimation"," is not inside this parent.","pointerEvents","org.eclipse.swt.events.widgetSelected.detail",":border-box;","ctabfolder-button","qx.core.Object","if(value===undefined)prop.error(this,2,\"","org.eclipse.swt.events.ctabFolderRestored","createContent","right-reversed",";background-repeat:no-repeat;' ></div>","Includes of mixins must be mixins. The include number '","qx.ui.core.Parent","columnLayoutChanged","value !== null","org.eclipse.rwt.events.historyNavigated","Link-Hyperlink","org.eclipse.rwt.widgets.Text","rwt_HORIZONTAL","skipFlexible","quadraticCurveTo","scrollBarsSelection","Could not parse color: ","org.eclipse.rwt.widgets.BasicText","qx.event.handler.FocusHandler","' in mixin '","nextSelected","bottom-reversed","WebkitUserSelect","center center","qx.event.type.ChangeEvent","traverseListener","Cache-Control",".$$properties.","linearGradient","org.eclipse.swt.widgets.ExpandBar","datetime-button-down","rwt_INDETERMINATE","scale-thumb","itemsChanged","numericRound","background-image:url(","qx.ui.embed.IframeManager","MozUserSelect","_applyHorizontalChildrenAlign","contextMenu","org.eclipse.swt.dnd.","multipart/form-data","hoverFristItem","client-document-blocker","qx.io.remote.AbstractRemoteTransport","qx.io.remote.Request","_applySelectionIndicator","' of class '","qx.io.image.Preloader","if(old===computed)return value;","bottomRight","coolitem-handle","dragFinished","\" failed with exception "," modified: Failed to dispatch change event: ","org.eclipse.rwt.events.historyNavigated.entryId","Could not convert system colors to RGB: ","calendar-week","Alpha(opacity=","draggesture","textDecoration","\" which must be an instance of \"","changeSpacing","_applyBackgroundColor","static/html/blank.html","qx.event.type.DomEvent","stdDeviation","strokeStyle","_childrenQueue","\"! The value needs to be a map!","maximumChanged","if(computed===undefined)computed=null;","borderRightStyle","\" but is typeof \"",") but parent layout ","flyOutRight","_applyVerticalChildrenAlign","_applySpacing","KhtmlUserSelect","minimumChanged","_invalidate","\"! The value is undefined/null!","slider-thumb","tree-column","checkDisposedItems","org.eclipse.rwt.widgets.Button","Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.","_applyManager","widget/ctabfolder/restore.gif","Failed to check property ","_applyVisibility","borderTopStyle","widget/ctabfolder/minimize.gif","_applySeparatorBorder"]);
\ No newline at end of file
+})(["qx.client","mousedown","Boolean","qx.event.type.Event","keypress","mouseup","mouseover","undefined","mouseout","string","keydown","pressed","scroll","hidden","Integer","right","click","absolute","image","object","shadow","String","isControl","height","selection","qx.debug","interval","completed","width","selected","center","bottom","vertical","abandoned","mousemove","highlight","variant_","singleton","failed","Right","keyup","horizontal","PageUp","PageDown","appear","function","middle","mousewheel","qx.event.type.DataEvent","contextmenu","computed=this.","dblclick","sending","timeout","Enter","aborted","receiving","this.","overflow","Number","backgroundColor","normal","number","changeWidth","focus","color","default","change","active","org.eclipse.swt.events.widgetSelected","=value;","changeHeight","solid","style","label","focused","opacity","rounded","maximized","dragstart","borderLeftWidth","qx.event.type.MouseEvent","transparent","Space","create","scrollY","scrollX","borderTopWidth","content","input","maxWidth","minWidth","parent_unfocused","backgroundImage","maxHeight","configured","overflowX","overflowY","customVariant","minHeight","alias","abstract","changeFont","Escape","focusout","frame","Object","<br/>","execute","changeValue","toolTip","rwt_BORDER","\" in class \"","webkit","gradient","if(this.","textarea","bounds","mshtml","qx.io.remote.Response","CSS1Compat","static","radio","fixed","qx.ui.core.Widget","reset","focusin","border","boolean","locationX","locationY","position","delete this.","pointer","backgroundGradient","unstyle","dragover","gecko","filter","other","error","lightshadow","maxLength","insertDom","!==undefined)","e-resize","background",".selection","return this.","qx.event.type.DragEvent","changeLeft","visibility","created","refresh","translucent","rwt_FLAT","barTop","\",value);","roundrect","datetime-field","display","toolTipText","expanded","calendar-day","stateOverChanged","fontSize","fillType","queued","org.eclipse.swt.events.widgetDefaultSelected","n-resize","cursor","changeParent","changeBackgroundColor","backgroundImageSize","changeVisibility","complex","padding","calendar-button","marginTop","marginLeft","changeEnabled","paddingTop","inherit","cancel","Display","linesvisible","rwt_SEPARATOR","org.eclipse.rwt.protocol","scrollbar-thumb","ne-resize","nw-resize","paddingRight","progress","background-color","changeFocusedChild","!active","\" is an invalid value for the property \"","Invalid key \"","textAlign","dragdrop","grayed","backgroundLayouted","rwt_MULTI","checked","datetime-separator","toggle","rwt_BAR","left-reversed","paddingBottom","visible","minimized","stroke","top-reversed","paddingLeft","newmshtml","qx.event.type.FocusEvent","else if(this.","org.eclipse.rwt","darkshadow","scrollHeight","rwt_VERTICAL","remove","outline","center-reversed","windowblur","Attention! The value \"","middle-reversed","shorthand","destroy","shadowLayouted","keyevent","-moz-scrollbars-vertical","checkBox","mouseevent","activeKeys","(empty)","marginRight","elementOver","minimum","Control","qx.ui.popup.ToolTip","enabled","borderWidths","dragmove","windowresize","beforeunload","border-box","lastChild","old=this.","domKeyevent","qx.event.handler.DragAndDropHandler","received","boxSizing","no-repeat","android","changeSelection","-moz-scrollbars-none","_applyResizable","dragend","!==undefined){",".bounds.x",".bounds.y","changeFocused","borderBottomWidth","borderRightWidth","_applyClip","\" in mixin \"",".bounds.width","borderRadii","Could not evaluate computed style: ","qx.event.type.KeyEvent","dragout","maximum","collapsed","_applyIndicatorFill","marginBottom","cancelKeys","-moz-scrollbars-horizontal",".bounds.height","dragenter","expandIcon","MozOpacity","application/javascript","increment","org.eclipse.swt.custom.CTabItem","Connection dropped","selectionChanged","rwt-resources/themes/images/","qx.ui.popup.PopupManager","changeHtml","qx.io.remote.XmlHttpTransport","DOMMouseScroll","rwt_NO_RADIO_GROUP","alignment","underline","typeof value === \"number\" && isFinite(value)","foreground","textLimit","separator","Invalid type of key \"","readonly","\" is not allowed!","otherMonth","roundedBorder","changeDate","crosshair","lineHeight","se-resize","backgroundRepeat","treeColumn","changeTextColor","Backspace","The configuration key \"","\"! The type of the key must be \"","dragEnter","updateRows","changeLeadItem","Conflict between mixin \"","SystemMessage-DisplayOverlay","_applyBackgroundGradient","changeActive","scrollBarsVisible","_applyIcon","w-resize","sw-resize","borderColor","changeBackgroundGradient","changeChecked","changeState","not-allowed","stroke-width","tabIndex","pageIncrement","_applyOpacity","_applyEnabled","backgroundPosition","changeTop","_manager","s-resize","\" of property \"","dnd_selected","hoverOut","Variant \"","HORIZONTAL","changeElement","col-resize","qx.ui.form.Button","userScroll","Content-Type","changeMode","_applyWrap","changeActiveChild","org.eclipse.rwt.widgets.MenuItem","_applyTextAlign","borderMaxWidth","disappear","qx.compatibility","postApplyDimensions failed ","org.eclipse.swt.events.modifyText","_applyState","if(old===undefined)old=null;","Unable to destroy function: ","unselectable","qx.ui.embed.Flash","qx.client.NativeWindow","org.eclipse.swt.custom.CTabFolder",".selectedItemId","',sizingMethod='crop')","sash-handle","changeSource","qx.ui.window.Manager"," does not support it","push-button","subMenuChanged",":content-box;","delete window.","headerHeight","bezierCurveTo","flyOutBottom","qx.ui.window.Window","ignoreFlexible","hasComputed","\" which must be typeof \"","qx.ui.pageview.tabview.TabView","borderBottomStyle","returnValue","_applyOrientation","qx.io.remote.Exchange","_focusedTextField","_applySource","separatorBorder","progid:DXImageTransform.Microsoft.AlphaImageLoader(src='","qx.ui.pageview.AbstractButton","widget/ctabfolder/maximize.gif","_applyHeight","keyListener","qx.ui.pageview.AbstractPage","\" in member \"","minThumbSize","qx.ui.selection.RadioManager","flyInBottom","scrolledComposite","qx.util.range.Range","removeChild","borderLeftStyle","var prop=qx.core.Property;","datetime-button-up",".activeControl","\" must be defined!","static/image/blank.gif","_applyAnimation"," is not inside this parent.","pointerEvents","org.eclipse.swt.events.widgetSelected.detail",":border-box;","ctabfolder-button","qx.core.Object","if(value===undefined)prop.error(this,2,\"","org.eclipse.swt.events.ctabFolderRestored","createContent","right-reversed",";background-repeat:no-repeat;' ></div>","Includes of mixins must be mixins. The include number '","qx.ui.core.Parent","columnLayoutChanged","value !== null","org.eclipse.rwt.events.historyNavigated","Link-Hyperlink","org.eclipse.rwt.widgets.Text","rwt_HORIZONTAL","skipFlexible","quadraticCurveTo","scrollBarsSelection","Could not parse color: ","org.eclipse.rwt.widgets.BasicText","qx.event.handler.FocusHandler","' in mixin '","nextSelected","bottom-reversed","WebkitUserSelect","center center","qx.event.type.ChangeEvent","traverseListener","Cache-Control",".$$properties.","linearGradient","org.eclipse.swt.widgets.ExpandBar","datetime-button-down","rwt_INDETERMINATE","scale-thumb","itemsChanged","numericRound","background-image:url(","qx.ui.embed.IframeManager","MozUserSelect","_applyHorizontalChildrenAlign","contextMenu","org.eclipse.swt.dnd.","multipart/form-data","hoverFristItem","client-document-blocker","qx.io.remote.AbstractRemoteTransport","qx.io.remote.Request","_applySelectionIndicator","' of class '","qx.io.image.Preloader","if(old===computed)return value;","bottomRight","coolitem-handle","dragFinished","\" failed with exception "," modified: Failed to dispatch change event: ","org.eclipse.rwt.events.historyNavigated.entryId","Could not convert system colors to RGB: ","calendar-week","Alpha(opacity=","draggesture","textDecoration","\" which must be an instance of \"","changeSpacing","_applyBackgroundColor","static/html/blank.html","qx.event.type.DomEvent","stdDeviation","strokeStyle","_childrenQueue","\"! The value needs to be a map!","maximumChanged","if(computed===undefined)computed=null;","borderRightStyle","\" but is typeof \"",") but parent layout ","flyOutRight","_applyVerticalChildrenAlign","_applySpacing","KhtmlUserSelect","minimumChanged","_invalidate","\"! The value is undefined/null!","slider-thumb","tree-column","checkDisposedItems","org.eclipse.rwt.widgets.Button","Iframe source could not be set! This may be related to AdBlock Plus Firefox Extension.","_applyManager","widget/ctabfolder/restore.gif","Failed to check property ","_applyVisibility","borderTopStyle","widget/ctabfolder/minimize.gif","_applySeparatorBorder"]);
\ No newline at end of file