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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/README.md +18 -14
- data/VERSION +1 -1
- data/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md +11 -7
- data/docs/reference/GLIMMER_SAMPLES.md +170 -17
- data/docs/reference/GLIMMER_STYLE_GUIDE.md +4 -3
- data/glimmer-dsl-swt.gemspec +0 -0
- data/lib/glimmer/dsl/swt/widget_expression.rb +2 -0
- data/lib/glimmer/dsl/swt/widget_listener_expression.rb +3 -3
- data/lib/glimmer/rake_task/scaffold.rb +0 -2
- data/lib/glimmer/swt/combo_proxy.rb +48 -0
- data/lib/glimmer/swt/display_proxy.rb +11 -8
- data/lib/glimmer/swt/tool_bar_proxy.rb +51 -0
- data/lib/glimmer/swt/widget_proxy.rb +7 -1
- data/lib/glimmer/ui/custom_shell.rb +3 -3
- data/lib/glimmer/ui/custom_widget.rb +5 -2
- data/samples/elaborate/calculator.rb +116 -0
- data/samples/elaborate/calculator/model/command.rb +105 -0
- data/samples/elaborate/calculator/model/command/all_clear.rb +17 -0
- data/samples/elaborate/calculator/model/command/command_history.rb +0 -0
- data/samples/elaborate/calculator/model/command/equals.rb +18 -0
- data/samples/elaborate/calculator/model/command/number.rb +20 -0
- data/samples/elaborate/calculator/model/command/operation.rb +27 -0
- data/samples/elaborate/calculator/model/command/operation/add.rb +15 -0
- data/samples/elaborate/calculator/model/command/operation/divide.rb +15 -0
- data/samples/elaborate/calculator/model/command/operation/multiply.rb +15 -0
- data/samples/elaborate/calculator/model/command/operation/subtract.rb +15 -0
- data/samples/elaborate/calculator/model/command/point.rb +20 -0
- data/samples/elaborate/calculator/model/presenter.rb +30 -0
- data/samples/elaborate/login.rb +15 -13
- data/samples/elaborate/tetris.rb +4 -4
- data/samples/elaborate/tetris/model/game.rb +0 -3
- data/samples/elaborate/timer.rb +233 -0
- data/samples/elaborate/timer/alarm1.wav +0 -0
- data/samples/elaborate/timer/sounds/alarm1.wav +0 -0
- data/samples/elaborate/user_profile.rb +4 -2
- data/samples/elaborate/weather.rb +164 -0
- data/samples/hello/hello_composite.rb +71 -0
- data/samples/hello/hello_cool_bar.rb +147 -0
- data/samples/hello/hello_layout.rb +243 -0
- data/samples/hello/hello_shell.rb +205 -0
- data/samples/hello/hello_text.rb +120 -0
- data/samples/hello/hello_tool_bar.rb +143 -0
- 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.
|
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-
|
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,
|
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
|