@qooxdoo/framework 7.9.1 → 8.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (597) hide show
  1. package/CHANGELOG.md +191 -33
  2. package/Manifest.json +3 -3
  3. package/bin/tools/utils.js +50 -13
  4. package/lib/compiler/compile-info.json +295 -225
  5. package/lib/compiler/index.js +56729 -44017
  6. package/lib/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-node.tmpl.js +1 -0
  7. package/lib/resource/qx/tool/compiler/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css.map +1 -0
  8. package/{source/resource/qx/tool → lib/resource/qx/tool/compiler}/cli/templates/template_vars.js +12 -9
  9. package/{source/resource/qx/tool → lib/resource/qx/tool/compiler}/schema/Manifest-1-0-0.json +2 -2
  10. package/lib/resource/qx/tool/{schema → compiler/schema}/Manifest-2-0-0.json +2 -2
  11. package/lib/resource/qx/tool/{schema → compiler/schema}/compile-1-0-0.json +15 -3
  12. package/{source/resource/qx/tool → lib/resource/qx/tool/compiler}/schema/qooxdoo-1-0-0.json +1 -1
  13. package/lib/resource/qx/tool/website/build/404.html +22 -22
  14. package/lib/resource/qx/tool/website/build/about.html +23 -23
  15. package/lib/resource/qx/tool/website/build/assets/common.js +30 -18
  16. package/lib/resource/qx/tool/website/build/assets/custom.css +290 -0
  17. package/lib/resource/qx/tool/website/build/assets/qxWeb.js +28 -0
  18. package/lib/resource/qx/tool/website/build/diagnostics/dependson.html +30 -30
  19. package/lib/resource/qx/tool/website/build/diagnostics/dependson.js +49 -40
  20. package/lib/resource/qx/tool/website/build/diagnostics/requiredby.html +20 -23
  21. package/lib/resource/qx/tool/website/build/diagnostics/requiredby.js +38 -31
  22. package/lib/resource/qx/tool/website/build/index.html +24 -24
  23. package/lib/resource/qx/tool/website/build/scripts/serve.js +63 -65
  24. package/lib/resource/qx/tool/website/partials/footer.html +8 -13
  25. package/lib/resource/qx/tool/website/partials/head.html +9 -7
  26. package/lib/resource/qx/tool/website/partials/header.html +3 -3
  27. package/lib/resource/qx/tool/website/src/assets/common.js +32 -0
  28. package/lib/resource/qx/tool/website/src/assets/custom.css +290 -0
  29. package/lib/resource/qx/tool/website/src/assets/qxWeb.js +28 -0
  30. package/lib/resource/qx/tool/website/src/diagnostics/dependson.js +49 -40
  31. package/lib/resource/qx/tool/website/src/diagnostics/requiredby.js +38 -31
  32. package/lib/resource/qx/tool/website/src/index.html +2 -2
  33. package/lib/resource/qx/tool/website/src/scripts/serve.js +63 -65
  34. package/package.json +20 -19
  35. package/source/boot/index.html +2 -2
  36. package/source/class/qx/Bootstrap.js +931 -705
  37. package/source/class/qx/Class.js +1476 -1451
  38. package/source/class/qx/Interface.js +40 -107
  39. package/source/class/qx/Mixin.js +58 -116
  40. package/source/class/qx/Promise.js +1 -0
  41. package/source/class/qx/Theme.js +1 -1
  42. package/source/class/qx/application/Routing.js +2 -0
  43. package/source/class/qx/bom/Font.js +3 -0
  44. package/source/class/qx/bom/client/Locale.js +5 -0
  45. package/source/class/qx/bom/request/Jsonp.js +5 -13
  46. package/source/class/qx/bom/request/Script.js +11 -35
  47. package/source/class/qx/bom/request/SimpleXhr.js +13 -41
  48. package/source/class/qx/bom/request/Xhr.js +19 -80
  49. package/source/class/qx/bom/storage/Memory.js +2 -0
  50. package/source/class/qx/bom/storage/UserData.js +2 -0
  51. package/source/class/qx/bom/storage/Web.js +2 -0
  52. package/source/class/qx/bom/webfonts/Validator.js +13 -5
  53. package/source/class/qx/core/Assert.js +14 -0
  54. package/source/class/qx/core/BaseInit.js +19 -20
  55. package/source/class/qx/core/Environment.js +23 -20
  56. package/source/class/qx/core/MEvent.js +1 -1
  57. package/source/class/qx/core/MObjectId.js +8 -6
  58. package/source/class/qx/core/MProperty.js +172 -136
  59. package/source/class/qx/core/Object.js +88 -102
  60. package/source/class/qx/core/check/AbstractCheck.js +111 -0
  61. package/source/class/qx/core/check/Any.js +63 -0
  62. package/source/class/qx/core/check/CheckFactory.js +151 -0
  63. package/source/class/qx/core/check/DynamicTypeCheck.js +90 -0
  64. package/source/class/qx/core/check/ICheck.js +75 -0
  65. package/source/class/qx/core/check/IsOneOfCheck.js +63 -0
  66. package/source/class/qx/core/check/JsDocCheck.js +71 -0
  67. package/source/class/qx/core/check/SimpleCheck.js +42 -0
  68. package/source/class/qx/core/check/standard/ArrayCheck.js +49 -0
  69. package/source/class/qx/core/check/standard/BooleanCheck.js +47 -0
  70. package/source/class/qx/core/check/standard/ClassCheck.js +33 -0
  71. package/source/class/qx/core/check/standard/ColorCheck.js +33 -0
  72. package/source/class/qx/core/check/standard/DateCheck.js +49 -0
  73. package/source/class/qx/core/check/standard/DecoratorCheck.js +33 -0
  74. package/source/class/qx/core/check/standard/DocumentCheck.js +40 -0
  75. package/source/class/qx/core/check/standard/ElementCheck.js +40 -0
  76. package/source/class/qx/core/check/standard/ErrorCheck.js +46 -0
  77. package/source/class/qx/core/check/standard/EventCheck.js +40 -0
  78. package/source/class/qx/core/check/standard/FontCheck.js +33 -0
  79. package/source/class/qx/core/check/standard/FunctionCheck.js +49 -0
  80. package/source/class/qx/core/check/standard/IntegerCheck.js +54 -0
  81. package/source/class/qx/core/check/standard/InterfaceCheck.js +33 -0
  82. package/source/class/qx/core/check/standard/MapCheck.js +33 -0
  83. package/source/class/qx/core/check/standard/MixinCheck.js +33 -0
  84. package/source/class/qx/core/check/standard/NodeCheck.js +40 -0
  85. package/source/class/qx/core/check/standard/NumberCheck.js +48 -0
  86. package/source/class/qx/core/check/standard/ObjectCheck.js +33 -0
  87. package/source/class/qx/core/check/standard/PositiveIntegerCheck.js +45 -0
  88. package/source/class/qx/core/check/standard/PositiveNumberCheck.js +45 -0
  89. package/source/class/qx/core/check/standard/PromiseCheck.js +33 -0
  90. package/source/class/qx/core/check/standard/RegExpCheck.js +46 -0
  91. package/source/class/qx/core/check/standard/StringCheck.js +43 -0
  92. package/source/class/qx/core/check/standard/ThemeCheck.js +33 -0
  93. package/source/class/qx/core/check/standard/WindowCheck.js +40 -0
  94. package/source/class/qx/core/property/ExplicitPropertyStorage.js +87 -0
  95. package/source/class/qx/core/property/GroupProperty.js +262 -0
  96. package/source/class/qx/core/property/IProperty.js +46 -0
  97. package/source/class/qx/core/property/IPropertyStorage.js +83 -0
  98. package/source/class/qx/core/property/ImmutableArrayStorage.js +38 -0
  99. package/source/class/qx/core/property/ImmutableDataArrayStorage.js +38 -0
  100. package/source/class/qx/core/property/ImmutableObjectStorage.js +39 -0
  101. package/source/class/qx/core/property/Property.js +1481 -0
  102. package/source/class/qx/core/property/PropertyStorageFactory.js +22 -0
  103. package/source/class/qx/core/property/SimplePropertyStorage.js +105 -0
  104. package/source/class/qx/data/Array.js +102 -57
  105. package/source/class/qx/data/MBinding.js +4 -29
  106. package/source/class/qx/data/SingleValueBinding.js +596 -1495
  107. package/source/class/qx/data/binding/AbstractSegment.js +197 -0
  108. package/source/class/qx/data/binding/ArrayIndexSegment.js +148 -0
  109. package/source/class/qx/data/binding/IInputReceiver.js +14 -0
  110. package/source/class/qx/data/binding/PropNameSegment.js +150 -0
  111. package/source/class/qx/data/controller/CheckedList.js +1 -1
  112. package/source/class/qx/data/controller/Form.js +78 -8
  113. package/source/class/qx/data/controller/Tree.js +27 -117
  114. package/source/class/qx/data/marshal/Json.js +46 -149
  115. package/source/class/qx/data/store/Json.js +0 -2
  116. package/source/class/qx/dev/Debug.js +1 -1
  117. package/source/class/qx/dev/LeakDetector.js +144 -0
  118. package/source/class/qx/dev/unit/AsyncWrapper.js +1 -0
  119. package/source/class/qx/dev/unit/MMock.js +7 -2
  120. package/source/class/qx/dev/unit/Sinon.js +0 -4
  121. package/source/class/qx/dev/unit/TestClass.js +2 -2
  122. package/source/class/qx/dev/unit/TestFunction.js +1 -0
  123. package/source/class/qx/dev/unit/TestLoaderBasic.js +1 -0
  124. package/source/class/qx/dev/unit/TestRunner.js +106 -0
  125. package/source/class/qx/event/IEventDispatcher.js +8 -4
  126. package/source/class/qx/event/Manager.js +4 -0
  127. package/source/class/qx/event/Messaging.js +2 -0
  128. package/source/class/qx/event/Pool.js +7 -0
  129. package/source/class/qx/event/Registration.js +33 -55
  130. package/source/class/qx/event/Timer.js +2 -0
  131. package/source/class/qx/event/Utils.js +25 -8
  132. package/source/class/qx/event/dispatch/AbstractBubbling.js +98 -194
  133. package/source/class/qx/event/dispatch/Direct.js +18 -13
  134. package/source/class/qx/event/handler/Appear.js +20 -24
  135. package/source/class/qx/event/handler/Application.js +4 -0
  136. package/source/class/qx/event/handler/DragDrop.js +182 -385
  137. package/source/class/qx/event/handler/Element.js +3 -0
  138. package/source/class/qx/event/handler/Focus.js +36 -30
  139. package/source/class/qx/event/handler/Input.js +5 -0
  140. package/source/class/qx/event/handler/Keyboard.js +107 -165
  141. package/source/class/qx/event/handler/Pointer.js +39 -68
  142. package/source/class/qx/event/handler/PointerCore.js +7 -25
  143. package/source/class/qx/event/handler/Window.js +5 -0
  144. package/source/class/qx/event/type/Event.js +12 -0
  145. package/source/class/qx/event/type/KeySequence.js +3 -0
  146. package/source/class/qx/event/type/Native.js +3 -0
  147. package/source/class/qx/html/Element.js +26 -91
  148. package/source/class/qx/io/jsonrpc/Client.js +1 -1
  149. package/source/class/qx/io/jsonrpc/protocol/Error.js +2 -2
  150. package/source/class/qx/io/jsonrpc/protocol/Parser.js +1 -0
  151. package/source/class/qx/io/jsonrpc/protocol/Result.js +2 -2
  152. package/source/class/qx/io/request/Xhr.js +3 -8
  153. package/source/class/qx/lang/normalize/Array.js +23 -1
  154. package/source/class/qx/locale/Date.js +520 -113
  155. package/source/class/qx/locale/LocalizedString.js +3 -0
  156. package/source/class/qx/locale/Manager.js +14 -3
  157. package/source/class/qx/locale/Number.js +60 -7
  158. package/source/class/qx/log/Logger.js +1 -1
  159. package/source/class/qx/module/Animation.js +2 -0
  160. package/source/class/qx/module/Attribute.js +2 -0
  161. package/source/class/qx/module/Css.js +7 -24
  162. package/source/class/qx/module/Event.js +2 -0
  163. package/source/class/qx/module/Manipulating.js +2 -0
  164. package/source/class/qx/module/Traversing.js +2 -0
  165. package/source/class/qx/test/Bootstrap.js +68 -53
  166. package/source/class/qx/test/Class.js +310 -2
  167. package/source/class/qx/test/Mixin.js +192 -42
  168. package/source/class/qx/test/Promise.js +129 -331
  169. package/source/class/qx/test/Theme.js +11 -0
  170. package/source/class/qx/test/bom/Font.js +2 -5
  171. package/source/class/qx/test/bom/Template.js +1 -1
  172. package/source/class/qx/test/compiler/ClassFile.js +14 -0
  173. package/source/class/qx/test/core/Assert.js +12 -0
  174. package/source/class/qx/test/core/Environment.js +17 -3
  175. package/source/class/qx/test/core/InheritanceDummy.js +10 -1
  176. package/source/class/qx/test/core/Object.js +51 -24
  177. package/source/class/qx/test/core/ObjectId.js +10 -1
  178. package/source/class/qx/test/core/Property.js +1338 -121
  179. package/source/class/qx/test/core/PropertyHelper.js +12 -0
  180. package/source/class/qx/test/core/Target.js +1 -0
  181. package/source/class/qx/test/core/Validation.js +2 -0
  182. package/source/class/qx/test/data/DataArray.js +218 -639
  183. package/source/class/qx/test/data/DataArrayWithChangeBubble.js +45 -215
  184. package/source/class/qx/test/data/MultiBinding.js +42 -0
  185. package/source/class/qx/test/data/async/__init__.js +4 -0
  186. package/source/class/qx/test/data/controller/Form.js +523 -14
  187. package/source/class/qx/test/data/controller/List.js +94 -426
  188. package/source/class/qx/test/data/controller/ListReverse.js +5 -20
  189. package/source/class/qx/test/data/controller/ListWithObjects.js +49 -225
  190. package/source/class/qx/test/data/controller/Object.js +54 -222
  191. package/source/class/qx/test/data/controller/Tree.js +195 -934
  192. package/source/class/qx/test/data/marshal/Json.js +74 -312
  193. package/source/class/qx/test/data/singlevalue/Array.js +55 -279
  194. package/source/class/qx/test/data/singlevalue/Async.js +173 -0
  195. package/source/class/qx/test/data/singlevalue/Deep.js +148 -327
  196. package/source/class/qx/test/data/singlevalue/Resolve.js +8 -28
  197. package/source/class/qx/test/data/singlevalue/Simple.js +124 -359
  198. package/source/class/qx/test/data/store/Json.js +86 -254
  199. package/source/class/qx/test/data/store/Jsonp.js +9 -29
  200. package/source/class/qx/test/data/store/Offline.js +2 -8
  201. package/source/class/qx/test/data/store/Rest.js +3 -3
  202. package/source/class/qx/test/dev/unit/Requirements.js +26 -10
  203. package/source/class/qx/test/event/GlobalError.js +2 -2
  204. package/source/class/qx/test/html/Iframe.js +1 -1
  205. package/source/class/qx/test/io/graphql/Client.js +2 -0
  206. package/source/class/qx/test/io/jsonrpc/Protocol.js +4 -2
  207. package/source/class/qx/test/io/request/MRequest.js +2 -8
  208. package/source/class/qx/test/io/request/Xhr.js +27 -117
  209. package/source/class/qx/test/lang/Function.js +6 -25
  210. package/source/class/qx/test/lang/Type.js +31 -13
  211. package/source/class/qx/test/locale/Date.js +173 -2
  212. package/source/class/qx/test/locale/Locale.js +23 -28
  213. package/source/class/qx/test/locale/Number.js +71 -0
  214. package/source/class/qx/test/log/Logger.js +7 -1
  215. package/source/class/qx/test/log/fixture/ClassA.js +2 -5
  216. package/source/class/qx/test/mobile/basic/Atom.js +3 -3
  217. package/source/class/qx/test/mobile/container/Scroll.js +4 -4
  218. package/source/class/qx/test/mobile/form/CheckBox.js +6 -12
  219. package/source/class/qx/test/performance/Property.js +5 -4
  220. package/source/class/qx/test/performance/widget/WidgetWithDecorator.js +2 -0
  221. package/source/class/qx/test/theme/Simple.js +34 -0
  222. package/source/class/qx/test/{MAppearance.js → theme/SimpleAppearance.js} +5 -4
  223. package/source/class/qx/test/{MDecoration.js → theme/SimpleDecoration.js} +6 -4
  224. package/source/class/qx/test/theme/manager/Color.js +23 -15
  225. package/source/class/qx/test/theme/manager/Decoration.js +23 -15
  226. package/source/class/qx/test/theme/manager/Font.js +23 -15
  227. package/source/class/qx/test/theme/manager/Icon.js +23 -15
  228. package/source/class/qx/test/theme/manager/Meta.js +33 -20
  229. package/source/class/qx/test/tool/__init__.js +3 -0
  230. package/source/class/qx/test/tool/cli/AbstractValue.js +274 -0
  231. package/source/class/qx/test/tool/cli/Argument.js +384 -0
  232. package/source/class/qx/test/tool/cli/Command.js +387 -0
  233. package/source/class/qx/test/tool/cli/Flag.js +413 -0
  234. package/source/class/qx/test/tool/cli/__init__.js +3 -0
  235. package/source/class/qx/test/ui/LayoutTestCase.js +1 -14
  236. package/source/class/qx/test/ui/basic/Label.js +106 -0
  237. package/source/class/qx/test/ui/core/Blocker.js +125 -3
  238. package/source/class/qx/test/ui/form/Form.js +106 -0
  239. package/source/class/qx/test/ui/form/FormManager.js +6 -5
  240. package/source/class/qx/test/ui/form/SplitButton.js +1 -1
  241. package/source/class/qx/test/ui/toolbar/OverflowHandling.js +13 -14
  242. package/source/class/qx/test/ui/toolbar/ToolBar.js +16 -16
  243. package/source/class/qx/test/ui/tree/TreeFolder.js +5 -7
  244. package/source/class/qx/test/ui/tree/virtual/AbstractTreeTest.js +2 -0
  245. package/source/class/qx/test/ui/tree/virtual/Tree.js +36 -0
  246. package/source/class/qx/test/util/DateFormat.js +1 -1
  247. package/source/class/qx/test/util/PropertyUtil.js +0 -36
  248. package/source/class/qx/theme/classic/Appearance.js +1 -1
  249. package/source/class/qx/theme/indigo/ColorDark.js +2 -0
  250. package/source/class/qx/theme/manager/Font.js +6 -1
  251. package/source/class/qx/theme/manager/Meta.js +2 -1
  252. package/source/class/qx/theme/simple/Appearance.js +31 -95
  253. package/source/class/qx/theme/simple/Decoration.js +0 -1
  254. package/source/class/qx/theme/tangible/Appearance.js +1 -1
  255. package/source/class/qx/tool/cli/AbstractCliApp.js +72 -0
  256. package/source/class/qx/tool/cli/AbstractValue.js +186 -0
  257. package/source/class/qx/tool/cli/Argument.js +155 -0
  258. package/source/class/qx/tool/cli/Command.js +518 -0
  259. package/source/class/qx/tool/cli/Flag.js +202 -0
  260. package/source/class/qx/tool/cli/Parser.js +39 -0
  261. package/source/class/qx/tool/cli/__init__.js +26 -1
  262. package/source/class/qx/tool/compiler/Analyser.js +41 -13
  263. package/source/class/qx/tool/compiler/ClassFile.js +37 -9
  264. package/source/class/qx/tool/compiler/Console.js +2 -0
  265. package/source/class/qx/tool/compiler/MetaExtraction.js +53 -33
  266. package/source/class/qx/tool/compiler/app/Library.js +1 -1
  267. package/source/class/qx/tool/compiler/app/WebFont.js +2 -0
  268. package/source/class/qx/tool/compiler/cli/Application.js +58 -0
  269. package/source/class/qx/tool/{cli/commands → compiler/cli}/Command.js +99 -45
  270. package/source/class/qx/tool/{cli → compiler/cli}/ConfigDb.js +7 -7
  271. package/source/class/qx/tool/compiler/cli/ConfigLoader.js +272 -0
  272. package/source/class/qx/tool/{cli → compiler/cli}/LibraryApplication.js +3 -3
  273. package/source/class/qx/tool/compiler/cli/RootCommand.js +63 -0
  274. package/source/class/qx/tool/{cli → compiler/cli}/Watch.js +49 -24
  275. package/source/class/qx/tool/compiler/cli/__init__.js +3 -0
  276. package/source/class/qx/tool/{cli → compiler/cli}/api/AbstractApi.js +2 -11
  277. package/source/class/qx/tool/{cli → compiler/cli}/api/CompilerApi.js +11 -10
  278. package/source/class/qx/tool/{cli → compiler/cli}/api/LibraryApi.js +13 -4
  279. package/source/class/qx/tool/{cli → compiler/cli}/api/Test.js +1 -1
  280. package/source/class/qx/tool/compiler/cli/commands/Add.js +49 -0
  281. package/source/class/qx/tool/{cli → compiler/cli}/commands/Clean.js +12 -25
  282. package/source/class/qx/tool/{cli → compiler/cli}/commands/Compile.js +524 -615
  283. package/source/class/qx/tool/{cli → compiler/cli}/commands/Config.js +22 -20
  284. package/source/class/qx/tool/{cli → compiler/cli}/commands/Create.js +77 -54
  285. package/source/class/qx/tool/{cli → compiler/cli}/commands/Deploy.js +45 -60
  286. package/source/class/qx/tool/{cli → compiler/cli}/commands/Es6ify.js +57 -41
  287. package/source/class/qx/tool/{cli → compiler/cli}/commands/ExportGlyphs.js +26 -7
  288. package/source/class/qx/tool/compiler/cli/commands/Lint.js +420 -0
  289. package/source/class/qx/tool/{cli → compiler/cli}/commands/Migrate.js +40 -20
  290. package/source/class/qx/tool/{cli → compiler/cli}/commands/Package.js +20 -32
  291. package/source/class/qx/tool/compiler/cli/commands/Pkg.js +36 -0
  292. package/source/class/qx/tool/compiler/cli/commands/Prettier.js +278 -0
  293. package/source/class/qx/tool/{cli → compiler/cli}/commands/Run.js +43 -39
  294. package/source/class/qx/tool/{cli → compiler/cli}/commands/Serve.js +63 -61
  295. package/source/class/qx/tool/{cli → compiler/cli}/commands/Test.js +49 -52
  296. package/source/class/qx/tool/{cli → compiler/cli}/commands/Typescript.js +51 -30
  297. package/source/class/qx/tool/{cli → compiler/cli}/commands/add/Class.js +54 -31
  298. package/source/class/qx/tool/{cli → compiler/cli}/commands/add/Script.js +56 -32
  299. package/source/class/qx/tool/{cli → compiler/cli}/commands/config/Delete.js +19 -13
  300. package/source/class/qx/tool/{cli → compiler/cli}/commands/config/Get.js +19 -13
  301. package/source/class/qx/tool/{cli → compiler/cli}/commands/config/List.js +20 -20
  302. package/source/class/qx/tool/{cli → compiler/cli}/commands/config/Set.js +28 -20
  303. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Install.js +140 -75
  304. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/List.js +119 -80
  305. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Publish.js +194 -178
  306. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Remove.js +18 -21
  307. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Update.js +90 -69
  308. package/source/class/qx/tool/{cli → compiler/cli}/commands/package/Upgrade.js +67 -54
  309. package/source/class/qx/tool/compiler/makers/AbstractAppMaker.js +2 -1
  310. package/source/class/qx/tool/compiler/resources/Manager.js +2 -0
  311. package/source/class/qx/tool/compiler/resources/ScssConverter.js +1 -1
  312. package/source/class/qx/tool/compiler/resources/ScssFile.js +1 -1
  313. package/source/class/qx/tool/compiler/targets/Target.js +5 -10
  314. package/source/class/qx/tool/compiler/targets/TypeScriptWriter.js +6 -2
  315. package/source/class/qx/tool/compiler/targets/meta/ApplicationMeta.js +2 -4
  316. package/source/class/qx/tool/compiler/targets/meta/BootJs.js +2 -0
  317. package/source/class/qx/tool/compiler/targets/meta/PackageJavascript.js +2 -0
  318. package/source/class/qx/tool/config/Abstract.js +5 -5
  319. package/source/class/qx/tool/config/Lockfile.js +1 -1
  320. package/source/class/qx/tool/migration/BaseMigration.js +9 -7
  321. package/source/class/qx/tool/migration/M6_0_0.js +3 -3
  322. package/source/class/qx/tool/migration/M8_0_0.js +958 -0
  323. package/source/class/qx/tool/utils/Debounce.js +0 -1
  324. package/source/class/qx/tool/utils/Http.js +109 -21
  325. package/source/class/qx/tool/utils/LogManager.js +7 -0
  326. package/source/class/qx/tool/utils/Promisify.js +12 -1
  327. package/source/class/qx/tool/utils/QooxdooVersions.js +193 -0
  328. package/source/class/qx/tool/utils/Utils.js +8 -5
  329. package/source/class/qx/tool/utils/Website.js +9 -222
  330. package/source/class/qx/tool/utils/Zip.js +47 -0
  331. package/source/class/qx/tool/utils/files/Utils.js +3 -11
  332. package/source/class/qx/tool/utils/json/Tokenizer.js +5 -0
  333. package/source/class/qx/ui/basic/Atom.js +8 -8
  334. package/source/class/qx/ui/core/Blocker.js +17 -4
  335. package/source/class/qx/ui/core/DragDropCursor.js +2 -1
  336. package/source/class/qx/ui/core/EventHandler.js +13 -21
  337. package/source/class/qx/ui/core/LayoutItem.js +8 -31
  338. package/source/class/qx/ui/core/MExecutable.js +21 -43
  339. package/source/class/qx/ui/core/MNativeOverflow.js +4 -2
  340. package/source/class/qx/ui/core/Widget.js +50 -165
  341. package/source/class/qx/ui/core/scroll/IScrollBar.js +9 -3
  342. package/source/class/qx/ui/core/scroll/ScrollBar.js +7 -1
  343. package/source/class/qx/ui/core/scroll/ScrollPane.js +12 -4
  344. package/source/class/qx/ui/embed/Html.js +6 -2
  345. package/source/class/qx/ui/form/AbstractField.js +4 -12
  346. package/source/class/qx/ui/form/Button.js +6 -4
  347. package/source/class/qx/ui/form/CheckedSelectBox.js +8 -8
  348. package/source/class/qx/ui/form/FileSelectorButton.js +1 -1
  349. package/source/class/qx/ui/form/Form.js +3 -0
  350. package/source/class/qx/ui/form/IListItem.js +3 -1
  351. package/source/class/qx/ui/form/IRadioItem.js +3 -1
  352. package/source/class/qx/ui/form/MForm.js +3 -1
  353. package/source/class/qx/ui/form/Slider.js +6 -2
  354. package/source/class/qx/ui/form/SplitButton.js +5 -5
  355. package/source/class/qx/ui/form/TextField.js +1 -2
  356. package/source/class/qx/ui/form/validation/Manager.js +6 -2
  357. package/source/class/qx/ui/menubar/Button.js +1 -1
  358. package/source/class/qx/ui/mobile/basic/Atom.js +5 -5
  359. package/source/class/qx/ui/mobile/dialog/Menu.js +9 -31
  360. package/source/class/qx/ui/mobile/dialog/Popup.js +13 -1
  361. package/source/class/qx/ui/table/pane/FocusIndicator.js +5 -2
  362. package/source/class/qx/ui/table/pane/Scroller.js +11 -28
  363. package/source/class/qx/ui/table/selection/Model.js +1 -0
  364. package/source/class/qx/ui/toolbar/Button.js +1 -1
  365. package/source/class/qx/ui/toolbar/CheckBox.js +1 -1
  366. package/source/class/qx/ui/toolbar/FileSelectorButton.js +1 -2
  367. package/source/class/qx/ui/toolbar/Part.js +2 -2
  368. package/source/class/qx/ui/toolbar/PartContainer.js +2 -2
  369. package/source/class/qx/ui/toolbar/ToolBar.js +24 -49
  370. package/source/class/qx/ui/tree/VirtualTree.js +6 -4
  371. package/source/class/qx/ui/tree/core/AbstractItem.js +10 -17
  372. package/source/class/qx/ui/tree/core/IVirtualTree.js +4 -2
  373. package/source/class/qx/ui/tree/provider/IVirtualTreeProvider.js +20 -10
  374. package/source/class/qx/ui/treevirtual/SimpleTreeDataModel.js +4 -1
  375. package/source/class/qx/ui/virtual/cell/Cell.js +20 -48
  376. package/source/class/qx/ui/virtual/cell/WidgetCell.js +2 -4
  377. package/source/class/qx/ui/virtual/core/Axis.js +4 -0
  378. package/source/class/qx/ui/virtual/core/ILayer.js +14 -10
  379. package/source/class/qx/ui/virtual/core/Scroller.js +4 -4
  380. package/source/class/qx/ui/virtual/layer/WidgetCell.js +4 -0
  381. package/source/class/qx/ui/virtual/selection/Abstract.js +3 -0
  382. package/source/class/qx/ui/virtual/selection/MModel.js +1 -1
  383. package/source/class/qx/ui/window/IDesktop.js +6 -2
  384. package/source/class/qx/ui/window/IWindowManager.js +10 -4
  385. package/source/class/qx/ui/window/MDesktop.js +2 -1
  386. package/source/class/qx/ui/window/Manager.js +1 -1
  387. package/source/class/qx/ui/window/Window.js +6 -4
  388. package/source/class/qx/util/OOUtil.js +8 -9
  389. package/source/class/qx/util/PropertyUtil.js +34 -154
  390. package/source/class/qx/util/ResponseParser.js +2 -0
  391. package/source/class/qx/util/Serializer.js +69 -114
  392. package/source/class/qx/util/format/DateFormat.js +3 -2
  393. package/source/global.d.ts +4 -0
  394. package/source/resource/qx/tool/bin/download-assets +0 -2
  395. package/source/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-node.tmpl.js +1 -0
  396. package/{lib/resource/qx/tool → source/resource/qx/tool/compiler}/cli/templates/template_vars.js +12 -9
  397. package/{lib/resource/qx/tool → source/resource/qx/tool/compiler}/schema/Manifest-1-0-0.json +2 -2
  398. package/source/resource/qx/tool/{schema → compiler/schema}/Manifest-2-0-0.json +2 -2
  399. package/source/resource/qx/tool/{schema → compiler/schema}/compile-1-0-0.json +15 -3
  400. package/{lib/resource/qx/tool → source/resource/qx/tool/compiler}/schema/qooxdoo-1-0-0.json +1 -1
  401. package/source/resource/qx/tool/website/build/404.html +22 -22
  402. package/source/resource/qx/tool/website/build/about.html +23 -23
  403. package/source/resource/qx/tool/website/build/assets/common.js +30 -18
  404. package/source/resource/qx/tool/website/build/assets/custom.css +290 -0
  405. package/source/resource/qx/tool/website/build/assets/qxWeb.js +28 -0
  406. package/source/resource/qx/tool/website/build/diagnostics/dependson.html +30 -30
  407. package/source/resource/qx/tool/website/build/diagnostics/dependson.js +49 -40
  408. package/source/resource/qx/tool/website/build/diagnostics/requiredby.html +20 -23
  409. package/source/resource/qx/tool/website/build/diagnostics/requiredby.js +38 -31
  410. package/source/resource/qx/tool/website/build/index.html +24 -24
  411. package/source/resource/qx/tool/website/build/scripts/serve.js +63 -65
  412. package/source/resource/qx/tool/website/partials/footer.html +8 -13
  413. package/source/resource/qx/tool/website/partials/head.html +9 -7
  414. package/source/resource/qx/tool/website/partials/header.html +3 -3
  415. package/source/resource/qx/tool/website/src/assets/common.js +32 -0
  416. package/source/resource/qx/tool/website/src/assets/custom.css +290 -0
  417. package/source/resource/qx/tool/website/src/assets/qxWeb.js +28 -0
  418. package/source/resource/qx/tool/website/src/diagnostics/dependson.js +49 -40
  419. package/source/resource/qx/tool/website/src/diagnostics/requiredby.js +38 -31
  420. package/source/resource/qx/tool/website/src/index.html +2 -2
  421. package/source/resource/qx/tool/website/src/scripts/serve.js +63 -65
  422. package/lib/resource/qx/tool/bin/build-devtools +0 -13
  423. package/lib/resource/qx/tool/bin/build-website +0 -15
  424. package/lib/resource/qx/tool/bin/download-assets +0 -23
  425. package/lib/resource/qx/tool/cli/templates/skeleton/mobile/source/theme/custom/css/custom.css.map +0 -1
  426. package/lib/resource/qx/tool/website/build/assets/bootstrap.css +0 -7
  427. package/lib/resource/qx/tool/website/build/assets/bootstrap.min.css +0 -7
  428. package/lib/resource/qx/tool/website/build/assets/bootstrap.min.css.map +0 -1
  429. package/lib/resource/qx/tool/website/build/assets/jquery.js +0 -5453
  430. package/lib/resource/qx/tool/website/build/qooxdoo.css +0 -21
  431. package/lib/resource/qx/tool/website/sass/qooxdoo.css +0 -3
  432. package/lib/resource/qx/tool/website/sass/qooxdoo.css.map +0 -1
  433. package/lib/resource/qx/tool/website/src/assets/bootstrap.css +0 -7
  434. package/lib/resource/qx/tool/website/src/assets/bootstrap.min.css +0 -7
  435. package/lib/resource/qx/tool/website/src/assets/bootstrap.min.css.map +0 -1
  436. package/lib/resource/qx/tool/website/src/assets/jquery.js +0 -5453
  437. package/source/class/qx/core/Property.js +0 -2100
  438. package/source/class/qx/tool/cli/Application.js +0 -47
  439. package/source/class/qx/tool/cli/Cli.js +0 -713
  440. package/source/class/qx/tool/cli/commands/Add.js +0 -46
  441. package/source/class/qx/tool/cli/commands/Lint.js +0 -255
  442. package/source/class/qx/tool/cli/commands/Pkg.js +0 -56
  443. package/source/class/qx/tool/cli/commands/package/Migrate.js +0 -37
  444. package/source/class/qx/tool/compiler/app/Cldr.js +0 -725
  445. package/source/resource/qx/tool/bin/build-devtools +0 -13
  446. package/source/resource/qx/tool/bin/build-website +0 -15
  447. package/source/resource/qx/tool/website/build/assets/bootstrap.css +0 -7
  448. package/source/resource/qx/tool/website/build/assets/bootstrap.min.css +0 -7
  449. package/source/resource/qx/tool/website/build/assets/bootstrap.min.css.map +0 -1
  450. package/source/resource/qx/tool/website/build/assets/jquery.js +0 -5453
  451. package/source/resource/qx/tool/website/build/qooxdoo.css +0 -21
  452. package/source/resource/qx/tool/website/sass/qooxdoo.scss +0 -31
  453. package/source/resource/qx/tool/website/src/assets/bootstrap.css +0 -7
  454. package/source/resource/qx/tool/website/src/assets/bootstrap.min.css +0 -7
  455. package/source/resource/qx/tool/website/src/assets/bootstrap.min.css.map +0 -1
  456. package/source/resource/qx/tool/website/src/assets/jquery.js +0 -5453
  457. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/TypeScriptWriter-base_declaration.d.ts +0 -0
  458. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/default.tmpl.js +0 -0
  459. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/header.tmpl.js +0 -0
  460. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/interface.tmpl.js +0 -0
  461. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/mixin.tmpl.js +0 -0
  462. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/class/singleton.tmpl.js +0 -0
  463. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-browser.tmpl.js +0 -0
  464. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-rhino.tmpl.js +0 -0
  465. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/.gitignore.tmpl +0 -0
  466. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/Manifest.tmpl.json +0 -0
  467. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/compile.tmpl.json +0 -0
  468. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/readme.tmpl.md +0 -0
  469. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/boot/index.tmpl.html +0 -0
  470. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/boot/nojs.tmpl.html +0 -0
  471. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/Application.tmpl.js +0 -0
  472. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/__init__.tmpl.js +0 -0
  473. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/test/DemoTest.tmpl.js +0 -0
  474. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Appearance.tmpl.js +0 -0
  475. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Color.tmpl.js +0 -0
  476. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Decoration.tmpl.js +0 -0
  477. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Font.tmpl.js +0 -0
  478. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Theme.tmpl.js +0 -0
  479. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/app.png +0 -0
  480. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/favicon.png +0 -0
  481. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/js_256x256.png +0 -0
  482. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/test.png +0 -0
  483. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/translation/readme.txt +0 -0
  484. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/.gitignore.tmpl +0 -0
  485. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/Manifest.tmpl.json +0 -0
  486. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/compile.tmpl.json +0 -0
  487. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/readme.tmpl.md +0 -0
  488. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/boot/index.tmpl.html +0 -0
  489. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/boot/nojs.tmpl.html +0 -0
  490. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/Application.tmpl.js +0 -0
  491. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/__init__.tmpl.js +0 -0
  492. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/Login.tmpl.js +0 -0
  493. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/Overview.tmpl.js +0 -0
  494. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/__init__.tmpl.js +0 -0
  495. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/app.png +0 -0
  496. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/css/.gitignore.tmpl +0 -0
  497. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/favicon.png +0 -0
  498. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/js_256x256.png +0 -0
  499. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/theme/custom/css/custom.css +0 -0
  500. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/translation/readme.txt +0 -0
  501. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/.gitignore.tmpl +0 -0
  502. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/Manifest.tmpl.json +0 -0
  503. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/compile.tmpl.json +0 -0
  504. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/readme.tmpl.md +0 -0
  505. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/Button.tmpl.js +0 -0
  506. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/__init__.tmpl.js +0 -0
  507. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/demo/Application.tmpl.js +0 -0
  508. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/resource/custom/test.png +0 -0
  509. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/test/DemoTest.tmpl.js +0 -0
  510. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Appearance.tmpl.js +0 -0
  511. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Color.tmpl.js +0 -0
  512. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Decoration.tmpl.js +0 -0
  513. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Font.tmpl.js +0 -0
  514. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Theme.tmpl.js +0 -0
  515. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/resource/custom/test.png +0 -0
  516. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/translation/readme.txt +0 -0
  517. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/.gitignore.tmpl +0 -0
  518. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/Manifest.tmpl.json +0 -0
  519. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/compile.tmpl.json +0 -0
  520. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/readme.tmpl.txt +0 -0
  521. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/Application.tmpl.js +0 -0
  522. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/__init__.tmpl.js +0 -0
  523. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/test/DemoTest.tmpl.js +0 -0
  524. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/resource/custom/.gitignore.tmpl +0 -0
  525. /package/lib/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/translation/readme.txt +0 -0
  526. /package/lib/resource/qx/tool/{loadsass.js → compiler/loadsass.js} +0 -0
  527. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/TypeScriptWriter-base_declaration.d.ts +0 -0
  528. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/default.tmpl.js +0 -0
  529. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/header.tmpl.js +0 -0
  530. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/interface.tmpl.js +0 -0
  531. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/mixin.tmpl.js +0 -0
  532. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/class/singleton.tmpl.js +0 -0
  533. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-browser.tmpl.js +0 -0
  534. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/loader/loader-rhino.tmpl.js +0 -0
  535. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/.gitignore.tmpl +0 -0
  536. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/Manifest.tmpl.json +0 -0
  537. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/compile.tmpl.json +0 -0
  538. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/readme.tmpl.md +0 -0
  539. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/boot/index.tmpl.html +0 -0
  540. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/boot/nojs.tmpl.html +0 -0
  541. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/Application.tmpl.js +0 -0
  542. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/__init__.tmpl.js +0 -0
  543. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/test/DemoTest.tmpl.js +0 -0
  544. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Appearance.tmpl.js +0 -0
  545. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Color.tmpl.js +0 -0
  546. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Decoration.tmpl.js +0 -0
  547. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Font.tmpl.js +0 -0
  548. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/class/custom/theme/Theme.tmpl.js +0 -0
  549. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/app.png +0 -0
  550. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/favicon.png +0 -0
  551. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/js_256x256.png +0 -0
  552. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/resource/custom/test.png +0 -0
  553. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/desktop/source/translation/readme.txt +0 -0
  554. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/.gitignore.tmpl +0 -0
  555. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/Manifest.tmpl.json +0 -0
  556. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/compile.tmpl.json +0 -0
  557. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/readme.tmpl.md +0 -0
  558. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/boot/index.tmpl.html +0 -0
  559. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/boot/nojs.tmpl.html +0 -0
  560. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/Application.tmpl.js +0 -0
  561. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/__init__.tmpl.js +0 -0
  562. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/Login.tmpl.js +0 -0
  563. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/Overview.tmpl.js +0 -0
  564. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/class/custom/page/__init__.tmpl.js +0 -0
  565. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/app.png +0 -0
  566. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/css/.gitignore.tmpl +0 -0
  567. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/favicon.png +0 -0
  568. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/resource/custom/js_256x256.png +0 -0
  569. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/theme/custom/scss/_styles.scss +0 -0
  570. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/theme/custom/scss/custom.scss +0 -0
  571. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/mobile/source/translation/readme.txt +0 -0
  572. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/.gitignore.tmpl +0 -0
  573. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/Manifest.tmpl.json +0 -0
  574. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/compile.tmpl.json +0 -0
  575. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/readme.tmpl.md +0 -0
  576. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/Button.tmpl.js +0 -0
  577. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/__init__.tmpl.js +0 -0
  578. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/demo/Application.tmpl.js +0 -0
  579. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/resource/custom/test.png +0 -0
  580. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/test/DemoTest.tmpl.js +0 -0
  581. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Appearance.tmpl.js +0 -0
  582. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Color.tmpl.js +0 -0
  583. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Decoration.tmpl.js +0 -0
  584. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Font.tmpl.js +0 -0
  585. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/class/custom/theme/Theme.tmpl.js +0 -0
  586. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/resource/custom/test.png +0 -0
  587. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/package/source/translation/readme.txt +0 -0
  588. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/.gitignore.tmpl +0 -0
  589. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/Manifest.tmpl.json +0 -0
  590. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/compile.tmpl.json +0 -0
  591. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/readme.tmpl.txt +0 -0
  592. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/Application.tmpl.js +0 -0
  593. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/__init__.tmpl.js +0 -0
  594. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/class/custom/test/DemoTest.tmpl.js +0 -0
  595. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/resource/custom/.gitignore.tmpl +0 -0
  596. /package/source/resource/qx/tool/{cli → compiler/cli}/templates/skeleton/server/source/translation/readme.txt +0 -0
  597. /package/source/resource/qx/tool/{loadsass.js → compiler/loadsass.js} +0 -0
