@@ -317,8 +317,9 @@ $wt = org.eclipse.swt;
317
317
318
318
var path = ClazzLoader . getClasspathFor ( "org.eclipse.swt.*" ) ;
319
319
320
- // The core.z.js should already intialized
321
- ClazzLoader . loadZJar ( path + "events.z.js" , [
320
+ var isDebugging = ( window [ "swt.debugging" ] == true ) ;
321
+ if ( ! isDebugging ) {
322
+ ClazzLoader . jarClasspath ( path + "basic.z.js" , [
322
323
"org.eclipse.swt.internal.SWTEventListener" ,
323
324
"$.SWTEventObject" ,
324
325
"org.eclipse.swt.widgets.Event" ,
@@ -368,12 +369,8 @@ $wt = org.eclipse.swt;
368
369
"$.TreeListener" ,
369
370
"$.TreeAdapter" ,
370
371
"$.VerifyListener" ,
371
- "org.eclipse.swt.widgets.EventTable"
372
- ] ) ;
373
-
374
- var isDebugging = ( window [ "swt.debugging" ] == true ) ;
375
- if ( ! isDebugging ) {
376
- ClazzLoader . jarClasspath ( path + "basic.z.js" , [
372
+ "org.eclipse.swt.widgets.EventTable" ,
373
+
377
374
"$wt.internal.SerializableCompatibility" ,
378
375
"$.CloneableCompatibility" ,
379
376
"$.RunnableCompatibility" ,
@@ -403,9 +400,8 @@ if (!isDebugging) {
403
400
"$.FontMetrics" ,
404
401
"$.Font" ,
405
402
406
- "$wt.widgets.Monitor"
407
- ] ) ;
408
- ClazzLoader . jarClasspath ( path + "more.z.js" , [
403
+ "$wt.widgets.Monitor" ,
404
+
409
405
"$wt.internal.ResizeHandler" ,
410
406
"$wt.internal.ResizeSystem" ,
411
407
@@ -446,16 +442,33 @@ if (!isDebugging) {
446
442
"$.Shell" ,
447
443
"$.Dialog"
448
444
] ) ;
445
+ ClazzLoader . jarClasspath ( wPath + "more.z.js" , [
446
+ "$wt.widgets.Label" ,
447
+ "$.Button" ,
448
+ "$.Text" ,
449
+ "$.Group" ,
450
+ "$.TabItem" ,
451
+ "$.TabFolder" ,
452
+ "$.TrayItem" ,
453
+ "$.Tray" ,
454
+ "$.MenuItem" ,
455
+ "$.Menu" ,
456
+ "$.Link" ,
457
+ "$.Combo" ,
458
+ "$wt.browser.Browser" ,
459
+ "$wt.program.Program" ,
460
+ "$wt.layout.GridData" ,
461
+ "$.GridLayout" ,
462
+ "$.FillData" ,
463
+ "$.FillLayout"
464
+ ] ) ;
465
+
449
466
var w = "$wt.widgets." ;
450
467
ClazzLoader . jarClasspath ( wPath + "Tree.z.js" , [
451
468
w + "TreeItem" ,
452
469
"$.TreeColumn" ,
453
470
"$.Tree"
454
471
] ) ;
455
- ClazzLoader . jarClasspath ( wPath + "Tray.z.js" , [
456
- w + "TrayItem" ,
457
- "$.Tray"
458
- ] ) ;
459
472
ClazzLoader . jarClasspath ( wPath + "ToolBar.z.js" , [
460
473
w + "ToolItem" ,
461
474
"$.ToolBar"
@@ -507,33 +520,13 @@ if (!isDebugging) {
507
520
"$wt.internal.dnd.ScaleDND" ,
508
521
w + "Scale"
509
522
] ) ;
510
- ClazzLoader . jarClasspath ( wPath + "Menu.z.js" , [
511
- w + "MenuItem" ,
512
- "$.Menu"
513
- ] ) ;
514
523
ClazzLoader . jarClasspath ( wPath + "CoolBar.z.js" , [
515
524
w + "CoolItem" ,
516
525
"$.CoolBar"
517
526
] ) ;
518
- ClazzLoader . jarClasspath ( wPath + "Common.z.js" , [
519
- w + "Label" ,
520
- "$.Button" ,
521
- "$.Text" ,
522
- "$.Group" ,
523
- "$.TabItem" ,
524
- "$.TabFolder"
525
- ] ) ;
526
527
527
528
var lPath = ClazzLoader . getClasspathFor ( "org.eclipse.swt.layout.*" ) ;
528
529
var l = "$wt.layout." ;
529
- ClazzLoader . jarClasspath ( lPath + "GridLayout.z.js" , [
530
- l + "GridData" ,
531
- "$.GridLayout"
532
- ] ) ;
533
- ClazzLoader . jarClasspath ( lPath + "FillLayout.z.js" , [
534
- l + "FillData" ,
535
- "$.FillLayout"
536
- ] ) ;
537
530
ClazzLoader . jarClasspath ( lPath + "RowLayout.z.js" , [
538
531
l + "RowData" ,
539
532
"$.RowLayout"
0 commit comments