glimmer-dsl-swt 4.18.7.6 → 4.20.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/README.md +34 -21
- data/RUBY_VERSION +1 -1
- data/VERSION +1 -1
- data/bin/girb +10 -9
- data/bin/girb_runner.rb +8 -3
- data/bin/glimmer +10 -1
- data/bin/glimmer-setup +58 -0
- data/bin/glimmer_runner.rb +4 -0
- data/docs/reference/GLIMMER_COMMAND.md +19 -30
- data/docs/reference/GLIMMER_GUI_DSL_SYNTAX.md +39 -10
- data/docs/reference/GLIMMER_PACKAGING_AND_DISTRIBUTION.md +7 -1
- data/docs/reference/GLIMMER_SAMPLES.md +27 -0
- data/glimmer-dsl-swt.gemspec +0 -0
- data/lib/glimmer-dsl-swt.rb +8 -0
- data/lib/glimmer/data_binding/shine.rb +41 -26
- data/lib/glimmer/data_binding/widget_binding.rb +1 -1
- data/lib/glimmer/dsl/swt/c_tab_item_expression.rb +58 -0
- data/lib/glimmer/dsl/swt/combo_selection_data_binding_expression.rb +2 -1
- data/lib/glimmer/dsl/swt/dsl.rb +2 -1
- data/lib/glimmer/dsl/swt/shine_data_binding_expression.rb +49 -0
- data/lib/glimmer/dsl/swt/tab_item_expression.rb +7 -3
- data/lib/glimmer/dsl/swt/widget_expression.rb +1 -1
- data/lib/glimmer/launcher.rb +33 -51
- data/lib/glimmer/rake_task.rb +1 -1
- data/lib/glimmer/rake_task/package.rb +7 -2
- data/lib/glimmer/rake_task/scaffold.rb +227 -254
- data/lib/glimmer/swt/c_tab_item_proxy.rb +53 -0
- data/lib/glimmer/swt/custom/code_text.rb +17 -9
- data/lib/glimmer/swt/custom/shape.rb +15 -1
- data/lib/glimmer/swt/sash_form_proxy.rb +6 -0
- data/lib/glimmer/swt/shell_proxy.rb +3 -1
- data/lib/glimmer/swt/tab_folder_proxy.rb +1 -0
- data/lib/glimmer/swt/tab_item_proxy.rb +17 -18
- data/lib/glimmer/swt/widget_proxy.rb +9 -0
- data/samples/elaborate/contact_manager.rb +7 -5
- data/samples/elaborate/login.rb +7 -7
- data/samples/elaborate/mandelbrot_fractal.rb +13 -8
- data/samples/elaborate/meta_sample.rb +4 -2
- data/samples/elaborate/metronome.rb +4 -4
- data/samples/elaborate/stock_ticker.rb +2 -2
- data/samples/elaborate/tic_tac_toe.rb +2 -2
- data/samples/hello/hello_button.rb +1 -1
- data/samples/hello/hello_c_combo.rb +69 -0
- data/samples/hello/hello_c_tab.rb +174 -0
- data/samples/hello/hello_c_tab/denmark.png +0 -0
- data/samples/hello/hello_c_tab/finland.png +0 -0
- data/samples/hello/hello_c_tab/france.png +0 -0
- data/samples/hello/hello_c_tab/germany.png +0 -0
- data/samples/hello/hello_c_tab/italy.png +0 -0
- data/samples/hello/hello_c_tab/mexico.png +0 -0
- data/samples/hello/hello_c_tab/netherlands.png +0 -0
- data/samples/hello/hello_c_tab/norway.png +0 -0
- data/samples/hello/hello_c_tab/usa.png +0 -0
- data/samples/hello/hello_canvas.rb +5 -5
- data/samples/hello/hello_canvas_animation_data_binding.rb +1 -1
- data/samples/hello/hello_canvas_data_binding.rb +16 -16
- data/samples/hello/hello_checkbox.rb +4 -4
- data/samples/hello/hello_code_text.rb +3 -57
- data/samples/hello/hello_color_dialog.rb +1 -1
- data/samples/hello/hello_combo.rb +1 -1
- data/samples/hello/hello_computed.rb +5 -5
- data/samples/hello/hello_custom_widget.rb +1 -1
- data/samples/hello/hello_date_time.rb +4 -4
- data/samples/hello/hello_dialog.rb +3 -2
- data/samples/hello/hello_drag_and_drop.rb +1 -1
- data/samples/hello/hello_file_dialog.rb +1 -1
- data/samples/hello/hello_font_dialog.rb +3 -3
- data/samples/hello/hello_group.rb +6 -6
- data/samples/hello/hello_link.rb +56 -50
- data/samples/hello/hello_list_multi_selection.rb +1 -1
- data/samples/hello/hello_list_single_selection.rb +1 -1
- data/samples/hello/hello_progress_bar.rb +10 -10
- data/samples/hello/hello_radio.rb +6 -6
- data/samples/hello/hello_sash_form.rb +4 -4
- data/samples/hello/hello_shape.rb +1 -0
- data/samples/hello/hello_spinner.rb +6 -2
- data/samples/hello/hello_styled_text.rb +11 -11
- data/samples/hello/hello_tab.rb +2 -0
- data/vendor/swt/linux/swt.jar +0 -0
- data/vendor/swt/linux_aarch64/swt.jar +0 -0
- data/vendor/swt/mac/swt.jar +0 -0
- data/vendor/swt/mac_aarch64/swt.jar +0 -0
- data/vendor/swt/windows/swt.jar +0 -0
- metadata +76 -32
@@ -65,40 +65,40 @@ class HelloProgressBar
|
|
65
65
|
}
|
66
66
|
|
67
67
|
spinner {
|
68
|
-
selection
|
68
|
+
selection <=> [@progress_model, :minimum]
|
69
69
|
}
|
70
70
|
|
71
71
|
spinner {
|
72
|
-
selection
|
72
|
+
selection <=> [@progress_model, :maximum]
|
73
73
|
}
|
74
74
|
|
75
75
|
spinner {
|
76
|
-
selection
|
76
|
+
selection <=> [@progress_model, :selection]
|
77
77
|
}
|
78
78
|
|
79
79
|
spinner {
|
80
80
|
digits 2
|
81
81
|
minimum 1
|
82
82
|
maximum 200
|
83
|
-
selection
|
83
|
+
selection <=> [@progress_model, :delay, on_read: ->(v) {v.to_f*100.0}, on_write: ->(v) {v.to_f/100.0}]
|
84
84
|
}
|
85
85
|
|
86
86
|
progress_bar {
|
87
87
|
layout_data(:fill, :center, true, false) {
|
88
88
|
horizontal_span 4
|
89
89
|
}
|
90
|
-
minimum
|
91
|
-
maximum
|
92
|
-
selection
|
90
|
+
minimum <= [@progress_model, :minimum]
|
91
|
+
maximum <= [@progress_model, :maximum]
|
92
|
+
selection <= [@progress_model, :selection]
|
93
93
|
}
|
94
94
|
|
95
95
|
progress_bar(:vertical) {
|
96
96
|
layout_data(:fill, :center, true, false) {
|
97
97
|
horizontal_span 4
|
98
98
|
}
|
99
|
-
minimum
|
100
|
-
maximum
|
101
|
-
selection
|
99
|
+
minimum <= [@progress_model, :minimum]
|
100
|
+
maximum <= [@progress_model, :maximum]
|
101
|
+
selection <= [@progress_model, :selection]
|
102
102
|
}
|
103
103
|
|
104
104
|
button {
|
@@ -60,12 +60,12 @@ class HelloRadio
|
|
60
60
|
|
61
61
|
radio {
|
62
62
|
text 'Male'
|
63
|
-
selection
|
63
|
+
selection <=> [@person, :male]
|
64
64
|
}
|
65
65
|
|
66
66
|
radio {
|
67
67
|
text 'Female'
|
68
|
-
selection
|
68
|
+
selection <=> [@person, :female]
|
69
69
|
}
|
70
70
|
}
|
71
71
|
|
@@ -79,22 +79,22 @@ class HelloRadio
|
|
79
79
|
|
80
80
|
radio {
|
81
81
|
text 'Child'
|
82
|
-
selection
|
82
|
+
selection <=> [@person, :child]
|
83
83
|
}
|
84
84
|
|
85
85
|
radio {
|
86
86
|
text 'Teen'
|
87
|
-
selection
|
87
|
+
selection <=> [@person, :teen]
|
88
88
|
}
|
89
89
|
|
90
90
|
radio {
|
91
91
|
text 'Adult'
|
92
|
-
selection
|
92
|
+
selection <=> [@person, :adult]
|
93
93
|
}
|
94
94
|
|
95
95
|
radio {
|
96
96
|
text 'Senior'
|
97
|
-
selection
|
97
|
+
selection <=> [@person, :senior]
|
98
98
|
}
|
99
99
|
}
|
100
100
|
|
@@ -54,8 +54,8 @@ shell {
|
|
54
54
|
layout_data(:fill, :fill, true, true) {
|
55
55
|
height_hint 200
|
56
56
|
}
|
57
|
-
sash_width
|
58
|
-
orientation
|
57
|
+
sash_width <=> [@presenter, :sash_width]
|
58
|
+
orientation <=> [@presenter, :orientation_style]
|
59
59
|
weights 1, 2
|
60
60
|
|
61
61
|
@green_label = label {
|
@@ -86,7 +86,7 @@ shell {
|
|
86
86
|
layout_data(:fill, :center, true, false) {
|
87
87
|
width_hint 100
|
88
88
|
}
|
89
|
-
selection
|
89
|
+
selection <=> [@presenter, :sash_width]
|
90
90
|
font height: 16
|
91
91
|
}
|
92
92
|
|
@@ -99,7 +99,7 @@ shell {
|
|
99
99
|
layout_data(:fill, :center, true, false) {
|
100
100
|
width_hint 100
|
101
101
|
}
|
102
|
-
selection
|
102
|
+
selection <=> [@presenter, :orientation]
|
103
103
|
font height: 16
|
104
104
|
}
|
105
105
|
|
@@ -46,6 +46,7 @@ class HelloShape
|
|
46
46
|
}
|
47
47
|
|
48
48
|
# method-based custom shape using `shape` keyword as a composite shape containing nested shapes
|
49
|
+
# See HelloCustomShape sample for a class-based custom shape alternative that enables extracting custom shape to a separate class/file
|
49
50
|
def stick_figure(x, y, width, height, &block)
|
50
51
|
head_width = width*0.2
|
51
52
|
head_height = height*0.2
|
@@ -47,6 +47,9 @@ class HelloSpinner
|
|
47
47
|
grid_layout 3, false
|
48
48
|
|
49
49
|
label {
|
50
|
+
layout_data {
|
51
|
+
width_hint 240
|
52
|
+
}
|
50
53
|
text 'Amount:'
|
51
54
|
font style: :bold
|
52
55
|
}
|
@@ -61,11 +64,12 @@ class HelloSpinner
|
|
61
64
|
maximum 15000 # maximum value (including digits after the decimal point)
|
62
65
|
increment 500 # increment on up and down (including digits after the decimal point)
|
63
66
|
page_increment 5000 # page increment on page up and page down (including digits after the decimal point)
|
64
|
-
selection
|
67
|
+
selection <=> [@person, :donation] # selection must be set last if other properties are configured to ensure value is within bounds
|
65
68
|
}
|
66
69
|
|
67
70
|
label {
|
68
|
-
|
71
|
+
layout_data(:fill, :center, true, false)
|
72
|
+
text <=> [@person, :donation, on_read: ->(value) { "Thank you for your donation of $#{"%.2f" % (value.to_f / 100.0)}"}]
|
69
73
|
}
|
70
74
|
|
71
75
|
}
|
@@ -49,7 +49,7 @@ end
|
|
49
49
|
include Glimmer
|
50
50
|
|
51
51
|
@presenter = StyledTextPresenter.new
|
52
|
-
@presenter.text = verbiage*
|
52
|
+
@presenter.text = verbiage*4
|
53
53
|
@presenter.caret_offset = 0
|
54
54
|
@presenter.selection_count = 0
|
55
55
|
@presenter.selection = Point.new(0, 0)
|
@@ -61,19 +61,19 @@ shell {
|
|
61
61
|
composite {
|
62
62
|
@styled_text = styled_text {
|
63
63
|
layout_data :fill, :fill, true, true
|
64
|
-
text
|
64
|
+
text <=> [@presenter, :text]
|
65
65
|
left_margin 5
|
66
66
|
top_margin 5
|
67
67
|
right_margin 5
|
68
68
|
bottom_margin 5
|
69
69
|
# caret offset scrolls text to view when out of page
|
70
|
-
caret_offset
|
70
|
+
caret_offset <=> [@presenter, :caret_offset]
|
71
71
|
# selection_count is not needed if selection is used
|
72
|
-
selection_count
|
72
|
+
selection_count <=> [@presenter, :selection_count]
|
73
73
|
# selection contains both caret_offset and selection_count, but setting it does not scroll text into view if out of page
|
74
|
-
selection
|
74
|
+
selection <=> [@presenter, :selection]
|
75
75
|
# top_pixel indicates vertically what pixel scrolling is at in a long multi-page text document
|
76
|
-
top_pixel
|
76
|
+
top_pixel <=> [@presenter, :top_pixel]
|
77
77
|
|
78
78
|
# This demonstrates how to set styles via a listener
|
79
79
|
on_line_get_style { |line_style_event|
|
@@ -109,31 +109,31 @@ shell {
|
|
109
109
|
text 'Caret Offset:'
|
110
110
|
}
|
111
111
|
text {
|
112
|
-
text
|
112
|
+
text <=> [@presenter, :caret_offset, on_read: ->(o) {"%04d" % [o] }]
|
113
113
|
}
|
114
114
|
label {
|
115
115
|
text 'Selection Count:'
|
116
116
|
}
|
117
117
|
text {
|
118
|
-
text
|
118
|
+
text <=> [@presenter, :selection_count, on_read: ->(o) {"%04d" % [o] }]
|
119
119
|
}
|
120
120
|
label {
|
121
121
|
text 'Selection Start:'
|
122
122
|
}
|
123
123
|
text {
|
124
|
-
text
|
124
|
+
text <=> [@presenter, 'selection.x', on_read: ->(o) {"%04d" % [o] }]
|
125
125
|
}
|
126
126
|
label {
|
127
127
|
text 'Selection End:'
|
128
128
|
}
|
129
129
|
text {
|
130
|
-
text
|
130
|
+
text <=> [@presenter, 'selection.y', on_read: ->(o) {"%04d" % [o] }]
|
131
131
|
}
|
132
132
|
label {
|
133
133
|
text 'Top Pixel:'
|
134
134
|
}
|
135
135
|
text {
|
136
|
-
text
|
136
|
+
text <=> [@presenter, :top_pixel, on_read: ->(o) {"%04d" % [o] }]
|
137
137
|
}
|
138
138
|
}
|
139
139
|
}
|
data/samples/hello/hello_tab.rb
CHANGED
@@ -31,6 +31,7 @@ class HelloTab
|
|
31
31
|
tab_folder {
|
32
32
|
tab_item {
|
33
33
|
text 'English'
|
34
|
+
tool_tip_text 'English Greeting'
|
34
35
|
|
35
36
|
label {
|
36
37
|
text 'Hello, World!'
|
@@ -39,6 +40,7 @@ class HelloTab
|
|
39
40
|
|
40
41
|
tab_item {
|
41
42
|
text 'French'
|
43
|
+
tool_tip_text 'French Greeting'
|
42
44
|
|
43
45
|
label {
|
44
46
|
text 'Bonjour, Univers!'
|
data/vendor/swt/linux/swt.jar
CHANGED
Binary file
|
Binary file
|
data/vendor/swt/mac/swt.jar
CHANGED
Binary file
|
Binary file
|
data/vendor/swt/windows/swt.jar
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-dsl-swt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.20.0.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-
|
11
|
+
date: 2021-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
15
15
|
requirements:
|
16
16
|
- - "~>"
|
17
17
|
- !ruby/object:Gem::Version
|
18
|
-
version: 1.
|
18
|
+
version: 1.3.1
|
19
19
|
name: glimmer
|
20
|
-
type: :runtime
|
21
20
|
prerelease: false
|
21
|
+
type: :runtime
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.3.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
@@ -34,8 +34,8 @@ dependencies:
|
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: 2.0.0
|
36
36
|
name: super_module
|
37
|
-
type: :runtime
|
38
37
|
prerelease: false
|
38
|
+
type: :runtime
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - ">="
|
@@ -54,8 +54,8 @@ dependencies:
|
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: 2.0.0
|
56
56
|
name: nested_inherited_jruby_include_package
|
57
|
-
type: :runtime
|
58
57
|
prerelease: false
|
58
|
+
type: :runtime
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
@@ -74,8 +74,8 @@ dependencies:
|
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 2.0.0
|
76
76
|
name: puts_debuggerer
|
77
|
-
type: :runtime
|
78
77
|
prerelease: false
|
78
|
+
type: :runtime
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
@@ -94,8 +94,8 @@ dependencies:
|
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: 2.0.0
|
96
96
|
name: rake-tui
|
97
|
-
type: :runtime
|
98
97
|
prerelease: false
|
98
|
+
type: :runtime
|
99
99
|
version_requirements: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -114,8 +114,8 @@ dependencies:
|
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: 3.0.0
|
116
116
|
name: logging
|
117
|
-
type: :runtime
|
118
117
|
prerelease: false
|
118
|
+
type: :runtime
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
121
|
- - ">="
|
@@ -134,8 +134,8 @@ dependencies:
|
|
134
134
|
- !ruby/object:Gem::Version
|
135
135
|
version: 2.0.0
|
136
136
|
name: os
|
137
|
-
type: :runtime
|
138
137
|
prerelease: false
|
138
|
+
type: :runtime
|
139
139
|
version_requirements: !ruby/object:Gem::Requirement
|
140
140
|
requirements:
|
141
141
|
- - ">="
|
@@ -149,21 +149,15 @@ dependencies:
|
|
149
149
|
requirements:
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version:
|
153
|
-
- - "<"
|
154
|
-
- !ruby/object:Gem::Version
|
155
|
-
version: 14.0.0
|
152
|
+
version: 13.0.0
|
156
153
|
name: rake
|
157
|
-
type: :runtime
|
158
154
|
prerelease: false
|
155
|
+
type: :runtime
|
159
156
|
version_requirements: !ruby/object:Gem::Requirement
|
160
157
|
requirements:
|
161
158
|
- - ">="
|
162
159
|
- !ruby/object:Gem::Version
|
163
|
-
version:
|
164
|
-
- - "<"
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: 14.0.0
|
160
|
+
version: 13.0.0
|
167
161
|
- !ruby/object:Gem::Dependency
|
168
162
|
requirement: !ruby/object:Gem::Requirement
|
169
163
|
requirements:
|
@@ -174,8 +168,8 @@ dependencies:
|
|
174
168
|
- !ruby/object:Gem::Version
|
175
169
|
version: 2.0.0
|
176
170
|
name: text-table
|
177
|
-
type: :runtime
|
178
171
|
prerelease: false
|
172
|
+
type: :runtime
|
179
173
|
version_requirements: !ruby/object:Gem::Requirement
|
180
174
|
requirements:
|
181
175
|
- - ">="
|
@@ -194,8 +188,8 @@ dependencies:
|
|
194
188
|
- !ruby/object:Gem::Version
|
195
189
|
version: 4.0.0
|
196
190
|
name: rouge
|
197
|
-
type: :runtime
|
198
191
|
prerelease: false
|
192
|
+
type: :runtime
|
199
193
|
version_requirements: !ruby/object:Gem::Requirement
|
200
194
|
requirements:
|
201
195
|
- - ">="
|
@@ -204,6 +198,26 @@ dependencies:
|
|
204
198
|
- - "<"
|
205
199
|
- !ruby/object:Gem::Version
|
206
200
|
version: 4.0.0
|
201
|
+
- !ruby/object:Gem::Dependency
|
202
|
+
requirement: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: 0.8.5
|
207
|
+
- - "<"
|
208
|
+
- !ruby/object:Gem::Version
|
209
|
+
version: 2.0.0
|
210
|
+
name: jruby-win32ole
|
211
|
+
prerelease: false
|
212
|
+
type: :runtime
|
213
|
+
version_requirements: !ruby/object:Gem::Requirement
|
214
|
+
requirements:
|
215
|
+
- - ">="
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
version: 0.8.5
|
218
|
+
- - "<"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: 2.0.0
|
207
221
|
- !ruby/object:Gem::Dependency
|
208
222
|
requirement: !ruby/object:Gem::Requirement
|
209
223
|
requirements:
|
@@ -214,8 +228,8 @@ dependencies:
|
|
214
228
|
- !ruby/object:Gem::Version
|
215
229
|
version: 3.0.0
|
216
230
|
name: juwelier
|
217
|
-
type: :development
|
218
231
|
prerelease: false
|
232
|
+
type: :development
|
219
233
|
version_requirements: !ruby/object:Gem::Requirement
|
220
234
|
requirements:
|
221
235
|
- - ">="
|
@@ -234,8 +248,8 @@ dependencies:
|
|
234
248
|
- !ruby/object:Gem::Version
|
235
249
|
version: 3.0.0
|
236
250
|
name: warbler
|
237
|
-
type: :development
|
238
251
|
prerelease: false
|
252
|
+
type: :development
|
239
253
|
version_requirements: !ruby/object:Gem::Requirement
|
240
254
|
requirements:
|
241
255
|
- - ">="
|
@@ -251,8 +265,8 @@ dependencies:
|
|
251
265
|
- !ruby/object:Gem::Version
|
252
266
|
version: '3.0'
|
253
267
|
name: rspec-mocks
|
254
|
-
type: :development
|
255
268
|
prerelease: false
|
269
|
+
type: :development
|
256
270
|
version_requirements: !ruby/object:Gem::Requirement
|
257
271
|
requirements:
|
258
272
|
- - "~>"
|
@@ -265,8 +279,8 @@ dependencies:
|
|
265
279
|
- !ruby/object:Gem::Version
|
266
280
|
version: '3.0'
|
267
281
|
name: rspec
|
268
|
-
type: :development
|
269
282
|
prerelease: false
|
283
|
+
type: :development
|
270
284
|
version_requirements: !ruby/object:Gem::Requirement
|
271
285
|
requirements:
|
272
286
|
- - "~>"
|
@@ -279,8 +293,8 @@ dependencies:
|
|
279
293
|
- !ruby/object:Gem::Version
|
280
294
|
version: 0.8.23
|
281
295
|
name: coveralls
|
282
|
-
type: :development
|
283
296
|
prerelease: false
|
297
|
+
type: :development
|
284
298
|
version_requirements: !ruby/object:Gem::Requirement
|
285
299
|
requirements:
|
286
300
|
- - '='
|
@@ -293,8 +307,8 @@ dependencies:
|
|
293
307
|
- !ruby/object:Gem::Version
|
294
308
|
version: 0.16.1
|
295
309
|
name: simplecov
|
296
|
-
type: :development
|
297
310
|
prerelease: false
|
311
|
+
type: :development
|
298
312
|
version_requirements: !ruby/object:Gem::Requirement
|
299
313
|
requirements:
|
300
314
|
- - "~>"
|
@@ -307,8 +321,8 @@ dependencies:
|
|
307
321
|
- !ruby/object:Gem::Version
|
308
322
|
version: 0.7.0
|
309
323
|
name: simplecov-lcov
|
310
|
-
type: :development
|
311
324
|
prerelease: false
|
325
|
+
type: :development
|
312
326
|
version_requirements: !ruby/object:Gem::Requirement
|
313
327
|
requirements:
|
314
328
|
- - "~>"
|
@@ -329,11 +343,14 @@ description: Glimmer DSL for SWT (JRuby Desktop Development GUI Framework) is a
|
|
329
343
|
Glimmer also includes native-executable packaging support, sorely lacking in other
|
330
344
|
libraries, thus enabling the delivery of desktop apps written in Ruby as truly native
|
331
345
|
DMG/PKG/APP files on the Mac + App Store, MSI/EXE files on Windows, and Gem Packaged
|
332
|
-
Shell Scripts on Linux.
|
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
|
348
|
+
speaker and expert.
|
333
349
|
email: andy.am@gmail.com
|
334
350
|
executables:
|
335
351
|
- glimmer
|
336
352
|
- girb
|
353
|
+
- glimmer-setup
|
337
354
|
extensions: []
|
338
355
|
extra_rdoc_files:
|
339
356
|
- README.md
|
@@ -353,6 +370,8 @@ files:
|
|
353
370
|
- bin/girb
|
354
371
|
- bin/girb_runner.rb
|
355
372
|
- bin/glimmer
|
373
|
+
- bin/glimmer-setup
|
374
|
+
- bin/glimmer_runner.rb
|
356
375
|
- docs/reference/GLIMMER_COMMAND.md
|
357
376
|
- docs/reference/GLIMMER_CONFIGURATION.md
|
358
377
|
- docs/reference/GLIMMER_GIRB.md
|
@@ -380,6 +399,7 @@ files:
|
|
380
399
|
- lib/glimmer/dsl/swt/auto_exec_expression.rb
|
381
400
|
- lib/glimmer/dsl/swt/bind_expression.rb
|
382
401
|
- lib/glimmer/dsl/swt/block_property_expression.rb
|
402
|
+
- lib/glimmer/dsl/swt/c_tab_item_expression.rb
|
383
403
|
- lib/glimmer/dsl/swt/checkbox_group_selection_data_binding_expression.rb
|
384
404
|
- lib/glimmer/dsl/swt/color_expression.rb
|
385
405
|
- lib/glimmer/dsl/swt/column_properties_expression.rb
|
@@ -411,6 +431,7 @@ files:
|
|
411
431
|
- lib/glimmer/dsl/swt/rgba_expression.rb
|
412
432
|
- lib/glimmer/dsl/swt/shape_expression.rb
|
413
433
|
- lib/glimmer/dsl/swt/shell_expression.rb
|
434
|
+
- lib/glimmer/dsl/swt/shine_data_binding_expression.rb
|
414
435
|
- lib/glimmer/dsl/swt/swt_expression.rb
|
415
436
|
- lib/glimmer/dsl/swt/sync_exec_expression.rb
|
416
437
|
- lib/glimmer/dsl/swt/tab_item_expression.rb
|
@@ -426,6 +447,7 @@ files:
|
|
426
447
|
- lib/glimmer/rake_task/list.rb
|
427
448
|
- lib/glimmer/rake_task/package.rb
|
428
449
|
- lib/glimmer/rake_task/scaffold.rb
|
450
|
+
- lib/glimmer/swt/c_tab_item_proxy.rb
|
429
451
|
- lib/glimmer/swt/color_proxy.rb
|
430
452
|
- lib/glimmer/swt/cursor_proxy.rb
|
431
453
|
- lib/glimmer/swt/custom/animation.rb
|
@@ -507,6 +529,17 @@ files:
|
|
507
529
|
- samples/elaborate/user_profile.rb
|
508
530
|
- samples/hello/hello_browser.rb
|
509
531
|
- samples/hello/hello_button.rb
|
532
|
+
- samples/hello/hello_c_combo.rb
|
533
|
+
- samples/hello/hello_c_tab.rb
|
534
|
+
- samples/hello/hello_c_tab/denmark.png
|
535
|
+
- samples/hello/hello_c_tab/finland.png
|
536
|
+
- samples/hello/hello_c_tab/france.png
|
537
|
+
- samples/hello/hello_c_tab/germany.png
|
538
|
+
- samples/hello/hello_c_tab/italy.png
|
539
|
+
- samples/hello/hello_c_tab/mexico.png
|
540
|
+
- samples/hello/hello_c_tab/netherlands.png
|
541
|
+
- samples/hello/hello_c_tab/norway.png
|
542
|
+
- samples/hello/hello_c_tab/usa.png
|
510
543
|
- samples/hello/hello_canvas.rb
|
511
544
|
- samples/hello/hello_canvas_animation.rb
|
512
545
|
- samples/hello/hello_canvas_animation_data_binding.rb
|
@@ -553,16 +586,27 @@ files:
|
|
553
586
|
- sounds/metronome-down.wav
|
554
587
|
- sounds/metronome-up.wav
|
555
588
|
- vendor/swt/linux/swt.jar
|
589
|
+
- vendor/swt/linux_aarch64/swt.jar
|
556
590
|
- vendor/swt/mac/swt.jar
|
591
|
+
- vendor/swt/mac_aarch64/swt.jar
|
557
592
|
- vendor/swt/windows/swt.jar
|
558
593
|
homepage: http://github.com/AndyObtiva/glimmer-dsl-swt
|
559
594
|
licenses:
|
560
595
|
- MIT
|
561
596
|
metadata: {}
|
562
597
|
post_install_message:
|
598
|
+
- |2+
|
599
|
+
|
600
|
+
You are ready to use `glimmer` and `girb` commands on Windows and Linux.
|
601
|
+
|
602
|
+
On the Mac, run `glimmer-setup` command to complete setup of Glimmer DSL for SWT, making `glimmer` and `girb` commands ready for use:
|
603
|
+
|
604
|
+
glimmer-setup
|
605
|
+
|
563
606
|
rdoc_options: []
|
564
607
|
require_paths:
|
565
608
|
- lib
|
609
|
+
- bin
|
566
610
|
required_ruby_version: !ruby/object:Gem::Requirement
|
567
611
|
requirements:
|
568
612
|
- - ">="
|
@@ -574,7 +618,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
574
618
|
- !ruby/object:Gem::Version
|
575
619
|
version: '0'
|
576
620
|
requirements: []
|
577
|
-
rubygems_version: 3.
|
621
|
+
rubygems_version: 3.1.6
|
578
622
|
signing_key:
|
579
623
|
specification_version: 4
|
580
624
|
summary: Glimmer DSL for SWT (JRuby Desktop Development GUI Framework)
|