Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Furnadjiev2011-02-01 08:22:51 +0000
committerIvan Furnadjiev2011-02-01 08:22:51 +0000
commit7f241cddfda96271bffa3a502703068173d21192 (patch)
tree1569b9bdea8e5ff138459dba5faa9c373a3a7819 /bundles
parentda2bb6f7be19265718ab34f37ae0995059627d33 (diff)
downloadorg.eclipse.rap-7f241cddfda96271bffa3a502703068173d21192.tar.gz
org.eclipse.rap-7f241cddfda96271bffa3a502703068173d21192.tar.xz
org.eclipse.rap-7f241cddfda96271bffa3a502703068173d21192.zip
Fixed - bug 335052: [client] Warning in Fixrefox Error Console: Unknown Property 'box-sizing'. Declaration Dropped
https://bugs.eclipse.org/bugs/show_bug.cgi?id=335052
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/Client.js3
-rw-r--r--bundles/org.eclipse.rap.rwt.q07/resources/client.js2
2 files changed, 3 insertions, 2 deletions
diff --git a/bundles/org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/Client.js b/bundles/org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/Client.js
index a7e3c8ae20..322852eb24 100644
--- a/bundles/org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/Client.js
+++ b/bundles/org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/Client.js
@@ -293,8 +293,9 @@ qx.Class.define( "org.eclipse.rwt.Client", {
vEngineBoxSizingAttr.push( "-khtml-box-sizing" );
vEngineBoxSizingAttr.push( "-webkit-box-sizing" );
break;
+ default:
+ vEngineBoxSizingAttr.push( "box-sizing" );
}
- vEngineBoxSizingAttr.push( "box-sizing" );
this._engineBoxSizingAttributes = vEngineBoxSizingAttr;
},
diff --git a/bundles/org.eclipse.rap.rwt.q07/resources/client.js b/bundles/org.eclipse.rap.rwt.q07/resources/client.js
index 6e55db69dd..21d0e4a646 100644
--- a/bundles/org.eclipse.rap.rwt.q07/resources/client.js
+++ b/bundles/org.eclipse.rap.rwt.q07/resources/client.js
@@ -4,7 +4,7 @@ qx.Class.define("qx.lang.Core");if(!Error.prototype.toString||Error.prototype.to
qx.Class.define("qx.core.Setting",{statics:{__settings:{},define:function(b,a){if(a===undefined){throw new Error('Default value of setting "'+b+$[346])}if(!this.__settings[b]){this.__settings[b]={}}else{if(this.__settings[b].defaultValue!==undefined){throw new Error('Setting "'+b+$[424])}}this.__settings[b].defaultValue=a},get:function(b){var a=this.__settings[b];if(a===undefined){throw new Error('Setting "'+b+$[449])}if(a.value!==undefined){return a.value}return a.defaultValue},isSet:function(a){return this.__settings[a]!==undefined},__init:function(){if(window.qxsettings){for(var b in qxsettings){if((b.split(".")).length<2){throw new Error($[448]+b+$[508])}if(!this.__settings[b]){this.__settings[b]={}}this.__settings[b].value=qxsettings[b]}window.qxsettings=undefined;try{delete window.qxsettings}catch(a){}this.__loadUrlSettings()}},__loadUrlSettings:function(){if(this.get($[536])!=true){return}var d=document.location.search.slice(1).split("&");for(var b=0;b<d.length;b++){var c=d[b].split(":");if(c.length!=3||c[0]!="qxsetting"){continue}var a=c[1];if(!this.__settings[a]){this.__settings[a]={}}this.__settings[a].value=decodeURIComponent(c[2])}}},defer:function(a){a.define($[536],false);a.define($[538],false);a.define($[566],"./resource");a.define($[387],true);a.__init()}});
qx.Class.define("qx.lang.Array",{statics:{fromArguments:function(a){return Array.prototype.slice.call(a,0)},fromShortHand:function(c){var b=c.length;if(b>4||b==0){this.error("Invalid number of arguments!")}var a=qx.lang.Array.copy(c);switch(b){case 1:a[1]=a[2]=a[3]=a[0];break;case 2:a[2]=a[0];case 3:a[3]=a[1]}return a},copy:function(a){return a.concat()},getLast:function(a){return a[a.length-1]},getFirst:function(a){return a[0]},insertAt:function(a,c,b){a.splice(b,0,c);return a},removeAt:function(a,b){return a.splice(b,1)[0]},remove:function(a,c){var b=a.indexOf(c);if(b!=-1){a.splice(b,1);return c}},contains:function(a,b){return a.indexOf(b)!=-1}}});
qx.Class.define("qx.core.Variant",{statics:{__variants:{},__cache:{},compilerIsSet:function(){return true},define:function(b,c,a){if(qx.core.Variant.compilerIsSet($[3],"on")){if(!this.__isValidArray(c)){throw new Error('Allowed values of variant "'+b+$[346])}if(a===undefined){throw new Error('Default value of variant "'+b+$[346])}}if(!this.__variants[b]){this.__variants[b]={}}else{if(qx.core.Variant.compilerIsSet($[3],"on")){if(this.__variants[b].defaultValue!==undefined){throw new Error($[390]+b+$[424])}}}this.__variants[b].allowedValues=c;this.__variants[b].defaultValue=a},get:function(a){var b=this.__variants[a];if(qx.core.Variant.compilerIsSet($[3],"on")){if(b===undefined){throw new Error($[390]+a+$[449])}}if(b.value!==undefined){return b.value}return b.defaultValue},__init:function(){if(window.qxvariants){for(var b in qxvariants){if(qx.core.Variant.compilerIsSet($[3],"on")){if((b.split(".")).length<2){throw new Error($[448]+b+$[508])}}if(!this.__variants[b]){this.__variants[b]={}}this.__variants[b].value=qxvariants[b]}window.qxvariants=undefined;try{delete window.qxvariants}catch(a){}this.__loadUrlVariants(this.__variants)}},__loadUrlVariants:function(){if(qx.core.Setting.get($[538])!=true){return}var d=document.location.search.slice(1).split("&");for(var c=0;c<d.length;c++){var b=d[c].split(":");if(b.length!=3||b[0]!="qxvariant"){continue}var a=b[1];if(!this.__variants[a]){this.__variants[a]={}}this.__variants[a].value=decodeURIComponent(b[2])}},select:function(c,a){if(qx.core.Variant.compilerIsSet($[3],"on")){if(!this.__isValidObject(this.__variants[c])){throw new Error($[390]+c+'" is not defined')}if(!this.__isValidObject(a)){throw new Error("the second parameter must be a map!")}}for(var b in a){if(this.isSet(c,b)){return a[b]}}if(a[$[36]]!==undefined){return a[$[36]]}if(qx.core.Variant.compilerIsSet($[3],"on")){throw new Error('No match for variant "'+c+'" in variants ['+qx.lang.Object.getKeysAsString(a)+'] found, and no default ("default") given')}},isSet:function(f,d){var a=f+"$"+d;if(this.__cache[a]!==undefined){return this.__cache[a]}var c=false;if(d.indexOf("|")<0){c=this.get(f)===d}else{var g=d.split("|");for(var e=0,b=g.length;e<b;e++){if(this.get(f)===g[e]){c=true;break}}}this.__cache[a]=c;return c},__isValidArray:function(a){return typeof a===$[11]&&a!==null&&a instanceof Array},__isValidObject:function(a){return typeof a===$[11]&&a!==null&&!(a instanceof Array)},__arrayContains:function(a,d){for(var c=0,b=a.length;c<b;c++){if(a[c]==d){return true}}return false}},defer:function(a){a.define($[3],["on","off"],"on");a.define($[254],["on","off"],"on");a.define("qx.eventMonitorNoListeners",["on","off"],"off");a.define("qx.aspects",["on","off"],"off");a.define($[406],["on","off"],"on");a.__init()}});
-qx.Class.define("org.eclipse.rwt.Client",{statics:{__init:function(){this._engineName=null;this._browserName=null;this._engineVersion=null;this._engineVersionMajor=0;this._engineVersionMinor=0;this._engineVersionRevision=0;this._engineVersionBuild=0;this._browserPlatform=null;this._runsLocally=window.location.protocol==="file:";this._engineQuirksMode=document.compatMode!==$[116];this._defaultLocale="en";this._initOpera();this._initKonqueror();this._initWebkit();this._initGecko();this._initMshtml();this._initBoxSizing();this._initLocale();this._initPlatform()},getRunsLocally:function(){return this._runsLocally},getEngine:function(){return this._engineName},getBrowser:function(){return this._browserName},getVersion:function(){return this._engineVersion},getMajor:function(){return this._engineVersionMajor},getMinor:function(){return this._engineVersionMinor},getRevision:function(){return this._engineVersionRevision},getBuild:function(){return this._engineVersionBuild},isMshtml:function(){return this._engineName===$[18]},isGecko:function(){return this._engineName===$[43]},isOpera:function(){return this._engineName===$[152]},isWebkit:function(){return this._engineName===$[72]},isInQuirksMode:function(){return this._engineQuirksMode},getLocale:function(){return this._browserLocale},getLanguage:function(){var a=this.getLocale();var c;var b=a.indexOf("_");if(b==-1){c=a}else{c=a.substring(0,b)}return c},getTerritory:function(){return this.getLocale().split("_")[1]||""},getDefaultLocale:function(){return this._defaultLocale},usesDefaultLocale:function(){return this._browserLocale===this._defaultLocale},getEngineBoxSizingAttributes:function(){return this._engineBoxSizingAttributes},getPlatform:function(){return this._browserPlatform},isMobileSafari:function(){return this.getPlatform()==="ios"&&this.getBrowser()==="safari"},isAndroidBrowser:function(){return this.getPlatform()==="android"&&this.getBrowser()==="chrome"},supportsVml:function(){return(this.getEngine()===$[18])&&(this.getVersion()>=5.5)},supportsSvg:function(){var c=org.eclipse.rwt.Client.getEngine();var b=org.eclipse.rwt.Client.getVersion();var a=c===$[43]&&b>=1.8||c===$[72]&&b>=523||c===$[152]&&b>=9;if(this.isAndroidBrowser()){a=false}return a},supportsCss3:function(){var c=org.eclipse.rwt.Client.getEngine();var b=org.eclipse.rwt.Client.getVersion();var a=c===$[72]&&b>=522||c===$[43]&&b>=1.9;return a},_initOpera:function(){if(this._engineName===null){var b=window.opera&&/Opera[\s\/]([0-9\.]*)/.test(navigator.userAgent);if(b){this._browserName=$[152];this._engineName=$[152];var a=RegExp.$1;a=a.substring(0,3)+"."+a.substring(3);this._parseVersion(a)}}},_initKonqueror:function(){if(this._engineName===null){var b=navigator.vendor;var a=typeof b===$[13]&&b==="KDE"&&/KHTML\/([0-9-\.]*)/.test(navigator.userAgent);if(a){this._engineName=$[72];this._browserName="konqueror";this._parseVersion("420")}}},_initWebkit:function(){if(this._engineName===null){var d=navigator.userAgent;var a=d.indexOf("AppleWebKit")!=-1&&/AppleWebKit\/([^ ]+)/.test(d);if(a){this._engineName=$[72];var b=RegExp.$1;var c=RegExp("[^\\.0-9]").exec(b);if(c){b=b.slice(0,c.index)}this._parseVersion(b);if(d.indexOf("Chrome")!=-1){this._browserName="chrome"}else{if(d.indexOf("Safari")!=-1){if(d.indexOf("Android")!=-1){this._browserName="chrome"}else{this._browserName="safari"}}else{if(d.indexOf("OmniWeb")!=-1){this._browserName="omniweb"}else{if(d.indexOf("Shiira")!=-1){this._browserName="shiira"}else{if(d.indexOf("NetNewsWire")!=-1){this._browserName="netnewswire"}else{if(d.indexOf("RealPlayer")!=-1){this._browserName="realplayer"}else{this._browserName="other webkit"}}}}}}}}},_initGecko:function(){if(this._engineName===null){var c=navigator.product;var b=navigator.userAgent;var a=window.controllers&&typeof c===$[13]&&c==="Gecko"&&/rv\:([^\);]+)(\)|;)/.test(b);if(a){this._engineName=$[43];this._parseVersion(RegExp.$1);if(b.indexOf("Firefox")!=-1){this._browserName="firefox"}else{if(b.indexOf("Camino")!=-1){this._browserName="camino"}else{if(b.indexOf("Galeon")!=-1){this._browserName="galeon"}else{this._browserName="other gecko"}}}}}},_initMshtml:function(){if(this._engineName===null){var a=/MSIE\s+([^\);]+)(\)|;)/.test(navigator.userAgent);if(a){this._engineName=$[18];this._parseVersion(RegExp.$1);this._browserName="explorer"}}},_parseVersion:function(a){if(typeof a===$[13]){versionArr=a.split(".");this._engineVersion=parseFloat(a);this._engineVersionMajor=parseInt(versionArr[0]||0);this._engineVersionMinor=parseFloat(versionArr[1]||0);this._engineVersionRevision=parseFloat(versionArr[2]||0);this._engineVersionBuild=parseInt(versionArr[3]||0)}},_initBoxSizing:function(){var a=[];switch(this._engineName){case $[43]:a.push("-moz-box-sizing");break;case $[72]:a.push("-khtml-box-sizing");a.push("-webkit-box-sizing");break}a.push("box-sizing");this._engineBoxSizingAttributes=a},_initLocale:function(){var c=this._engineName==$[18]?navigator.userLanguage:navigator.language;var b=c.toLowerCase();var a=b.indexOf("-");if(a!=-1){b=b.substr(0,a)}this._browserLocale=b},_initPlatform:function(){var a=navigator.platform;if(a.indexOf("Windows")!=-1||a.indexOf("Win32")!=-1||a.indexOf("Win64")!=-1){this._browserPlatform="win"}else{if(a.indexOf("Macintosh")!=-1||a.indexOf("MacPPC")!=-1||a.indexOf("MacIntel")!=-1){this._browserPlatform="mac"}else{if(a.indexOf("X11")!=-1||a.indexOf("Linux")!=-1||a.indexOf("BSD")!=-1){if(navigator.userAgent.indexOf("Android")!=-1){this._browserPlatform="android"}else{this._browserPlatform="unix"}}else{if(a.indexOf("iPhone")!=-1||a.indexOf("iPod")!=-1||a.indexOf("iPad")!=-1){this._browserPlatform="ios"}else{this._browserPlatform="other"}}}}}},defer:function(c,a,b){c.__init();qx.core.Variant.define($[0],[$[43],$[18],$[152],$[72]],org.eclipse.rwt.Client.getEngine())}});
+qx.Class.define("org.eclipse.rwt.Client",{statics:{__init:function(){this._engineName=null;this._browserName=null;this._engineVersion=null;this._engineVersionMajor=0;this._engineVersionMinor=0;this._engineVersionRevision=0;this._engineVersionBuild=0;this._browserPlatform=null;this._runsLocally=window.location.protocol==="file:";this._engineQuirksMode=document.compatMode!==$[116];this._defaultLocale="en";this._initOpera();this._initKonqueror();this._initWebkit();this._initGecko();this._initMshtml();this._initBoxSizing();this._initLocale();this._initPlatform()},getRunsLocally:function(){return this._runsLocally},getEngine:function(){return this._engineName},getBrowser:function(){return this._browserName},getVersion:function(){return this._engineVersion},getMajor:function(){return this._engineVersionMajor},getMinor:function(){return this._engineVersionMinor},getRevision:function(){return this._engineVersionRevision},getBuild:function(){return this._engineVersionBuild},isMshtml:function(){return this._engineName===$[18]},isGecko:function(){return this._engineName===$[43]},isOpera:function(){return this._engineName===$[152]},isWebkit:function(){return this._engineName===$[72]},isInQuirksMode:function(){return this._engineQuirksMode},getLocale:function(){return this._browserLocale},getLanguage:function(){var a=this.getLocale();var c;var b=a.indexOf("_");if(b==-1){c=a}else{c=a.substring(0,b)}return c},getTerritory:function(){return this.getLocale().split("_")[1]||""},getDefaultLocale:function(){return this._defaultLocale},usesDefaultLocale:function(){return this._browserLocale===this._defaultLocale},getEngineBoxSizingAttributes:function(){return this._engineBoxSizingAttributes},getPlatform:function(){return this._browserPlatform},isMobileSafari:function(){return this.getPlatform()==="ios"&&this.getBrowser()==="safari"},isAndroidBrowser:function(){return this.getPlatform()==="android"&&this.getBrowser()==="chrome"},supportsVml:function(){return(this.getEngine()===$[18])&&(this.getVersion()>=5.5)},supportsSvg:function(){var c=org.eclipse.rwt.Client.getEngine();var b=org.eclipse.rwt.Client.getVersion();var a=c===$[43]&&b>=1.8||c===$[72]&&b>=523||c===$[152]&&b>=9;if(this.isAndroidBrowser()){a=false}return a},supportsCss3:function(){var c=org.eclipse.rwt.Client.getEngine();var b=org.eclipse.rwt.Client.getVersion();var a=c===$[72]&&b>=522||c===$[43]&&b>=1.9;return a},_initOpera:function(){if(this._engineName===null){var b=window.opera&&/Opera[\s\/]([0-9\.]*)/.test(navigator.userAgent);if(b){this._browserName=$[152];this._engineName=$[152];var a=RegExp.$1;a=a.substring(0,3)+"."+a.substring(3);this._parseVersion(a)}}},_initKonqueror:function(){if(this._engineName===null){var b=navigator.vendor;var a=typeof b===$[13]&&b==="KDE"&&/KHTML\/([0-9-\.]*)/.test(navigator.userAgent);if(a){this._engineName=$[72];this._browserName="konqueror";this._parseVersion("420")}}},_initWebkit:function(){if(this._engineName===null){var d=navigator.userAgent;var a=d.indexOf("AppleWebKit")!=-1&&/AppleWebKit\/([^ ]+)/.test(d);if(a){this._engineName=$[72];var b=RegExp.$1;var c=RegExp("[^\\.0-9]").exec(b);if(c){b=b.slice(0,c.index)}this._parseVersion(b);if(d.indexOf("Chrome")!=-1){this._browserName="chrome"}else{if(d.indexOf("Safari")!=-1){if(d.indexOf("Android")!=-1){this._browserName="chrome"}else{this._browserName="safari"}}else{if(d.indexOf("OmniWeb")!=-1){this._browserName="omniweb"}else{if(d.indexOf("Shiira")!=-1){this._browserName="shiira"}else{if(d.indexOf("NetNewsWire")!=-1){this._browserName="netnewswire"}else{if(d.indexOf("RealPlayer")!=-1){this._browserName="realplayer"}else{this._browserName="other webkit"}}}}}}}}},_initGecko:function(){if(this._engineName===null){var c=navigator.product;var b=navigator.userAgent;var a=window.controllers&&typeof c===$[13]&&c==="Gecko"&&/rv\:([^\);]+)(\)|;)/.test(b);if(a){this._engineName=$[43];this._parseVersion(RegExp.$1);if(b.indexOf("Firefox")!=-1){this._browserName="firefox"}else{if(b.indexOf("Camino")!=-1){this._browserName="camino"}else{if(b.indexOf("Galeon")!=-1){this._browserName="galeon"}else{this._browserName="other gecko"}}}}}},_initMshtml:function(){if(this._engineName===null){var a=/MSIE\s+([^\);]+)(\)|;)/.test(navigator.userAgent);if(a){this._engineName=$[18];this._parseVersion(RegExp.$1);this._browserName="explorer"}}},_parseVersion:function(a){if(typeof a===$[13]){versionArr=a.split(".");this._engineVersion=parseFloat(a);this._engineVersionMajor=parseInt(versionArr[0]||0);this._engineVersionMinor=parseFloat(versionArr[1]||0);this._engineVersionRevision=parseFloat(versionArr[2]||0);this._engineVersionBuild=parseInt(versionArr[3]||0)}},_initBoxSizing:function(){var a=[];switch(this._engineName){case $[43]:a.push("-moz-box-sizing");break;case $[72]:a.push("-khtml-box-sizing");a.push("-webkit-box-sizing");break;default:a.push("box-sizing")}this._engineBoxSizingAttributes=a},_initLocale:function(){var c=this._engineName==$[18]?navigator.userLanguage:navigator.language;var b=c.toLowerCase();var a=b.indexOf("-");if(a!=-1){b=b.substr(0,a)}this._browserLocale=b},_initPlatform:function(){var a=navigator.platform;if(a.indexOf("Windows")!=-1||a.indexOf("Win32")!=-1||a.indexOf("Win64")!=-1){this._browserPlatform="win"}else{if(a.indexOf("Macintosh")!=-1||a.indexOf("MacPPC")!=-1||a.indexOf("MacIntel")!=-1){this._browserPlatform="mac"}else{if(a.indexOf("X11")!=-1||a.indexOf("Linux")!=-1||a.indexOf("BSD")!=-1){if(navigator.userAgent.indexOf("Android")!=-1){this._browserPlatform="android"}else{this._browserPlatform="unix"}}else{if(a.indexOf("iPhone")!=-1||a.indexOf("iPod")!=-1||a.indexOf("iPad")!=-1){this._browserPlatform="ios"}else{this._browserPlatform="other"}}}}}},defer:function(c,a,b){c.__init();qx.core.Variant.define($[0],[$[43],$[18],$[152],$[72]],org.eclipse.rwt.Client.getEngine())}});
qx.Class.define("qx.lang.Object",{statics:{isEmpty:function(b){for(var a in b){return false}return true},hasMinLength:function(d,c){var b=0;for(var a in d){if((++b)>=c){return true}}return false},getLength:function(c){var b=0;for(var a in c){b++}return b},_shadowedKeys:["isPrototypeOf","hasOwnProperty","toLocaleString","toString","valueOf"],getKeys:qx.core.Variant.select($[0],{mshtml:function(g){var b=[];for(var f in g){b.push(f)}for(var e=0,d=this._shadowedKeys,c=d.length;e<c;e++){if(g.hasOwnProperty(d[e])){b.push(d[e])}}return b},"default":function(c){var a=[];for(var b in c){a.push(b)}return a}}),getKeysAsString:function(b){var a=qx.lang.Object.getKeys(b);if(a.length==0){return""}return'"'+a.join('", "')+'"'},getValues:function(c){var a=[];for(var b in c){a.push(c[b])}return a},mergeWith:function(d,c,a){if(a===undefined){a=true}for(var b in c){if(a||d[b]===undefined){d[b]=c[b]}}return d},carefullyMergeWith:function(b,a){qx.log.Logger.deprecatedMethodWarning(arguments.callee);return qx.lang.Object.mergeWith(b,a,false)},merge:function(d,b){var a=arguments.length;for(var c=1;c<a;c++){qx.lang.Object.mergeWith(d,arguments[c])}return d},copy:function(b){var c={};for(var a in b){c[a]=b[a]}return c},invert:function(c){var a={};for(var b in c){a[c[b].toString()]=b}return a},getKeyFromValue:function(c,b){for(var a in c){if(c[a]===b){return a}}return null},select:function(a,b){return b[a]},fromArray:function(d){var c={};for(var b=0,a=d.length;b<a;b++){if(qx.core.Variant.isSet($[3],"on")){switch(typeof d[b]){case $[11]:case $[56]:case $[8]:throw new Error("Could not convert complex objects like "+d[b]+" at array index "+b+" to map syntax")}}c[d[b].toString()]=true}return c}}});
qx.Class.define("qx.Class",{statics:{define:function(d,c){if(!c){var c={}}if(c.include&&!(c.include instanceof Array)){c.include=[c.include]}if(c.implement&&!(c.implement instanceof Array)){c.implement=[c.implement]}if(!c.hasOwnProperty("extend")&&!c.type){c.type=$[132]}if(qx.core.Variant.isSet($[3],"on")){this.__validateConfig(d,c)}var b=this.__createClass(d,c.type,c.extend,c.statics,c.construct,c.destruct);if(c.extend){if(c.properties){this.__addProperties(b,c.properties,true)}if(c.members){this.__addMembers(b,c.members,true,true,false)}if(c.events){this.__addEvents(b,c.events,true)}if(c.include){for(var f=0,a=c.include.length;f<a;f++){this.__addMixin(b,c.include[f],false)}}}if(c.settings){for(var e in c.settings){qx.core.Setting.define(e,c.settings[e])}}if(c.variants){for(var e in c.variants){qx.core.Variant.define(e,c.variants[e].allowedValues,c.variants[e].defaultValue)}}if(c.defer){c.defer.self=b;c.defer(b,b.prototype,{add:function(h,g){var i={};i[h]=g;qx.Class.__addProperties(b,i,true)}})}},createNamespace:function(d,c){var g=d.split(".");var f=window;var b=g[0];for(var e=0,a=g.length-1;e<a;e++,b=g[e]){if(!f[b]){f=f[b]={}}else{f=f[b]}}if(qx.core.Variant.isSet($[3],"on")){if(f[b]!==undefined){throw new Error("An object of the name '"+d+"' already exists and overwriting is not allowed!")}}f[b]=c;return b},isDefined:function(a){return this.getByName(a)!==undefined},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry)},getByName:function(a){return this.__registry[a]},include:function(b,a){if(qx.core.Variant.isSet($[3],"on")){if(!a){throw new Error("Includes of mixins must be mixins. The mixin of class '"+b.classname+"' is undefined/null!")}qx.Mixin.isCompatible(a,b)}qx.Class.__addMixin(b,a,false)},patch:function(b,a){if(qx.core.Variant.isSet($[3],"on")){qx.Mixin.isCompatible(a,b)}qx.Class.__addMixin(b,a,true)},isSubClassOf:function(a,b){if(!a){return false}if(a==b){return true}if(a.prototype instanceof b){return true}return false},getPropertyDefinition:function(b,a){while(b){if(b.$$properties&&b.$$properties[a]){return b.$$properties[a]}b=b.superclass}return null},getByProperty:function(b,a){while(b){if(b.$$properties&&b.$$properties[a]){return b}b=b.superclass}return null},hasProperty:function(b,a){return !!this.getPropertyDefinition(b,a)},getEventType:function(b,a){var b=b.constructor;while(b.superclass){if(b.$$events&&b.$$events[a]!==undefined){return b.$$events[a]}b=b.superclass}return null},supportsEvent:function(b,a){return !!this.getEventType(b,a)},hasOwnMixin:function(b,a){return b.$$includes&&b.$$includes.indexOf(a)!==-1},getByMixin:function(c,b){var e,d,a;while(c){if(c.$$includes){e=c.$$flatIncludes;for(d=0,a=e.length;d<a;d++){if(e[d]===b){return c}}}c=c.superclass}return null},getMixins:function(a){var b=[];while(a){if(a.$$includes){b.push.apply(b,a.$$flatIncludes)}a=a.superclass}return b},hasMixin:function(b,a){return !!this.getByMixin(b,a)},hasOwnInterface:function(a,b){return a.$$implements&&a.$$implements.indexOf(b)!==-1},getByInterface:function(b,e){var d,c,a;while(b){if(b.$$implements){d=b.$$flatImplements;for(c=0,a=d.length;c<a;c++){if(d[c]===e){return b}}}b=b.superclass}return null},getInterfaces:function(a){var b=[];while(a){if(a.$$implements){b.push.apply(b,a.$$flatImplements)}a=a.superclass}return b},hasInterface:function(a,b){return !!this.getByInterface(a,b)},implementsInterface:function(a,b){return false},getInstance:function(){if(!this.$$instance){this.$$allowconstruct=true;this.$$instance=new this;delete this.$$allowconstruct}return this.$$instance},genericToString:function(){return"[Class "+this.classname+"]"},__registry:qx.core.Bootstrap.__registry,__allowedKeys:qx.core.Variant.select($[3],{on:{type:$[13],extend:$[56],implement:$[11],include:$[11],construct:$[56],statics:$[11],properties:$[11],members:$[11],settings:$[11],variants:$[11],events:$[11],defer:$[56],destruct:$[56]},"default":null}),__staticAllowedKeys:qx.core.Variant.select($[3],{on:{type:$[13],statics:$[11],settings:$[11],variants:$[11],defer:$[56]},"default":null}),__validateConfig:qx.core.Variant.select($[3],{on:function(b,c){if(c.type&&!(c.type===$[132]||c.type===$[83]||c.type===$[30])){throw new Error('Invalid type "'+c.type+'" definition for class "'+b+'"!')}var h=c.type===$[132]?this.__staticAllowedKeys:this.__allowedKeys;for(var k in c){if(!h[k]){throw new Error($[288]+k+$[126]+b+$[192])}if(c[k]==null){throw new Error($[166]+k+$[126]+b+$[397])}if(typeof c[k]!==h[k]){throw new Error($[275]+k+$[126]+b+$[289]+h[k]+'"!')}}var g=["statics","properties","members","settings","variants","events"];for(var e=0,d=g.length;e<d;e++){var k=g[e];if(c[k]!==undefined&&(c[k] instanceof Array||c[k] instanceof RegExp||c[k] instanceof Date||c[k].classname!==undefined)){throw new Error($[166]+k+$[126]+b+$[392])}}if(c.include){if(c.include instanceof Array){for(var e=0,j=c.include,d=j.length;e<d;e++){if(j[e]==null||j[e].$$type!=="Mixin"){throw new Error('The include definition in class "'+b+'" contains an invalid mixin at position '+e+": "+j[e])}}}else{throw new Error('Invalid include definition in class "'+b+'"! Only mixins and arrays of mixins are allowed!')}}if(c.implement){if(c.implement instanceof Array){for(var e=0,j=c.implement,d=j.length;e<d;e++){if(j[e]==null||j[e].$$type!=="Interface"){throw new Error('The implement definition in class "'+b+'" contains an invalid interface at position '+e+": "+j[e])}}}else{throw new Error('Invalid implement definition in class "'+b+'"! Only interfaces and arrays of interfaces are allowed!')}}if(c.include){try{qx.Mixin.checkCompatibility(c.include)}catch(f){throw new Error('Error in include definition of class "'+b+'"! '+f.message)}}if(c.settings){for(var k in c.settings){if(k.substr(0,k.indexOf("."))!=b.substr(0,b.indexOf("."))){qx.log.Logger.ROOT_LOGGER.error('Forbidden setting "'+k+$[458]+b+'". It is forbidden to define a default setting for an external namespace!')}}}if(c.variants){for(var k in c.variants){if(k.substr(0,k.indexOf("."))!=b.substr(0,b.indexOf("."))){throw new Error('Forbidden variant "'+k+$[458]+b+'". It is forbidden to define a variant for an external namespace!')}}}},"default":function(){}}),__createClass:function(c,n,k,p,r,e){var j;if(!k){j=p||{}}else{j={};if(k){if(!r){r=this.__createDefaultConstructor()}j=this.__wrapConstructor(r,c,n)}if(p){var q;for(var g=0,o=qx.lang.Object.getKeys(p),f=o.length;g<f;g++){q=o[g];j[q]=p[q]}}}var m=this.createNamespace(c,j,false);j.name=j.classname=c;j.basename=m;if(!j.hasOwnProperty("toString")){j.toString=this.genericToString}if(k){var b=k.prototype;var d=this.__createEmptyFunction();d.prototype=b;var h=new d;j.prototype=h;h.name=h.classname=c;h.basename=m;r.base=j.superclass=k;r.self=j.constructor=h.constructor=j;if(e){j.$$destructor=e}}if(qx.core.Variant.isSet($[254],"on")){qx.Clazz=j;qx.Proto=h||null;qx.Super=k||null}this.__registry[c]=j;return j},__addEvents:function(a,c,d){if(qx.core.Variant.isSet($[3],"on")){if(!qx.core.Target){throw new Error(a.classname+": the class 'qx.core.Target' must be availabe to use events!")}if(typeof c!==$[11]||c instanceof Array){throw new Error(a.classname+": the events must be defined as map!")}for(var b in c){if(typeof c[b]!==$[13]){throw new Error(a.classname+"/"+b+": the event value needs to be a string with the class name of the event object which will be fired.")}}if(a.$$events&&d!==true){for(var b in c){if(a.$$events[b]!==undefined&&a.$$events[b]!==c[b]){throw new Error(a.classname+"/"+b+": the event value/type cannot be changed from "+a.$$events[b]+" to "+c[b])}}}}if(a.$$events){for(var b in c){a.$$events[b]=c[b]}}else{a.$$events=c}},__addProperties:function(d,e,g){var c;if(g===undefined){g=false}var a=!!d.$$propertiesAttached;for(var b in e){c=e[b];if(qx.core.Variant.isSet($[3],"on")){this.__validateProperty(d,b,c,g)}c.name=b;if(!c.refine){if(d.$$properties===undefined){d.$$properties={}}d.$$properties[b]=c}if(c.init!==undefined){d.prototype["__init$"+b]=c.init}if(c.event!==undefined){var f={};f[c.event]=$[363];this.__addEvents(d,f,g)}if(c.inheritable){qx.core.Property.$$inheritable[b]=true}if(a){qx.core.Property.attachMethods(d,b,c)}if(c._fast){qx.core.LegacyProperty.addFastProperty(c,d.prototype)}else{if(c._cached){qx.core.LegacyProperty.addCachedProperty(c,d.prototype)}else{if(c._legacy){qx.core.LegacyProperty.addProperty(c,d.prototype)}}}}},__validateProperty:qx.core.Variant.select($[3],{on:function(d,a,c,b){var g=this.hasProperty(d,a);var h=c._legacy||c._fast||c._cached;if(g){var i=this.getPropertyDefinition(d,a);var j=i._legacy||i._fast||i._cached;if(h!=j){throw new Error("Could not redefine existing property '"+a+$[381]+d.classname+"'.")}if(c.refine&&i.init===undefined){throw new Error("Could not refine a init value if there was previously no init value defined. Property '"+a+$[381]+d.classname+"'.")}}if(!g&&c.refine){throw new Error("Could not refine non-existent property: "+a+"!")}if(g&&!b){throw new Error("Class "+d.classname+" already has a property: "+a+"!")}if(g&&b&&!h){if(!c.refine){throw new Error('Could not refine property "'+a+'" without a "refine" flag in the property definition! This class: '+d.classname+", original class: "+this.getByProperty(d,a).classname+".")}for(var f in c){if(f!=="init"&&f!=="refine"){throw new Error("Class "+d.classname+" could not refine property: "+a+"! Key: "+f+" could not be refined!")}}}if(h){return}var e=c.group?qx.core.Property.$$allowedGroupKeys:qx.core.Property.$$allowedKeys;for(var f in c){if(e[f]===undefined){throw new Error($[288]+f+$[384]+a+$[126]+d.classname+$[192])}if(c[f]===undefined){throw new Error($[166]+f+$[384]+a+$[126]+d.classname+'"! The value is undefined: '+c[f])}if(e[f]!==null&&typeof c[f]!==e[f]){throw new Error($[275]+f+$[384]+a+$[126]+d.classname+$[289]+e[f]+'"!')}}if(c.transform!=null){if(!(typeof c.transform==$[13])){throw new Error('Invalid transform definition of property "'+a+$[126]+d.classname+'"! Needs to be a String.')}}if(c.check!=null){if(!(typeof c.check==$[13]||c.check instanceof Array||c.check instanceof Function)){throw new Error('Invalid check definition of property "'+a+$[126]+d.classname+'"! Needs to be a String, Array or Function.')}}if(c.event!=null&&!this.isSubClassOf(d,qx.core.Target)){throw new Error("Invalid property '"+a+"' in class '"+d.classname+"': Properties defining an event can only be defined in sub classes of 'qx.core.Target'!")}},"default":null}),__addMembers:function(k,f,d,b,c){var j=k.prototype;var n,h;for(var g=0,m=qx.lang.Object.getKeys(f),e=m.length;g<e;g++){n=m[g];h=f[n];if(qx.core.Variant.isSet($[3],"on")){if(j[n]!==undefined&&n.charAt(0)=="_"&&n.charAt(1)=="_"){throw new Error('Overwriting private member "'+n+$[528]+k.classname+$[192])}if(d!==true&&j[n]!==undefined){throw new Error('Overwriting member "'+n+$[528]+k.classname+$[192])}}if(b!==false&&h instanceof Function){if(c==true){h=this.__mixinMemberWrapper(h,j[n])}else{if(j[n]){h.base=j[n]}h.self=k}}j[n]=h}},__mixinMemberWrapper:function(b,a){if(a){return function(){var d=b.base;b.base=a;var c=b.apply(this,arguments);b.base=d;return c}}else{return b}},__addMixin:function(c,b,g){if(qx.core.Variant.isSet($[3],"on")){if(!c||!b){throw new Error("Incomplete parameters!")}if(this.hasMixin(c,b)){throw new Error('Mixin "'+b.name+'" is already included into Class "'+c.classname+'" by class: '+this.getByMixin(c,b).classname+"!")}}var f=qx.Mixin.flatten([b]);var e;for(var d=0,a=f.length;d<a;d++){e=f[d];if(e.$$events){this.__addEvents(c,e.$$events,g)}if(e.$$properties){this.__addProperties(c,e.$$properties,g)}if(e.$$members){this.__addMembers(c,e.$$members,g,g,g)}}if(c.$$includes){c.$$includes.push(b);c.$$flatIncludes.push.apply(c.$$flatIncludes,f)}else{c.$$includes=[b];c.$$flatIncludes=f}},__createDefaultConstructor:function(){function a(){arguments.callee.base.apply(this,arguments)}return a},__createEmptyFunction:function(){return function(){}},__wrapConstructor:function(a,b,c){var d=function(){var h=arguments.callee.constructor;if(qx.core.Variant.isSet($[3],"on")){if(!(this instanceof h)){throw new Error("Please initialize "+b+" objects using the new keyword!")}if(c===$[83]){if(this.classname===b){throw new Error("The class "+b+" is abstract! It is not possible to instantiate it.")}}else{if(c===$[30]){if(!h.$$allowconstruct){throw new Error("The class "+b+" is a singleton! It is not possible to instantiate it directly. Use the static getInstance() method instead.")}}}}if(!h.$$propertiesAttached){qx.core.Property.attach(h)}var g=h.$$original.apply(this,arguments);if(h.$$includes){var f=h.$$flatIncludes;for(var j=0,e=f.length;j<e;j++){if(f[j].$$constructor){f[j].$$constructor.apply(this,arguments)}}}if(this.classname===", name, ".classname){this.$$initialized=true}return g};if(c===$[30]){d.getInstance=this.getInstance}d.$$original=a;a.wrapper=d;return d}}});
qx.Class.define("qx.Mixin",{statics:{define:function(c,b){if(b){if(b.include&&!(b.include instanceof Array)){b.include=[b.include]}if(qx.core.Variant.isSet($[3],"on")){this.__validateConfig(c,b)}var a=b.statics?b.statics:{};for(var d in a){a[d].mixin=a}if(b.construct){a.$$constructor=b.construct}if(b.include){a.$$includes=b.include}if(b.properties){a.$$properties=b.properties}if(b.members){a.$$members=b.members}for(var d in a.$$members){if(a.$$members[d] instanceof Function){a.$$members[d].mixin=a}}if(b.events){a.$$events=b.events}if(b.destruct){a.$$destructor=b.destruct}}else{var a={}}a.$$type="Mixin";a.name=c;a.toString=this.genericToString;a.basename=qx.Class.createNamespace(c,a);this.__registry[c]=a;return a},checkCompatibility:function(c){var e=this.flatten(c);var d=e.length;if(d<2){return true}var f={};var a={};var j={};var h;for(var b=0;b<d;b++){h=e[b];for(var g in h.events){if(j[g]){throw new Error($[359]+h.name+'" and "'+j[g]+$[452]+g+'"!')}j[g]=h.name}for(var g in h.properties){if(f[g]){throw new Error($[359]+h.name+'" and "'+f[g]+'" in property "'+g+'"!')}f[g]=h.name}for(var g in h.members){if(a[g]){throw new Error($[359]+h.name+'" and "'+a[g]+$[452]+g+'"!')}a[g]=h.name}}return true},isCompatible:function(a,b){var c=qx.Class.getMixins(b);c.push(a);return qx.Mixin.checkCompatibility(c)},getByName:function(a){return this.__registry[a]},isDefined:function(a){return this.getByName(a)!==undefined},getTotalNumber:function(){return qx.lang.Object.getLength(this.__registry)},flatten:function(b){if(!b){return[]}var d=b.concat();for(var c=0,a=b.length;c<a;c++){if(b[c].$$includes){d.push.apply(d,this.flatten(b[c].$$includes))}}return d},genericToString:function(){return"[Mixin "+this.name+"]"},__registry:{},__allowedKeys:qx.core.Variant.select($[3],{on:{include:$[11],statics:$[11],members:$[11],properties:$[11],events:$[11],destruct:$[56],construct:$[56]},"default":null}),__validateConfig:qx.core.Variant.select($[3],{on:function(e,d){var j=this.__allowedKeys;for(var g in d){if(!j[g]){throw new Error($[288]+g+$[301]+e+$[192])}if(d[g]==null){throw new Error($[166]+g+$[301]+e+$[397])}if(j[g]!==null&&typeof d[g]!==j[g]){throw new Error($[275]+g+$[301]+e+$[289]+j[g]+'"!')}}var h=["statics","members","properties","events"];for(var f=0,c=h.length;f<c;f++){var g=h[f];if(d[g]!==undefined&&(d[g] instanceof Array||d[g] instanceof RegExp||d[g] instanceof Date||d[g].classname!==undefined)){throw new Error($[166]+g+$[301]+e+$[392])}}if(d.include){for(var f=0,b=d.include,c=b.length;f<c;f++){if(b[f]==null){throw new Error($[478]+(f+1)+$[492]+e+"'is undefined/null!")}if(b[f].$$type!=="Mixin"){throw new Error($[478]+(f+1)+$[492]+e+"'is not a mixin!")}}this.checkCompatibility(d.include)}},"default":function(){}})}});

Back to the top