glimmer-dsl-swt 4.20.0.0 → 4.20.0.5

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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +18 -14
  4. data/VERSION +1 -1
  5. data/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md +11 -7
  6. data/docs/reference/GLIMMER_SAMPLES.md +170 -17
  7. data/docs/reference/GLIMMER_STYLE_GUIDE.md +4 -3
  8. data/glimmer-dsl-swt.gemspec +0 -0
  9. data/lib/glimmer/dsl/swt/widget_expression.rb +2 -0
  10. data/lib/glimmer/dsl/swt/widget_listener_expression.rb +3 -3
  11. data/lib/glimmer/rake_task/scaffold.rb +0 -2
  12. data/lib/glimmer/swt/combo_proxy.rb +48 -0
  13. data/lib/glimmer/swt/display_proxy.rb +11 -8
  14. data/lib/glimmer/swt/tool_bar_proxy.rb +51 -0
  15. data/lib/glimmer/swt/widget_proxy.rb +7 -1
  16. data/lib/glimmer/ui/custom_shell.rb +3 -3
  17. data/lib/glimmer/ui/custom_widget.rb +5 -2
  18. data/samples/elaborate/calculator.rb +116 -0
  19. data/samples/elaborate/calculator/model/command.rb +105 -0
  20. data/samples/elaborate/calculator/model/command/all_clear.rb +17 -0
  21. data/samples/elaborate/calculator/model/command/command_history.rb +0 -0
  22. data/samples/elaborate/calculator/model/command/equals.rb +18 -0
  23. data/samples/elaborate/calculator/model/command/number.rb +20 -0
  24. data/samples/elaborate/calculator/model/command/operation.rb +27 -0
  25. data/samples/elaborate/calculator/model/command/operation/add.rb +15 -0
  26. data/samples/elaborate/calculator/model/command/operation/divide.rb +15 -0
  27. data/samples/elaborate/calculator/model/command/operation/multiply.rb +15 -0
  28. data/samples/elaborate/calculator/model/command/operation/subtract.rb +15 -0
  29. data/samples/elaborate/calculator/model/command/point.rb +20 -0
  30. data/samples/elaborate/calculator/model/presenter.rb +30 -0
  31. data/samples/elaborate/login.rb +15 -13
  32. data/samples/elaborate/tetris.rb +4 -4
  33. data/samples/elaborate/tetris/model/game.rb +0 -3
  34. data/samples/elaborate/timer.rb +233 -0
  35. data/samples/elaborate/timer/alarm1.wav +0 -0
  36. data/samples/elaborate/timer/sounds/alarm1.wav +0 -0
  37. data/samples/elaborate/user_profile.rb +4 -2
  38. data/samples/elaborate/weather.rb +164 -0
  39. data/samples/hello/hello_composite.rb +71 -0
  40. data/samples/hello/hello_cool_bar.rb +147 -0
  41. data/samples/hello/hello_layout.rb +243 -0
  42. data/samples/hello/hello_shell.rb +205 -0
  43. data/samples/hello/hello_text.rb +120 -0
  44. data/samples/hello/hello_tool_bar.rb +143 -0
  45. metadata +28 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer-dsl-swt
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.20.0.0
4
+ version: 4.20.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Maleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-02 00:00:00.000000000 Z
11
+ date: 2021-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -344,7 +344,7 @@ description: Glimmer DSL for SWT (JRuby Desktop Development GUI Framework) is a
344
344
  libraries, thus enabling the delivery of desktop apps written in Ruby as truly native
345
345
  DMG/PKG/APP files on the Mac + App Store, MSI/EXE files on Windows, and Gem Packaged
346
346
  Shell Scripts on Linux. Glimmer was the first Ruby gem to bring SWT (Standard Widget
347
- Toolkit) to Ruby, thanks to creator Andy Maleh, an EclipseCon/EclipseWorld/RubyConf
347
+ Toolkit) to Ruby, thanks to creator Andy Maleh, EclipseCon/EclipseWorld/RubyConf
348
348
  speaker and expert.
349
349
  email: andy.am@gmail.com
350
350
  executables:
@@ -449,6 +449,7 @@ files:
449
449
  - lib/glimmer/rake_task/scaffold.rb
450
450
  - lib/glimmer/swt/c_tab_item_proxy.rb
451
451
  - lib/glimmer/swt/color_proxy.rb
452
+ - lib/glimmer/swt/combo_proxy.rb
452
453
  - lib/glimmer/swt/cursor_proxy.rb
453
454
  - lib/glimmer/swt/custom/animation.rb