@@ -30,6 +30,9 @@ qx.Class.define("qx.test.data.controller.Tree", {
30
30
  super();
31
31
 
32
32
  // define a test class
33
+ if (qx.Class.isDefined("qx.test.TreeNode")) {
34
+ qx.Class.undefine("qx.test.TreeNode");
35
+ }
33
36
  qx.Class.define("qx.test.TreeNode", {
34
37
  extend: qx.core.Object,
35
38
 
@@ -62,7 +65,7 @@ qx.Class.define("qx.test.data.controller.Tree", {
62
65
  name2: {
63
66
  check: "String",
64
67
  init: "root2",
65
- event: "changeName"
68
+ event: "changeName2"
66
69
  },
67
70
 
68
71
  icon: {
@@ -150,12 +153,7 @@ qx.Class.define("qx.test.data.controller.Tree", {
150
153
  this.__model.getAltChildren().push(this.__c, this.__b, this.__a);
151
154
 
152
155
  // create the controller
153
- this.__controller = new qx.data.controller.Tree(
154
- this.__model,
155
- this.__tree,
156
- "children",
157
- "name"
158
- );
156
+ this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children", "name");
159
157
 
160
158
  this.__controller.setIconPath("icon");
161
159
  },
@@ -216,47 +214,22 @@ qx.Class.define("qx.test.data.controller.Tree", {
216
214
  testFolderCreation() {
217
215
  // Test if the tree nodes exist
218
216
  this.assertNotNull(this.__tree.getRoot(), "Root node does not exist");
219
- this.assertNotNull(
220
- this.__tree.getRoot().getChildren()[0],
221
- "First node does not exist"
222
- );
217
+ this.assertNotNull(this.__tree.getRoot().getChildren()[0], "First node does not exist");
223
218
 
224
- this.assertNotNull(
225
- this.__tree.getRoot().getChildren()[1],
226
- "Second node does not exist"
227
- );
219
+ this.assertNotNull(this.__tree.getRoot().getChildren()[1], "Second node does not exist");
228
220
 
229
- this.assertNotNull(
230
- this.__tree.getRoot().getChildren()[2],
231
- "Third node does not exist"
232
- );
221
+ this.assertNotNull(this.__tree.getRoot().getChildren()[2], "Third node does not exist");
233
222
  },
234
223
 
235
224
  testFolderLabelInitial() {
236
225
  // check the initial Labels
237
- this.assertEquals(
238
- "root",
239
- this.__tree.getRoot().getLabel(),
240
- "Root node has a wrong name"
241
- );
226
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
242
227
 
243
- this.assertEquals(
244
- "a",
245
- this.__tree.getRoot().getChildren()[0].getLabel(),
246
- "First node has a wrong name"
247
- );
228
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
248
229
 
249
- this.assertEquals(
250
- "b",
251
- this.__tree.getRoot().getChildren()[1].getLabel(),
252
- "Second node has a wrong name"
253
- );
230
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
254
231
 
255
- this.assertEquals(
256
- "c",
257
- this.__tree.getRoot().getChildren()[2].getLabel(),
258
- "Third node has a wrong name"
259
- );
232
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
260
233
  },
261
234
 
262
235
  testFolderLabelChangeName() {
@@ -266,58 +239,26 @@ qx.Class.define("qx.test.data.controller.Tree", {
266
239
  this.__b.setName("B");
267
240
  this.__c.setName("C");
268
241
  // check the initial Labels
269
- this.assertEquals(
270
- "ROOT",
271
- this.__tree.getRoot().getLabel(),
272
- "Root node has a wrong name"
273
- );
242
+ this.assertEquals("ROOT", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
274
243
 
275
- this.assertEquals(
276
- "A",
277
- this.__tree.getRoot().getChildren()[0].getLabel(),
278
- "First node has a wrong name"
279
- );
244
+ this.assertEquals("A", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
280
245
 
281
- this.assertEquals(
282
- "B",
283
- this.__tree.getRoot().getChildren()[1].getLabel(),
284
- "Second node has a wrong name"
285
- );
246
+ this.assertEquals("B", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
286
247
 
287
- this.assertEquals(
288
- "C",
289
- this.__tree.getRoot().getChildren()[2].getLabel(),
290
- "Third node has a wrong name"
291
- );
248
+ this.assertEquals("C", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
292
249
  },
293
250
 
294
251
  testFolderLabelPropertyChange() {
295
252
  // change the label path
296
253
  this.__controller.setLabelPath("name2");
297
254
  // check the initial Labels
298
- this.assertEquals(
299
- "root2",
300
- this.__tree.getRoot().getLabel(),
301
- "Root node has a wrong name"
302
- );
255
+ this.assertEquals("root2", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
303
256
 
304
- this.assertEquals(
305
- "a2",
306
- this.__tree.getRoot().getChildren()[0].getLabel(),
307
- "First node has a wrong name"
308
- );
257
+ this.assertEquals("a2", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
309
258
 
310
- this.assertEquals(
311
- "b2",
312
- this.__tree.getRoot().getChildren()[1].getLabel(),
313
- "Second node has a wrong name"
314
- );
259
+ this.assertEquals("b2", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
315
260
 
316
- this.assertEquals(
317
- "c2",
318
- this.__tree.getRoot().getChildren()[2].getLabel(),
319
- "Third node has a wrong name"
320
- );
261
+ this.assertEquals("c2", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
321
262
  },
322
263
 
323
264
  testChildPush() {
@@ -327,91 +268,41 @@ qx.Class.define("qx.test.data.controller.Tree", {
327
268
  children.push(d);
328
269
 
329
270
  // Test if the tree nodes exist
330
- this.assertEquals(
331
- "root",
332
- this.__tree.getRoot().getLabel(),
333
- "Root node has a wrong name"
334
- );
271
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
335
272
 
336
- this.assertEquals(
337
- "a",
338
- this.__tree.getRoot().getChildren()[0].getLabel(),
339
- "First node has a wrong name"
340
- );
273
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
341
274
 
342
- this.assertEquals(
343
- "b",
344
- this.__tree.getRoot().getChildren()[1].getLabel(),
345
- "Second node has a wrong name"
346
- );
275
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
347
276
 
348
- this.assertEquals(
349
- "c",
350
- this.__tree.getRoot().getChildren()[2].getLabel(),
351
- "Third node has a wrong name"
352
- );
277
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
353
278
 
354
- this.assertEquals(
355
- "d",
356
- this.__tree.getRoot().getChildren()[3].getLabel(),
357
- "New node has a wrong name"
358
- );
279
+ this.assertEquals("d", this.__tree.getRoot().getChildren()[3].getLabel(), "New node has a wrong name");
359
280
  },
360
281
 
361
282
  testChildPop() {
362
283
  var children = this.__model.getChildren();
363
284
  children.pop();
364
285
 
365
- this.assertEquals(
366
- "root",
367
- this.__tree.getRoot().getLabel(),
368
- "Root node has a wrong name"
369
- );
286
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
370
287
 
371
- this.assertEquals(
372
- "a",
373
- this.__tree.getRoot().getChildren()[0].getLabel(),
374
- "First node has a wrong name"
375
- );
288
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
376
289
 
377
- this.assertEquals(
378
- "b",
379
- this.__tree.getRoot().getChildren()[1].getLabel(),
380
- "Second node has a wrong name"
381
- );
290
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
382
291
 
383
- this.assertUndefined(
384
- this.__tree.getRoot().getChildren()[2],
385
- "There is still a third node!"
386
- );
292
+ this.assertUndefined(this.__tree.getRoot().getChildren()[2], "There is still a third node!");
387
293
  },
388
294
 
389
295
  testChildShift() {
390
296
  var children = this.__model.getChildren();
391
297
  children.shift();
392
298
 
393
- this.assertEquals(
394
- "root",
395
- this.__tree.getRoot().getLabel(),
396
- "Root node has a wrong name"
397
- );
299
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
398
300
 
399
- this.assertEquals(
400
- "b",
401
- this.__tree.getRoot().getChildren()[0].getLabel(),
402
- "First node has a wrong name"
403
- );
301
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
404
302
 
405
- this.assertEquals(
406
- "c",
407
- this.__tree.getRoot().getChildren()[1].getLabel(),
408
- "Second node has a wrong name"
409
- );
303
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
410
304
 
411
- this.assertUndefined(
412
- this.__tree.getRoot().getChildren()[2],
413
- "There is still a third node!"
414
- );
305
+ this.assertUndefined(this.__tree.getRoot().getChildren()[2], "There is still a third node!");
415
306
  },
416
307
 
417
308
  testChildUnshift() {
@@ -421,35 +312,15 @@ qx.Class.define("qx.test.data.controller.Tree", {
421
312
  children.unshift(d);
422
313
 
423
314
  // Test if the tree nodes exist
424
- this.assertEquals(
425
- "root",
426
- this.__tree.getRoot().getLabel(),
427
- "Root node has a wrong name"
428
- );
315
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
429
316
 
430
- this.assertEquals(
431
- "d",
432
- this.__tree.getRoot().getChildren()[0].getLabel(),
433
- "First node has a wrong name"
434
- );
317
+ this.assertEquals("d", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
435
318
 
436
- this.assertEquals(
437
- "a",
438
- this.__tree.getRoot().getChildren()[1].getLabel(),
439
- "Second node has a wrong name"
440
- );
319
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
441
320
 
442
- this.assertEquals(
443
- "b",
444
- this.__tree.getRoot().getChildren()[2].getLabel(),
445
- "Third node has a wrong name"
446
- );
321
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
447
322
 
448
- this.assertEquals(
449
- "c",
450
- this.__tree.getRoot().getChildren()[3].getLabel(),
451
- "Fourth node has a wrong name"
452
- );
323
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[3].getLabel(), "Fourth node has a wrong name");
453
324
  },
454
325
 
455
326
  testTreeDeep() {
@@ -471,32 +342,15 @@ qx.Class.define("qx.test.data.controller.Tree", {
471
342
  this.__b.getChildren().push(this.__c);
472
343
 
473
344
  // test for the model
474
- this.assertEquals(
475
- "root",
476
- this.__tree.getRoot().getLabel(),
477
- "Root node has a wrong name"
478
- );
345
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
479
346
 
480
- this.assertEquals(
481
- "a",
482
- this.__tree.getRoot().getChildren()[0].getLabel(),
483
- "First node has a wrong name"
484
- );
347
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
485
348
 
486
- this.assertEquals(
487
- "b",
488
- this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel(),
489
- "Second node has a wrong name"
490
- );
349
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel(), "Second node has a wrong name");
491
350
 
492
351
  this.assertEquals(
493
352
  "c",
494
- this.__tree
495
- .getRoot()
496
- .getChildren()[0]
497
- .getChildren()[0]
498
- .getChildren()[0]
499
- .getLabel(),
353
+ this.__tree.getRoot().getChildren()[0].getChildren()[0].getChildren()[0].getLabel(),
500
354
  "Third node has a wrong name"
501
355
  );
502
356
  },
@@ -529,65 +383,28 @@ qx.Class.define("qx.test.data.controller.Tree", {
529
383
 
530
384
  // check the initial Labels
531
385
  // root layer
532
- this.assertEquals(
533
- "root",
534
- this.__tree.getRoot().getLabel(),
535
- "Root node has a wrong name"
536
- );
386
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
537
387
 
538
388
  // first layer
539
- this.assertEquals(
540
- "a",
541
- this.__tree.getRoot().getChildren()[0].getLabel(),
542
- "a node has a wrong name"
543
- );
389
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "a node has a wrong name");
544
390
 
545
- this.assertEquals(
546
- "b",
547
- this.__tree.getRoot().getChildren()[1].getLabel(),
548
- "b node has a wrong name"
549
- );
391
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "b node has a wrong name");
550
392
 
551
- this.assertEquals(
552
- "c",
553
- this.__tree.getRoot().getChildren()[2].getLabel(),
554
- "c node has a wrong name"
555
- );
393
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "c node has a wrong name");
556
394
 
557
395
  // second layer
558
- this.assertEquals(
559
- "aa",
560
- this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel(),
561
- "aa node has a wrong name"
562
- );
396
+ this.assertEquals("aa", this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel(), "aa node has a wrong name");
563
397
 
564
- this.assertEquals(
565
- "AA",
566
- this.__tree.getRoot().getChildren()[0].getChildren()[1].getLabel(),
567
- "AA node has a wrong name"
568
- );
398
+ this.assertEquals("AA", this.__tree.getRoot().getChildren()[0].getChildren()[1].getLabel(), "AA node has a wrong name");
569
399
 
570
- this.assertEquals(
571
- "bb",
572
- this.__tree.getRoot().getChildren()[1].getChildren()[0].getLabel(),
573
- "bb node has a wrong name"
574
- );
400
+ this.assertEquals("bb", this.__tree.getRoot().getChildren()[1].getChildren()[0].getLabel(), "bb node has a wrong name");
575
401
 
576
- this.assertEquals(
577
- "cc",
578
- this.__tree.getRoot().getChildren()[2].getChildren()[0].getLabel(),
579
- "cc node has a wrong name"
580
- );
402
+ this.assertEquals("cc", this.__tree.getRoot().getChildren()[2].getChildren()[0].getLabel(), "cc node has a wrong name");
581
403
 
582
404
  // third layer
583
405
  this.assertEquals(
584
406
  "bbb",
585
- this.__tree
586
- .getRoot()
587
- .getChildren()[1]
588
- .getChildren()[0]
589
- .getChildren()[0]
590
- .getLabel(),
407
+ this.__tree.getRoot().getChildren()[1].getChildren()[0].getChildren()[0].getLabel(),
591
408
  "bbb node has a wrong name"
592
409
  );
593
410
  },
@@ -596,46 +413,22 @@ qx.Class.define("qx.test.data.controller.Tree", {
596
413
  // reverse the children
597
414
  this.__model.getChildren().reverse();
598
415
  // check the labels
599
- this.assertEquals(
600
- "a",
601
- this.__tree.getRoot().getChildren()[2].getLabel(),
602
- "First node has a wrong name"
603
- );
416
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[2].getLabel(), "First node has a wrong name");
604
417
 
605
- this.assertEquals(
606
- "b",
607
- this.__tree.getRoot().getChildren()[1].getLabel(),
608
- "Second node has a wrong name"
609
- );
418
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
610
419
 
611
- this.assertEquals(
612
- "c",
613
- this.__tree.getRoot().getChildren()[0].getLabel(),
614
- "Third node has a wrong name"
615
- );
420
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[0].getLabel(), "Third node has a wrong name");
616
421
  },
617
422
 
618
423
  testChangeChildPath() {
619
424
  // change the child path
620
425
  this.__controller.setChildPath("altChildren");
621
426
  // check the labels
622
- this.assertEquals(
623
- "c",
624
- this.__tree.getRoot().getChildren()[0].getLabel(),
625
- "First node has a wrong name"
626
- );
427
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
627
428
 
628
- this.assertEquals(
629
- "b",
630
- this.__tree.getRoot().getChildren()[1].getLabel(),
631
- "Second node has a wrong name"
632
- );
429
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
633
430
 
634
- this.assertEquals(
635
- "a",
636
- this.__tree.getRoot().getChildren()[2].getLabel(),
637
- "Third node has a wrong name"
638
- );
431
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
639
432
  },
640
433
 
641
434
  testChangeTarget() {
@@ -646,23 +439,11 @@ qx.Class.define("qx.test.data.controller.Tree", {
646
439
  this.__controller.setTarget(tree);
647
440
 
648
441
  // check the new folders
649
- this.assertEquals(
650
- "a",
651
- tree.getRoot().getChildren()[0].getLabel(),
652
- "First node has a wrong name"
653
- );
442
+ this.assertEquals("a", tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
654
443
 
655
- this.assertEquals(
656
- "b",
657
- tree.getRoot().getChildren()[1].getLabel(),
658
- "Second node has a wrong name"
659
- );
444
+ this.assertEquals("b", tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
660
445
 
661
- this.assertEquals(
662
- "c",
663
- tree.getRoot().getChildren()[2].getLabel(),
664
- "Third node has a wrong name"
665
- );
446
+ this.assertEquals("c", tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
666
447
 
667
448
  // check if the old tree is empty
668
449
  this.assertNull(this.__tree.getRoot(), "Former tree is not empty.");
@@ -685,46 +466,22 @@ qx.Class.define("qx.test.data.controller.Tree", {
685
466
  this.__controller.setModel(model);
686
467
 
687
468
  // check the folders
688
- this.assertEquals(
689
- "A",
690
- this.__tree.getRoot().getChildren()[0].getLabel(),
691
- "First node has a wrong name"
692
- );
469
+ this.assertEquals("A", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
693
470
 
694
- this.assertEquals(
695
- "B",
696
- this.__tree.getRoot().getChildren()[1].getLabel(),
697
- "Second node has a wrong name"
698
- );
471
+ this.assertEquals("B", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
699
472
 
700
473
  this.__controller.setModel(null);
701
474
  model.dispose();
702
475
  },
703
476
 
704
477
  testIconPath() {
705
- this.assertEquals(
706
- null,
707
- this.__tree.getRoot().getIcon(),
708
- "Root node has a wrong icon"
709
- );
478
+ this.assertEquals(null, this.__tree.getRoot().getIcon(), "Root node has a wrong icon");
710
479
 
711
- this.assertEquals(
712
- "icon a",
713
- this.__tree.getRoot().getChildren()[0].getIcon(),
714
- "First node has a wrong icon"
715
- );
480
+ this.assertEquals("icon a", this.__tree.getRoot().getChildren()[0].getIcon(), "First node has a wrong icon");
716
481
 
717
- this.assertEquals(
718
- "icon b",
719
- this.__tree.getRoot().getChildren()[1].getIcon(),
720
- "Second node has a wrong icon"
721
- );
482
+ this.assertEquals("icon b", this.__tree.getRoot().getChildren()[1].getIcon(), "Second node has a wrong icon");
722
483
 
723
- this.assertEquals(
724
- "icon c",
725
- this.__tree.getRoot().getChildren()[2].getIcon(),
726
- "Third node has a wrong icon"
727
- );
484
+ this.assertEquals("icon c", this.__tree.getRoot().getChildren()[2].getIcon(), "Third node has a wrong icon");
728
485
  },
729
486
 
730
487
  testIconPathChange() {
@@ -732,29 +489,13 @@ qx.Class.define("qx.test.data.controller.Tree", {
732
489
  this.__controller.setIconPath("icon2");
733
490
 
734
491
  // test the binding
735
- this.assertEquals(
736
- null,
737
- this.__tree.getRoot().getIcon(),
738
- "Root node has a wrong icon"
739
- );
492
+ this.assertEquals(null, this.__tree.getRoot().getIcon(), "Root node has a wrong icon");
740
493
 
741
- this.assertEquals(
742
- "icon a2",
743
- this.__tree.getRoot().getChildren()[0].getIcon(),
744
- "First node has a wrong icon"
745
- );
494
+ this.assertEquals("icon a2", this.__tree.getRoot().getChildren()[0].getIcon(), "First node has a wrong icon");
746
495
 
747
- this.assertEquals(
748
- "icon b2",
749
- this.__tree.getRoot().getChildren()[1].getIcon(),
750
- "Second node has a wrong icon"
751
- );
496
+ this.assertEquals("icon b2", this.__tree.getRoot().getChildren()[1].getIcon(), "Second node has a wrong icon");
752
497
 
753
- this.assertEquals(
754
- "icon c2",
755
- this.__tree.getRoot().getChildren()[2].getIcon(),
756
- "Third node has a wrong icon"
757
- );
498
+ this.assertEquals("icon c2", this.__tree.getRoot().getChildren()[2].getIcon(), "Third node has a wrong icon");
758
499
  },
759
500
 
760
501
  testIconChange() {
@@ -765,29 +506,13 @@ qx.Class.define("qx.test.data.controller.Tree", {
765
506
  this.__c.setIcon("ICON C");
766
507
 
767
508
  // test the new icon values
768
- this.assertEquals(
769
- "AFFE",
770
- this.__tree.getRoot().getIcon(),
771
- "Root node has a wrong icon"
772
- );
509
+ this.assertEquals("AFFE", this.__tree.getRoot().getIcon(), "Root node has a wrong icon");
773
510
 
774
- this.assertEquals(
775
- "ICON A",
776
- this.__tree.getRoot().getChildren()[0].getIcon(),
777
- "First node has a wrong icon"
778
- );
511
+ this.assertEquals("ICON A", this.__tree.getRoot().getChildren()[0].getIcon(), "First node has a wrong icon");
779
512
 
780
- this.assertEquals(
781
- "ICON B",
782
- this.__tree.getRoot().getChildren()[1].getIcon(),
783
- "Second node has a wrong icon"
784
- );
513
+ this.assertEquals("ICON B", this.__tree.getRoot().getChildren()[1].getIcon(), "Second node has a wrong icon");
785
514
 
786
- this.assertEquals(
787
- "ICON C",
788
- this.__tree.getRoot().getChildren()[2].getIcon(),
789
- "Third node has a wrong icon"
790
- );
515
+ this.assertEquals("ICON C", this.__tree.getRoot().getChildren()[2].getIcon(), "Third node has a wrong icon");
791
516
  },
792
517
 
793
518
  testSelection() {
@@ -796,34 +521,18 @@ qx.Class.define("qx.test.data.controller.Tree", {
796
521
  // select the first object
797
522
  this.__tree.addToSelection(this.__tree.getRoot().getChildren()[0]);
798
523
  // test the selection
799
- this.assertEquals(
800
- this.__a,
801
- this.__controller.getSelection().getItem(0),
802
- "Selection does not work."
803
- );
524
+ this.assertEquals(this.__a, this.__controller.getSelection().getItem(0), "Selection does not work.");
804
525
 
805
526
  // test for the length
806
- this.assertEquals(
807
- 1,
808
- this.__controller.getSelection().length,
809
- "Selection length is wrong."
810
- );
527
+ this.assertEquals(1, this.__controller.getSelection().length, "Selection length is wrong.");
811
528
 
812
529
  // select the second object
813
530
  this.__tree.addToSelection(this.__tree.getRoot().getChildren()[1]);
814
531
  // test the selection
815
- this.assertEquals(
816
- this.__b,
817
- this.__controller.getSelection().getItem(0),
818
- "Selection does not work."
819
- );
532
+ this.assertEquals(this.__b, this.__controller.getSelection().getItem(0), "Selection does not work.");
820
533
 
821
534
  // test for the length
822
- this.assertEquals(
823
- 1,
824
- this.__controller.getSelection().length,
825
- "Selection length is wrong."
826
- );
535
+ this.assertEquals(1, this.__controller.getSelection().length, "Selection length is wrong.");
827
536
  },
828
537
 
829
538
  testSelectionBackMultiple() {
@@ -837,17 +546,9 @@ qx.Class.define("qx.test.data.controller.Tree", {
837
546
  this.__controller.getSelection().push(this.__b);
838
547
 
839
548
  // test the selection
840
- this.assertEquals(
841
- this.__a,
842
- this.__controller.getSelection().getItem(0),
843
- "Add to selection does not work."
844
- );
549
+ this.assertEquals(this.__a, this.__controller.getSelection().getItem(0), "Add to selection does not work.");
845
550
 
846
- this.assertEquals(
847
- this.__b,
848
- this.__controller.getSelection().getItem(1),
849
- "Add to selection does not work."
850
- );
551
+ this.assertEquals(this.__b, this.__controller.getSelection().getItem(1), "Add to selection does not work.");
851
552
  },
852
553
 
853
554
  testSelectionAfterDelete() {
@@ -861,11 +562,7 @@ qx.Class.define("qx.test.data.controller.Tree", {
861
562
  temp.setAutoDisposeItems(true);
862
563
  temp.dispose();
863
564
  // check if the selection is empty
864
- this.assertEquals(
865
- 0,
866
- this.__controller.getSelection().length,
867
- "Remove from selection does not work!"
868
- );
565
+ this.assertEquals(0, this.__controller.getSelection().length, "Remove from selection does not work!");
869
566
 
870
567
  // add b to the selection
871
568
  this.__controller.getSelection().push(this.__b);
@@ -875,16 +572,9 @@ qx.Class.define("qx.test.data.controller.Tree", {
875
572
  temp.dispose();
876
573
 
877
574
  // check if the selected item in the list is "b"
878
- this.assertTrue(
879
- this.__controller.getSelection().contains(this.__b),
880
- "Selection array wrong!"
881
- );
575
+ this.assertTrue(this.__controller.getSelection().contains(this.__b), "Selection array wrong!");
882
576
 
883
- this.assertEquals(
884
- "b",
885
- this.__tree.getSelection()[0].getLabel(),
886
- "Remove from selection does not work!"
887
- );
577
+ this.assertEquals("b", this.__tree.getSelection()[0].getLabel(), "Remove from selection does not work!");
888
578
  },
889
579
 
890
580
  testSelectInvisible() {
@@ -892,11 +582,7 @@ qx.Class.define("qx.test.data.controller.Tree", {
892
582
  this.__controller.getSelection().push(this.__c);
893
583
 
894
584
  // check if the selection worked
895
- this.assertEquals(
896
- 1,
897
- this.__controller.getSelection().length,
898
- "Adding of an non visible element should not work."
899
- );
585
+ this.assertEquals(1, this.__controller.getSelection().length, "Adding of an non visible element should not work.");
900
586
  },
901
587
 
902
588
  testLabelOptions() {
@@ -909,39 +595,18 @@ qx.Class.define("qx.test.data.controller.Tree", {
909
595
 
910
596
  // create the controller
911
597
  this.__controller.dispose();
912
- this.__controller = new qx.data.controller.Tree(
913
- this.__model,
914
- this.__tree,
915
- "children",
916
- "name"
917
- );
598
+ this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children", "name");
918
599
 
919
600
  this.__controller.setLabelOptions(options);
920
601
 
921
602
  // test the converter
922
- this.assertEquals(
923
- "rootroot2",
924
- this.__tree.getRoot().getLabel(),
925
- "Root node has a wrong name"
926
- );
603
+ this.assertEquals("rootroot2", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
927
604
 
928
- this.assertEquals(
929
- "aa2",
930
- this.__tree.getRoot().getChildren()[0].getLabel(),
931
- "First node has a wrong name"
932
- );
605
+ this.assertEquals("aa2", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
933
606
 
934
- this.assertEquals(
935
- "bb2",
936
- this.__tree.getRoot().getChildren()[1].getLabel(),
937
- "Second node has a wrong name"
938
- );
607
+ this.assertEquals("bb2", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
939
608
 
940
- this.assertEquals(
941
- "cc2",
942
- this.__tree.getRoot().getChildren()[2].getLabel(),
943
- "Third node has a wrong name"
944
- );
609
+ this.assertEquals("cc2", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
945
610
  },
946
611
 
947
612
  testIconOptions() {
@@ -958,39 +623,19 @@ qx.Class.define("qx.test.data.controller.Tree", {
958
623
  // create the controller
959
624
  this.__controller.dispose();
960
625
 
961
- this.__controller = new qx.data.controller.Tree(
962
- this.__model,
963
- this.__tree,
964
- "children",
965
- "name"
966
- );
626
+ this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children", "name");
967
627
 
968
628
  this.__controller.setIconPath("icon");
969
629
  this.__controller.setIconOptions(options);
970
630
 
971
631
  // test the converter
972
- this.assertNull(
973
- this.__tree.getRoot().getIcon(),
974
- "Root node has a wrong icon"
975
- );
632
+ this.assertNull(this.__tree.getRoot().getIcon(), "Root node has a wrong icon");
976
633
 
977
- this.assertEquals(
978
- "icon aa",
979
- this.__tree.getRoot().getChildren()[0].getIcon(),
980
- "First node has a wrong icon"
981
- );
634
+ this.assertEquals("icon aa", this.__tree.getRoot().getChildren()[0].getIcon(), "First node has a wrong icon");
982
635
 
983
- this.assertEquals(
984
- "icon bb",
985
- this.__tree.getRoot().getChildren()[1].getIcon(),
986
- "Second node has a wrong icon"
987
- );
636
+ this.assertEquals("icon bb", this.__tree.getRoot().getChildren()[1].getIcon(), "Second node has a wrong icon");
988
637
 
989
- this.assertEquals(
990
- "icon cc",
991
- this.__tree.getRoot().getChildren()[2].getIcon(),
992
- "Third node has a wrong icon"
993
- );
638
+ this.assertEquals("icon cc", this.__tree.getRoot().getChildren()[2].getIcon(), "Third node has a wrong icon");
994
639
  },
995
640
 
996
641
  testItemWithoutChildren() {
@@ -1017,261 +662,117 @@ qx.Class.define("qx.test.data.controller.Tree", {
1017
662
  endNode.setName("ENDE");
1018
663
  this.__model.getChildren().push(endNode);
1019
664
 
1020
- this.assertEquals(
1021
- "root",
1022
- this.__tree.getRoot().getLabel(),
1023
- "Root node has a wrong name"
1024
- );
665
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1025
666
 
1026
- this.assertEquals(
1027
- "a",
1028
- this.__tree.getRoot().getChildren()[0].getLabel(),
1029
- "First node has a wrong name"
1030
- );
667
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1031
668
 
1032
- this.assertEquals(
1033
- "b",
1034
- this.__tree.getRoot().getChildren()[1].getLabel(),
1035
- "Second node has a wrong name"
1036
- );
669
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1037
670
 
1038
- this.assertEquals(
1039
- "c",
1040
- this.__tree.getRoot().getChildren()[2].getLabel(),
1041
- "Third node has a wrong name"
1042
- );
671
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1043
672
 
1044
- this.assertEquals(
1045
- "ENDE",
1046
- this.__tree.getRoot().getChildren()[3].getLabel(),
1047
- "Fourth node has a wrong name"
1048
- );
673
+ this.assertEquals("ENDE", this.__tree.getRoot().getChildren()[3].getLabel(), "Fourth node has a wrong name");
674
+ qx.Class.undefine("qx.test.TreeEndNode");
1049
675
  },
1050
676
 
1051
677
  testSetLateModel() {
1052
678
  this.__controller.dispose();
1053
679
  // create the controller
1054
- this.__controller = new qx.data.controller.Tree(
1055
- null,
1056
- this.__tree,
1057
- "children",
1058
- "name"
1059
- );
680
+ this.__controller = new qx.data.controller.Tree(null, this.__tree, "children", "name");
1060
681
 
1061
682
  this.__controller.setModel(this.__model);
1062
683
 
1063
684
  // check the initial Labels
1064
- this.assertEquals(
1065
- "root",
1066
- this.__tree.getRoot().getLabel(),
1067
- "Root node has a wrong name"
1068
- );
685
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1069
686
 
1070
- this.assertEquals(
1071
- "a",
1072
- this.__tree.getRoot().getChildren()[0].getLabel(),
1073
- "First node has a wrong name"
1074
- );
687
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1075
688
 
1076
- this.assertEquals(
1077
- "b",
1078
- this.__tree.getRoot().getChildren()[1].getLabel(),
1079
- "Second node has a wrong name"
1080
- );
689
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1081
690
 
1082
- this.assertEquals(
1083
- "c",
1084
- this.__tree.getRoot().getChildren()[2].getLabel(),
1085
- "Third node has a wrong name"
1086
- );
691
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1087
692
  },
1088
693
 
1089
694
  testSetLateTarget() {
1090
695
  this.__controller.dispose();
1091
696
  // create the controller
1092
- this.__controller = new qx.data.controller.Tree(
1093
- this.__model,
1094
- null,
1095
- "children",
1096
- "name"
1097
- );
697
+ this.__controller = new qx.data.controller.Tree(this.__model, null, "children", "name");
1098
698
 
1099
699
  this.__controller.setTarget(this.__tree);
1100
700
 
1101
701
  // check the initial Labels
1102
- this.assertEquals(
1103
- "root",
1104
- this.__tree.getRoot().getLabel(),
1105
- "Root node has a wrong name"
1106
- );
702
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1107
703
 
1108
- this.assertEquals(
1109
- "a",
1110
- this.__tree.getRoot().getChildren()[0].getLabel(),
1111
- "First node has a wrong name"
1112
- );
704
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1113
705
 
1114
- this.assertEquals(
1115
- "b",
1116
- this.__tree.getRoot().getChildren()[1].getLabel(),
1117
- "Second node has a wrong name"
1118
- );
706
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1119
707
 
1120
- this.assertEquals(
1121
- "c",
1122
- this.__tree.getRoot().getChildren()[2].getLabel(),
1123
- "Third node has a wrong name"
1124
- );
708
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1125
709
  },
1126
710
 
1127
711
  testSetLateTargetAndModel() {
1128
712
  this.__controller.dispose();
1129
- this.__controller = new qx.data.controller.Tree(
1130
- null,
1131
- null,
1132
- "children",
1133
- "name"
1134
- );
713
+ this.__controller = new qx.data.controller.Tree(null, null, "children", "name");
1135
714
 
1136
715
  this.__controller.setTarget(this.__tree);
1137
716
  this.__controller.setModel(this.__model);
1138
717
 
1139
718
  // check the initial Labels
1140
- this.assertEquals(
1141
- "root",
1142
- this.__tree.getRoot().getLabel(),
1143
- "Root node has a wrong name"
1144
- );
719
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1145
720
 
1146
- this.assertEquals(
1147
- "a",
1148
- this.__tree.getRoot().getChildren()[0].getLabel(),
1149
- "First node has a wrong name"
1150
- );
721
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1151
722
 
1152
- this.assertEquals(
1153
- "b",
1154
- this.__tree.getRoot().getChildren()[1].getLabel(),
1155
- "Second node has a wrong name"
1156
- );
723
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1157
724
 
1158
- this.assertEquals(
1159
- "c",
1160
- this.__tree.getRoot().getChildren()[2].getLabel(),
1161
- "Third node has a wrong name"
1162
- );
725
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1163
726
 
1164
727
  // redo the test and set the modeln and target in different order
1165
728
  this.__controller.dispose();
1166
- this.__controller = new qx.data.controller.Tree(
1167
- null,
1168
- null,
1169
- "children",
1170
- "name"
1171
- );
729
+ this.__controller = new qx.data.controller.Tree(null, null, "children", "name");
1172
730
 
1173
731
  this.__controller.setModel(this.__model);
1174
732
  this.__controller.setTarget(this.__tree);
1175
733
 
1176
734
  // check the initial Labels
1177
- this.assertEquals(
1178
- "root",
1179
- this.__tree.getRoot().getLabel(),
1180
- "Root node has a wrong name"
1181
- );
735
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1182
736
 
1183
- this.assertEquals(
1184
- "a",
1185
- this.__tree.getRoot().getChildren()[0].getLabel(),
1186
- "First node has a wrong name"
1187
- );
737
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1188
738
 
1189
- this.assertEquals(
1190
- "b",
1191
- this.__tree.getRoot().getChildren()[1].getLabel(),
1192
- "Second node has a wrong name"
1193
- );
739
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1194
740
 
1195
- this.assertEquals(
1196
- "c",
1197
- this.__tree.getRoot().getChildren()[2].getLabel(),
1198
- "Third node has a wrong name"
1199
- );
741
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1200
742
  },
1201
743
 
1202
744
  testSetLateChildPath() {
1203
745
  this.__controller.dispose();
1204
746
 
1205
- this.__controller = new qx.data.controller.Tree(
1206
- this.__model,
1207
- this.__tree,
1208
- null,
1209
- "name"
1210
- );
747
+ this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, null, "name");
1211
748
 
1212
749
  this.__controller.setChildPath("children");
1213
750
 
1214
751
  // check the initial Labels
1215
- this.assertEquals(
1216
- "root",
1217
- this.__tree.getRoot().getLabel(),
1218
- "Root node has a wrong name"
1219
- );
752
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1220
753
 
1221
- this.assertEquals(
1222
- "a",
1223
- this.__tree.getRoot().getChildren()[0].getLabel(),
1224
- "First node has a wrong name"
1225
- );
754
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1226
755
 
1227
- this.assertEquals(
1228
- "b",
1229
- this.__tree.getRoot().getChildren()[1].getLabel(),
1230
- "Second node has a wrong name"
1231
- );
756
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1232
757
 
1233
- this.assertEquals(
1234
- "c",
1235
- this.__tree.getRoot().getChildren()[2].getLabel(),
1236
- "Third node has a wrong name"
1237
- );
758
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1238
759
  },
1239
760
 
1240
761
  testSetLateLabelPath() {
1241
762
  this.__controller.dispose();
1242
763
 
1243
- this.__controller = new qx.data.controller.Tree(
1244
- this.__model,
1245
- this.__tree,
1246
- "children"
1247
- );
764
+ this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children");
1248
765
 
1249
766
  this.__controller.setLabelPath("name");
1250
767
 
1251
768
  // check the initial Labels
1252
- this.assertEquals(
1253
- "root",
1254
- this.__tree.getRoot().getLabel(),
1255
- "Root node has a wrong name"
1256
- );
769
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1257
770
 
1258
- this.assertEquals(
1259
- "a",
1260
- this.__tree.getRoot().getChildren()[0].getLabel(),
1261
- "First node has a wrong name"
1262
- );
771
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1263
772
 
1264
- this.assertEquals(
1265
- "b",
1266
- this.__tree.getRoot().getChildren()[1].getLabel(),
1267
- "Second node has a wrong name"
1268
- );
773
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1269
774
 
1270
- this.assertEquals(
1271
- "c",
1272
- this.__tree.getRoot().getChildren()[2].getLabel(),
1273
- "Third node has a wrong name"
1274
- );
775
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1275
776
  },
1276
777
 
1277
778
  testSetLateAll() {
@@ -1286,29 +787,13 @@ qx.Class.define("qx.test.data.controller.Tree", {
1286
787
  this.__controller.setTarget(this.__tree);
1287
788
 
1288
789
  // check the initial Labels
1289
- this.assertEquals(
1290
- "root",
1291
- this.__tree.getRoot().getLabel(),
1292
- "Root node has a wrong name"
1293
- );
790
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1294
791
 
1295
- this.assertEquals(
1296
- "a",
1297
- this.__tree.getRoot().getChildren()[0].getLabel(),
1298
- "First node has a wrong name"
1299
- );
792
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1300
793
 
1301
- this.assertEquals(
1302
- "b",
1303
- this.__tree.getRoot().getChildren()[1].getLabel(),
1304
- "Second node has a wrong name"
1305
- );
794
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1306
795
 
1307
- this.assertEquals(
1308
- "c",
1309
- this.__tree.getRoot().getChildren()[2].getLabel(),
1310
- "Third node has a wrong name"
1311
- );
796
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1312
797
  },
1313
798
 
1314
799
  testDelegateConfigure() {
@@ -1321,25 +806,13 @@ qx.Class.define("qx.test.data.controller.Tree", {
1321
806
  this.__controller.setDelegate(delegate);
1322
807
 
1323
808
  // check the initial Labels
1324
- this.assertTrue(
1325
- this.__tree.getRoot().getUserData("a"),
1326
- "Delegation not working."
1327
- );
809
+ this.assertTrue(this.__tree.getRoot().getUserData("a"), "Delegation not working.");
1328
810
 
1329
- this.assertTrue(
1330
- this.__tree.getRoot().getChildren()[0].getUserData("a"),
1331
- "Delegation not working."
1332
- );
811
+ this.assertTrue(this.__tree.getRoot().getChildren()[0].getUserData("a"), "Delegation not working.");
1333
812
 
1334
- this.assertTrue(
1335
- this.__tree.getRoot().getChildren()[1].getUserData("a"),
1336
- "Delegation not working."
1337
- );
813
+ this.assertTrue(this.__tree.getRoot().getChildren()[1].getUserData("a"), "Delegation not working.");
1338
814
 
1339
- this.assertTrue(
1340
- this.__tree.getRoot().getChildren()[2].getUserData("a"),
1341
- "Delegation not working."
1342
- );
815
+ this.assertTrue(this.__tree.getRoot().getChildren()[2].getUserData("a"), "Delegation not working.");
1343
816
 
1344
817
  this.__controller.setDelegate(null);
1345
818
  delegate.dispose();
@@ -1349,12 +822,7 @@ qx.Class.define("qx.test.data.controller.Tree", {
1349
822
  // clear up the setup
1350
823
  this.__controller.dispose();
1351
824
 
1352
- var controller = new qx.data.controller.Tree(
1353
- null,
1354
- this.__tree,
1355
- "children",
1356
- "name"
1357
- );
825
+ var controller = new qx.data.controller.Tree(null, this.__tree, "children", "name");
1358
826
 
1359
827
  var delegate = {
1360
828
  configureItem(item) {
@@ -1366,25 +834,13 @@ qx.Class.define("qx.test.data.controller.Tree", {
1366
834
  controller.setModel(this.__model);
1367
835
 
1368
836
  // check the initial Labels
1369
- this.assertTrue(
1370
- this.__tree.getRoot().getUserData("a"),
1371
- "Delegation not working."
1372
- );
837
+ this.assertTrue(this.__tree.getRoot().getUserData("a"), "Delegation not working.");
1373
838
 
1374
- this.assertTrue(
1375
- this.__tree.getRoot().getChildren()[0].getUserData("a"),
1376
- "Delegation not working."
1377
- );
839
+ this.assertTrue(this.__tree.getRoot().getChildren()[0].getUserData("a"), "Delegation not working.");
1378
840
 
1379
- this.assertTrue(
1380
- this.__tree.getRoot().getChildren()[1].getUserData("a"),
1381
- "Delegation not working."
1382
- );
841
+ this.assertTrue(this.__tree.getRoot().getChildren()[1].getUserData("a"), "Delegation not working.");
1383
842
 
1384
- this.assertTrue(
1385
- this.__tree.getRoot().getChildren()[2].getUserData("a"),
1386
- "Delegation not working."
1387
- );
843
+ this.assertTrue(this.__tree.getRoot().getChildren()[2].getUserData("a"), "Delegation not working.");
1388
844
 
1389
845
  controller.dispose();
1390
846
  },
@@ -1401,50 +857,22 @@ qx.Class.define("qx.test.data.controller.Tree", {
1401
857
  this.__controller.setDelegate(delegate);
1402
858
 
1403
859
  // check the initial Labels
1404
- this.assertEquals(
1405
- "root",
1406
- this.__tree.getRoot().getLabel(),
1407
- "Root node has a wrong name"
1408
- );
860
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1409
861
 
1410
- this.assertEquals(
1411
- "a",
1412
- this.__tree.getRoot().getChildren()[0].getLabel(),
1413
- "First node has a wrong name"
1414
- );
862
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1415
863
 
1416
- this.assertEquals(
1417
- "b",
1418
- this.__tree.getRoot().getChildren()[1].getLabel(),
1419
- "Second node has a wrong name"
1420
- );
864
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1421
865
 
1422
- this.assertEquals(
1423
- "c",
1424
- this.__tree.getRoot().getChildren()[2].getLabel(),
1425
- "Third node has a wrong name"
1426
- );
866
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1427
867
 
1428
868
  // check if the folders are the self created folders
1429
- this.assertTrue(
1430
- this.__tree.getRoot().getUserData("my"),
1431
- "Default folders found."
1432
- );
869
+ this.assertTrue(this.__tree.getRoot().getUserData("my"), "Default folders found.");
1433
870
 
1434
- this.assertTrue(
1435
- this.__tree.getRoot().getChildren()[0].getUserData("my"),
1436
- "Default folders found."
1437
- );
871
+ this.assertTrue(this.__tree.getRoot().getChildren()[0].getUserData("my"), "Default folders found.");
1438
872
 
1439
- this.assertTrue(
1440
- this.__tree.getRoot().getChildren()[1].getUserData("my"),
1441
- "Default folders found."
1442
- );
873
+ this.assertTrue(this.__tree.getRoot().getChildren()[1].getUserData("my"), "Default folders found.");
1443
874
 
1444
- this.assertTrue(
1445
- this.__tree.getRoot().getChildren()[2].getUserData("my"),
1446
- "Default folders found."
1447
- );
875
+ this.assertTrue(this.__tree.getRoot().getChildren()[2].getUserData("my"), "Default folders found.");
1448
876
  },
1449
877
 
1450
878
  testDelegateCreateFirst() {
@@ -1467,50 +895,22 @@ qx.Class.define("qx.test.data.controller.Tree", {
1467
895
  this.__controller.setTarget(tree);
1468
896
 
1469
897
  // check the initial Labels
1470
- this.assertEquals(
1471
- "root",
1472
- tree.getRoot().getLabel(),
1473
- "Root node has a wrong name"
1474
- );
898
+ this.assertEquals("root", tree.getRoot().getLabel(), "Root node has a wrong name");
1475
899
 
1476
- this.assertEquals(
1477
- "a",
1478
- tree.getRoot().getChildren()[0].getLabel(),
1479
- "First node has a wrong name"
1480
- );
900
+ this.assertEquals("a", tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1481
901
 
1482
- this.assertEquals(
1483
- "b",
1484
- tree.getRoot().getChildren()[1].getLabel(),
1485
- "Second node has a wrong name"
1486
- );
902
+ this.assertEquals("b", tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1487
903
 
1488
- this.assertEquals(
1489
- "c",
1490
- tree.getRoot().getChildren()[2].getLabel(),
1491
- "Third node has a wrong name"
1492
- );
904
+ this.assertEquals("c", tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1493
905
 
1494
906
  // check if the folders are the self created folders
1495
- this.assertTrue(
1496
- tree.getRoot().getUserData("my"),
1497
- "Default folders found."
1498
- );
907
+ this.assertTrue(tree.getRoot().getUserData("my"), "Default folders found.");
1499
908
 
1500
- this.assertTrue(
1501
- tree.getRoot().getChildren()[0].getUserData("my"),
1502
- "Default folders found."
1503
- );
909
+ this.assertTrue(tree.getRoot().getChildren()[0].getUserData("my"), "Default folders found.");
1504
910
 
1505
- this.assertTrue(
1506
- tree.getRoot().getChildren()[1].getUserData("my"),
1507
- "Default folders found."
1508
- );
911
+ this.assertTrue(tree.getRoot().getChildren()[1].getUserData("my"), "Default folders found.");
1509
912
 
1510
- this.assertTrue(
1511
- tree.getRoot().getChildren()[2].getUserData("my"),
1512
- "Default folders found."
1513
- );
913
+ this.assertTrue(tree.getRoot().getChildren()[2].getUserData("my"), "Default folders found.");
1514
914
 
1515
915
  tree.destroy();
1516
916
  },
@@ -1526,61 +926,25 @@ qx.Class.define("qx.test.data.controller.Tree", {
1526
926
  this.__controller.setDelegate(delegate);
1527
927
 
1528
928
  // check the initial Labels
1529
- this.assertEquals(
1530
- "root",
1531
- this.__tree.getRoot().getLabel(),
1532
- "Root node has a wrong name"
1533
- );
929
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1534
930
 
1535
- this.assertEquals(
1536
- "a",
1537
- this.__tree.getRoot().getChildren()[0].getLabel(),
1538
- "First node has a wrong name"
1539
- );
931
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1540
932
 
1541
- this.assertEquals(
1542
- "b",
1543
- this.__tree.getRoot().getChildren()[1].getLabel(),
1544
- "Second node has a wrong name"
1545
- );
933
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1546
934
 
1547
- this.assertEquals(
1548
- "c",
1549
- this.__tree.getRoot().getChildren()[2].getLabel(),
1550
- "Third node has a wrong name"
1551
- );
935
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1552
936
 
1553
937
  // check the names
1554
- this.assertEquals(
1555
- "green",
1556
- this.__tree.getRoot().getTextColor(),
1557
- "Root node has a wrong name"
1558
- );
938
+ this.assertEquals("green", this.__tree.getRoot().getTextColor(), "Root node has a wrong name");
1559
939
 
1560
- this.assertEquals(
1561
- "red",
1562
- this.__tree.getRoot().getChildren()[0].getTextColor(),
1563
- "First node has a wrong name"
1564
- );
940
+ this.assertEquals("red", this.__tree.getRoot().getChildren()[0].getTextColor(), "First node has a wrong name");
1565
941
 
1566
- this.assertEquals(
1567
- "blue",
1568
- this.__tree.getRoot().getChildren()[1].getTextColor(),
1569
- "Second node has a wrong name"
1570
- );
942
+ this.assertEquals("blue", this.__tree.getRoot().getChildren()[1].getTextColor(), "Second node has a wrong name");
1571
943
 
1572
- this.assertEquals(
1573
- "white",
1574
- this.__tree.getRoot().getChildren()[2].getTextColor(),
1575
- "Third node has a wrong name"
1576
- );
944
+ this.assertEquals("white", this.__tree.getRoot().getChildren()[2].getTextColor(), "Third node has a wrong name");
1577
945
 
1578
946
  this.__model.setColor("black");
1579
- this.assertEquals(
1580
- "black",
1581
- this.__tree.getRoot().getTextColor(),
1582
- "Root node has a wrong name"
1583
- );
947
+ this.assertEquals("black", this.__tree.getRoot().getTextColor(), "Root node has a wrong name");
1584
948
  },
1585
949
 
1586
950
  testDelegateBindFirst() {
@@ -1599,61 +963,25 @@ qx.Class.define("qx.test.data.controller.Tree", {
1599
963
  this.__controller.setTarget(tree);
1600
964
 
1601
965
  // check the initial Labels
1602
- this.assertEquals(
1603
- "root",
1604
- tree.getRoot().getLabel(),
1605
- "Root node has a wrong name"
1606
- );
966
+ this.assertEquals("root", tree.getRoot().getLabel(), "Root node has a wrong name");
1607
967
 
1608
- this.assertEquals(
1609
- "a",
1610
- tree.getRoot().getChildren()[0].getLabel(),
1611
- "First node has a wrong name"
1612
- );
968
+ this.assertEquals("a", tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1613
969
 
1614
- this.assertEquals(
1615
- "b",
1616
- tree.getRoot().getChildren()[1].getLabel(),
1617
- "Second node has a wrong name"
1618
- );
970
+ this.assertEquals("b", tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1619
971
 
1620
- this.assertEquals(
1621
- "c",
1622
- tree.getRoot().getChildren()[2].getLabel(),
1623
- "Third node has a wrong name"
1624
- );
972
+ this.assertEquals("c", tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1625
973
 
1626
974
  // check the names
1627
- this.assertEquals(
1628
- "green",
1629
- tree.getRoot().getTextColor(),
1630
- "Root node has a wrong name"
1631
- );
975
+ this.assertEquals("green", tree.getRoot().getTextColor(), "Root node has a wrong name");
1632
976
 
1633
- this.assertEquals(
1634
- "red",
1635
- tree.getRoot().getChildren()[0].getTextColor(),
1636
- "First node has a wrong name"
1637
- );
977
+ this.assertEquals("red", tree.getRoot().getChildren()[0].getTextColor(), "First node has a wrong name");
1638
978
 
1639
- this.assertEquals(
1640
- "blue",
1641
- tree.getRoot().getChildren()[1].getTextColor(),
1642
- "Second node has a wrong name"
1643
- );
979
+ this.assertEquals("blue", tree.getRoot().getChildren()[1].getTextColor(), "Second node has a wrong name");
1644
980
 
1645
- this.assertEquals(
1646
- "white",
1647
- tree.getRoot().getChildren()[2].getTextColor(),
1648
- "Third node has a wrong name"
1649
- );
981
+ this.assertEquals("white", tree.getRoot().getChildren()[2].getTextColor(), "Third node has a wrong name");
1650
982
 
1651
983
  this.__model.setColor("black");
1652
- this.assertEquals(
1653
- "black",
1654
- tree.getRoot().getTextColor(),
1655
- "Root node has a wrong name"
1656
- );
984
+ this.assertEquals("black", tree.getRoot().getTextColor(), "Root node has a wrong name");
1657
985
 
1658
986
  tree.dispose();
1659
987
  },
@@ -1663,57 +991,27 @@ qx.Class.define("qx.test.data.controller.Tree", {
1663
991
  bindItem(controller, item, id) {
1664
992
  controller.bindProperty("name", "appearance", null, item, id);
1665
993
  controller.bindPropertyReverse("name", "appearance", null, item, id);
1666
- controller.bindPropertyReverse(
1667
- "color",
1668
- "backgroundColor",
1669
- null,
1670
- item,
1671
- id
1672
- );
994
+ controller.bindPropertyReverse("color", "backgroundColor", null, item, id);
1673
995
  }
1674
996
  };
1675
997
 
1676
998
  this.__controller.setDelegate(delegate);
1677
999
 
1678
1000
  // check the initial Labels
1679
- this.assertEquals(
1680
- "root",
1681
- this.__tree.getRoot().getAppearance(),
1682
- "Root node has a wrong name"
1683
- );
1001
+ this.assertEquals("root", this.__tree.getRoot().getAppearance(), "Root node has a wrong name");
1684
1002
 
1685
- this.assertEquals(
1686
- "a",
1687
- this.__tree.getRoot().getChildren()[0].getAppearance(),
1688
- "First node has a wrong name"
1689
- );
1003
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getAppearance(), "First node has a wrong name");
1690
1004
 
1691
- this.assertEquals(
1692
- "b",
1693
- this.__tree.getRoot().getChildren()[1].getAppearance(),
1694
- "Second node has a wrong name"
1695
- );
1005
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getAppearance(), "Second node has a wrong name");
1696
1006
 
1697
- this.assertEquals(
1698
- "c",
1699
- this.__tree.getRoot().getChildren()[2].getAppearance(),
1700
- "Third node has a wrong name"
1701
- );
1007
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getAppearance(), "Third node has a wrong name");
1702
1008
 
1703
1009
  // check the reverse binding
1704
1010
  this.__tree.getRoot().setAppearance("ROOT");
1705
- this.assertEquals(
1706
- "ROOT",
1707
- this.__model.getName(),
1708
- "Reverse binding not ok!"
1709
- );
1011
+ this.assertEquals("ROOT", this.__model.getName(), "Reverse binding not ok!");
1710
1012
 
1711
1013
  this.__tree.getRoot().getChildren()[0].setBackgroundColor("#123456");
1712
- this.assertEquals(
1713
- "#123456",
1714
- this.__a.getColor(),
1715
- "Reverse binding not ok!"
1716
- );
1014
+ this.assertEquals("#123456", this.__a.getColor(), "Reverse binding not ok!");
1717
1015
 
1718
1016
  // invoke a removing and setting of the bindings with the new bindItem
1719
1017
  delegate.bindItem = function (controller, item, id) {
@@ -1769,26 +1067,14 @@ qx.Class.define("qx.test.data.controller.Tree", {
1769
1067
  oldChildren.dispose();
1770
1068
 
1771
1069
  // Test if the tree nodes exist
1772
- this.assertNotUndefined(
1773
- this.__tree.getRoot(),
1774
- "Root node does not exist"
1775
- );
1070
+ this.assertNotUndefined(this.__tree.getRoot(), "Root node does not exist");
1776
1071
 
1777
- this.assertNotUndefined(
1778
- this.__tree.getRoot().getChildren()[0],
1779
- "First node does not exist"
1780
- );
1072
+ this.assertNotUndefined(this.__tree.getRoot().getChildren()[0], "First node does not exist");
1781
1073
 
1782
- this.assertNotUndefined(
1783
- this.__tree.getRoot().getChildren()[0].getChildren()[0],
1784
- "New node does not exist"
1785
- );
1074
+ this.assertNotUndefined(this.__tree.getRoot().getChildren()[0].getChildren()[0], "New node does not exist");
1786
1075
 
1787
1076
  // test if its the proper node
1788
- this.assertEquals(
1789
- "new",
1790
- this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel()
1791
- );
1077
+ this.assertEquals("new", this.__tree.getRoot().getChildren()[0].getChildren()[0].getLabel());
1792
1078
  },
1793
1079
 
1794
1080
  testInheritedChildren() {
@@ -1842,37 +1128,17 @@ qx.Class.define("qx.test.data.controller.Tree", {
1842
1128
 
1843
1129
  // create the controller
1844
1130
  this.__controller.dispose();
1845
- this.__controller = new qx.data.controller.Tree(
1846
- this.__model,
1847
- this.__tree,
1848
- "children",
1849
- "name"
1850
- );
1131
+ this.__controller = new qx.data.controller.Tree(this.__model, this.__tree, "children", "name");
1851
1132
 
1852
1133
  // check the initial Labels
1853
- this.assertEquals(
1854
- "root",
1855
- this.__tree.getRoot().getLabel(),
1856
- "Root node has a wrong name"
1857
- );
1134
+ this.assertEquals("root", this.__tree.getRoot().getLabel(), "Root node has a wrong name");
1858
1135
 
1859
- this.assertEquals(
1860
- "a",
1861
- this.__tree.getRoot().getChildren()[0].getLabel(),
1862
- "First node has a wrong name"
1863
- );
1136
+ this.assertEquals("a", this.__tree.getRoot().getChildren()[0].getLabel(), "First node has a wrong name");
1864
1137
 
1865
- this.assertEquals(
1866
- "b",
1867
- this.__tree.getRoot().getChildren()[1].getLabel(),
1868
- "Second node has a wrong name"
1869
- );
1138
+ this.assertEquals("b", this.__tree.getRoot().getChildren()[1].getLabel(), "Second node has a wrong name");
1870
1139
 
1871
- this.assertEquals(
1872
- "c",
1873
- this.__tree.getRoot().getChildren()[2].getLabel(),
1874
- "Third node has a wrong name"
1875
- );
1140
+ this.assertEquals("c", this.__tree.getRoot().getChildren()[2].getLabel(), "Third node has a wrong name");
1141
+ qx.Class.undefine("qx.test.MyTreeNode");
1876
1142
  },
1877
1143
 
1878
1144
  testRemoveEvents() {
@@ -1887,12 +1153,7 @@ qx.Class.define("qx.test.data.controller.Tree", {
1887
1153
  }
1888
1154
 
1889
1155
  var tree = new qx.ui.tree.Tree();
1890
- var controller = new qx.data.controller.Tree(
1891
- nodes[0],
1892
- tree,
1893
- "children",
1894
- "name"
1895
- );
1156
+ var controller = new qx.data.controller.Tree(nodes[0], tree, "children", "name");
1896
1157
 
1897
1158
  for (var i = 0; i < nodes.length; ++i) {
1898
1159
  nodes[i].getChildren().removeAll(); // THIS THROWS AN EXCEPTION ON 2ND ELEMENT...