glimmer-dsl-swt 4.20.0.1 → 4.20.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +17 -13
  4. data/VERSION +1 -1
  5. data/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md +10 -7
  6. data/docs/reference/GLIMMER_SAMPLES.md +168 -49
  7. data/docs/reference/GLIMMER_STYLE_GUIDE.md +4 -3
  8. data/glimmer-dsl-swt.gemspec +0 -0
  9. data/lib/glimmer/data_binding/shine.rb +3 -1
  10. data/lib/glimmer/data_binding/table_items_binding.rb +2 -2
  11. data/lib/glimmer/dsl/swt/shine_data_binding_expression.rb +6 -3
  12. data/lib/glimmer/dsl/swt/table_items_data_binding_expression.rb +2 -2
  13. data/lib/glimmer/dsl/swt/widget_expression.rb +2 -0
  14. data/lib/glimmer/dsl/swt/widget_listener_expression.rb +3 -3
  15. data/lib/glimmer/rake_task/scaffold.rb +0 -2
  16. data/lib/glimmer/swt/combo_proxy.rb +48 -0
  17. data/lib/glimmer/swt/display_proxy.rb +11 -8
  18. data/lib/glimmer/swt/proxy_properties.rb +2 -1
  19. data/lib/glimmer/swt/table_proxy.rb +15 -8
  20. data/lib/glimmer/swt/tool_bar_proxy.rb +51 -0
  21. data/lib/glimmer/swt/widget_proxy.rb +8 -2
  22. data/lib/glimmer/ui/custom_shell.rb +3 -3
  23. data/lib/glimmer/ui/custom_widget.rb +5 -2
  24. data/samples/elaborate/calculator.rb +116 -0
  25. data/samples/elaborate/calculator/model/command.rb +105 -0
  26. data/samples/elaborate/calculator/model/command/all_clear.rb +17 -0
  27. data/samples/elaborate/calculator/model/command/command_history.rb +0 -0
  28. data/samples/elaborate/calculator/model/command/equals.rb +18 -0
  29. data/samples/elaborate/calculator/model/command/number.rb +20 -0
  30. data/samples/elaborate/calculator/model/command/operation.rb +27 -0
  31. data/samples/elaborate/calculator/model/command/operation/add.rb +15 -0
  32. data/samples/elaborate/calculator/model/command/operation/divide.rb +15 -0
  33. data/samples/elaborate/calculator/model/command/operation/multiply.rb +15 -0
  34. data/samples/elaborate/calculator/model/command/operation/subtract.rb +15 -0
  35. data/samples/elaborate/calculator/model/command/point.rb +20 -0
  36. data/samples/elaborate/calculator/model/presenter.rb +30 -0
  37. data/samples/elaborate/login.rb +15 -13
  38. data/samples/elaborate/tetris.rb +4 -4
  39. data/samples/elaborate/tetris/model/game.rb +0 -3
  40. data/samples/elaborate/timer.rb +233 -0
  41. data/samples/elaborate/timer/alarm1.wav +0 -0
  42. data/samples/elaborate/timer/sounds/alarm1.wav +0 -0
  43. data/samples/elaborate/user_profile.rb +4 -2
  44. data/samples/elaborate/weather.rb +164 -0
  45. data/samples/hello/hello_cool_bar.rb +147 -0
  46. data/samples/hello/hello_layout.rb +6 -2
  47. data/samples/hello/hello_shell.rb +205 -0
  48. data/samples/hello/hello_table.rb +5 -5
  49. data/samples/hello/hello_text.rb +120 -0
  50. data/samples/hello/hello_tool_bar.rb +143 -0
  51. metadata +25 -2
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.1
4
+ version: 4.20.1.0
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-03 00:00:00.000000000 Z
11
+ date: 2021-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -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
@@ -554,6 +573,7 @@ files:
554
573
  - samples/hello/hello_composite.rb
555
574
  - samples/hello/hello_computed.rb
556
575
  - samples/hello/hello_computed/contact.rb
576
+ - samples/hello/hello_cool_bar.rb
557
577
  - samples/hello/hello_cursor.rb
558
578
  - samples/hello/hello_custom_shape.rb
559
579
  - samples/hello/hello_custom_shell.rb
@@ -578,11 +598,14 @@ files:
578
598
  - samples/hello/hello_radio_group.rb
579
599
  - samples/hello/hello_sash_form.rb
580
600
  - samples/hello/hello_shape.rb
601
+ - samples/hello/hello_shell.rb
581
602
  - samples/hello/hello_spinner.rb
582
603
  - samples/hello/hello_styled_text.rb
583
604
  - samples/hello/hello_tab.rb
584
605
  - samples/hello/hello_table.rb
585
606
  - samples/hello/hello_table/baseball_park.png
607
+ - samples/hello/hello_text.rb
608
+ - samples/hello/hello_tool_bar.rb
586
609
  - samples/hello/hello_tree.rb
587
610
  - samples/hello/hello_world.rb
588
611
  - sounds/metronome-down.wav