454
455
  - lib/glimmer/swt/custom/checkbox_group.rb
@@ -494,6 +495,7 @@ files:
494
495
  - lib/glimmer/swt/tab_item_proxy.rb
495
496
  - lib/glimmer/swt/table_column_proxy.rb
496
497
  - lib/glimmer/swt/table_proxy.rb
498
+ - lib/glimmer/swt/tool_bar_proxy.rb
497
499
  - lib/glimmer/swt/transform_proxy.rb
498
500
  - lib/glimmer/swt/tree_proxy.rb
499
501
  - lib/glimmer/swt/widget_listener_proxy.rb
@@ -503,6 +505,19 @@ files:
503
505
  - lib/glimmer/ui/custom_shell.rb
504
506
  - lib/glimmer/ui/custom_widget.rb
505
507
  - lib/glimmer/util/proc_tracker.rb
508
+ - samples/elaborate/calculator.rb
509
+ - samples/elaborate/calculator/model/command.rb
510
+ - samples/elaborate/calculator/model/command/all_clear.rb
511
+ - samples/elaborate/calculator/model/command/command_history.rb
512
+ - samples/elaborate/calculator/model/command/equals.rb
513
+ - samples/elaborate/calculator/model/command/number.rb
514
+ - samples/elaborate/calculator/model/command/operation.rb
515
+ - samples/elaborate/calculator/model/command/operation/add.rb
516
+ - samples/elaborate/calculator/model/command/operation/divide.rb
517
+ - samples/elaborate/calculator/model/command/operation/multiply.rb
518
+ - samples/elaborate/calculator/model/command/operation/subtract.rb
519
+ - samples/elaborate/calculator/model/command/point.rb
520
+ - samples/elaborate/calculator/model/presenter.rb
506
521
  - samples/elaborate/contact_manager.rb
507
522
  - samples/elaborate/contact_manager/contact.rb
508
523
  - samples/elaborate/contact_manager/contact_manager_presenter.rb
@@ -526,7 +541,11 @@ files:
526
541
  - samples/elaborate/tic_tac_toe.rb
527
542
  - samples/elaborate/tic_tac_toe/board.rb
528
543
  - samples/elaborate/tic_tac_toe/cell.rb
544
+ - samples/elaborate/timer.rb
545
+ - samples/elaborate/timer/alarm1.wav
546
+ - samples/elaborate/timer/sounds/alarm1.wav
529
547
  - samples/elaborate/user_profile.rb
548
+ - samples/elaborate/weather.rb
530
549
  - samples/hello/hello_browser.rb
531
550
  - samples/hello/hello_button.rb
532
551
  - samples/hello/hello_c_combo.rb
@@ -551,8 +570,10 @@ files:
551
570
  - samples/hello/hello_code_text.rb
552
571
  - samples/hello/hello_color_dialog.rb
553
572
  - samples/hello/hello_combo.rb
573
+ - samples/hello/hello_composite.rb
554
574
  - samples/hello/hello_computed.rb
555
575
  - samples/hello/hello_computed/contact.rb
576
+ - samples/hello/hello_cool_bar.rb
556
577
  - samples/hello/hello_cursor.rb
557
578
  - samples/hello/hello_custom_shape.rb
558
579
  - samples/hello/hello_custom_shell.rb
@@ -565,6 +586,7 @@ files:
565
586
  - samples/hello/hello_file_dialog.rb
566
587
  - samples/hello/hello_font_dialog.rb
567
588
  - samples/hello/hello_group.rb
589
+ - samples/hello/hello_layout.rb
568
590
  - samples/hello/hello_link.rb
569
591
  - samples/hello/hello_list_multi_selection.rb
570
592
  - samples/hello/hello_list_single_selection.rb
@@ -576,11 +598,14 @@ files:
576
598
  - samples/hello/hello_radio_group.rb
577
599
  - samples/hello/hello_sash_form.rb
578
600
  - samples/hello/hello_shape.rb
601
+ - samples/hello/hello_shell.rb
579
602
  - samples/hello/hello_spinner.rb
580
603
  - samples/hello/hello_styled_text.rb
581
604
  - samples/hello/hello_tab.rb
582
605
  - samples/hello/hello_table.rb
583
606
  - samples/hello/hello_table/baseball_park.png
607
+ - samples/hello/hello_text.rb
608
+ - samples/hello/hello_tool_bar.rb
584
609
  - samples/hello/hello_tree.rb
585
610
  - samples/hello/hello_world.rb
586
611
  - sounds/metronome-down.wav