glimmer-dsl-swt 4.17.8.3 → 4.17.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +39 -0
- data/README.md +224 -7
- data/VERSION +1 -1
- data/glimmer-dsl-swt.gemspec +10 -7
- data/lib/glimmer-dsl-swt.rb +4 -3
- data/lib/glimmer/data_binding/table_items_binding.rb +5 -5
- data/lib/glimmer/dsl/swt/table_items_data_binding_expression.rb +3 -3
- data/lib/glimmer/dsl/swt/widget_expression.rb +1 -0
- data/lib/glimmer/launcher.rb +9 -9
- data/lib/glimmer/swt/date_time_proxy.rb +87 -0
- data/lib/glimmer/swt/display_proxy.rb +6 -6
- data/lib/glimmer/swt/dnd_proxy.rb +6 -10
- data/lib/glimmer/swt/message_box_proxy.rb +7 -7
- data/lib/glimmer/swt/sash_form_proxy.rb +3 -3
- data/lib/glimmer/swt/shell_proxy.rb +18 -3
- data/lib/glimmer/swt/style_constantizable.rb +5 -5
- data/lib/glimmer/swt/styled_text_proxy.rb +8 -13
- data/lib/glimmer/swt/swt_proxy.rb +7 -8
- data/lib/glimmer/swt/tab_item_proxy.rb +6 -1
- data/lib/glimmer/swt/table_column_proxy.rb +13 -5
- data/lib/glimmer/swt/table_proxy.rb +165 -44
- data/lib/glimmer/swt/widget_proxy.rb +81 -17
- data/samples/elaborate/meta_sample.rb +9 -9
- data/samples/hello/hello_checkbox_group.rb +3 -0
- data/samples/hello/hello_combo.rb +5 -5
- data/samples/hello/hello_date_time.rb +63 -0
- data/samples/hello/hello_radio_group.rb +3 -0
- data/samples/hello/hello_sash_form.rb +3 -3
- data/samples/hello/hello_spinner.rb +69 -0
- data/samples/hello/hello_tab.rb +3 -3
- data/samples/hello/hello_table.rb +188 -31
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e53b0ddebcc56b426c8109dd96a02c9d1aafad88dbaa745de77b5ffa50a25b2
|
4
|
+
data.tar.gz: 56db52d76c9ab04ecd6274ea26c00b9363d30ee89434bcf2e31bb4ddce8e646a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4370b33f2dcb7b2cceac92eb044f253cefb64835f39f5838922a19e4d94aa152bc393cfddb6af48282f968746165152ad7997e4048c2fda8fc89130158865259
|
7
|
+
data.tar.gz: 5f4292d5419dbce9407be59346b5af8018ee98c24fd46fc90068e548724ddb4588ca2bdc3634b59803a9a6627c828bc773759c0516e3ad9ce99ee0acad2562fc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,44 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
### 4.17.10.3
|
4
|
+
|
5
|
+
- Fixed issue in StyledText data-binding relating to capturing selection changes on mouse click
|
6
|
+
|
7
|
+
### 4.17.10.2
|
8
|
+
|
9
|
+
- Upgraded glimmer gem to version 1.0.4
|
10
|
+
- Fixed issues relating to data-binding `styled_text` widget
|
11
|
+
|
12
|
+
### 4.17.10.1
|
13
|
+
|
14
|
+
- Upgraded glimmer gem to version 1.0.3
|
15
|
+
- Upgraded rouge gem to version 3.25.0
|
16
|
+
|
17
|
+
### 4.17.10.0
|
18
|
+
|
19
|
+
- Support table editing via `date_time` for date/time values
|
20
|
+
- Support table default sort configuration via sort_property
|
21
|
+
- Support table default sort configuration via sort block
|
22
|
+
- Support table default sort configuration via sort_by block
|
23
|
+
- Hello, Table! Sample editor :date_time, property: :date_time in
|
24
|
+
- Hello, Table! Sample label for (Baseball Game Schedule)
|
25
|
+
- Hello, Table! Sample combo for selecting nlds, nlcs, alds, alcs, world series
|
26
|
+
- Hello, Table! Sample promotion field that indicates things like Free Bobblehead, Free Towel, Free Umbrella, etc...
|
27
|
+
- ShellProxy#include_focus_control?
|
28
|
+
- Fix issue with table selection data-binding when in single selection mode vs multi
|
29
|
+
- Hello, Spinner! Sample
|
30
|
+
|
31
|
+
### 4.17.9.0
|
32
|
+
|
33
|
+
- Add table style :editable to hook editing listener on mouse click automatically (instead of manually via on_widget_selected)
|
34
|
+
- Support table editing via `spinner` for integer values
|
35
|
+
- date_time widget official data-binding support of date_time, date, time, year, month, day, hours, minutes, and seconds
|
36
|
+
- date widget alias for date_time(:date)
|
37
|
+
- time widget alias for date_time(:time)
|
38
|
+
- calendar widget alias for date_time(:calendar)
|
39
|
+
- date_drop_down widget alias for date_time(:date, :drop_down)
|
40
|
+
- Hello, Date Time! Sample
|
41
|
+
|
3
42
|
### 4.17.8.3
|
4
43
|
|
5
44
|
- Hello, Table! Sample
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.17.
|
1
|
+
# [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=85 />](https://github.com/AndyObtiva/glimmer) Glimmer DSL for SWT 4.17.10.3
|
2
2
|
|
3
|
-
## JRuby Desktop Development GUI
|
3
|
+
## JRuby Desktop Development GUI Framework
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/glimmer-dsl-swt.svg)](http://badge.fury.io/rb/glimmer-dsl-swt)
|
5
5
|
[![Travis CI](https://travis-ci.com/AndyObtiva/glimmer-dsl-swt.svg?branch=master)](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-swt)
|
6
6
|
[![Coverage Status](https://coveralls.io/repos/github/AndyObtiva/glimmer-dsl-swt/badge.svg?branch=master)](https://coveralls.io/github/AndyObtiva/glimmer-dsl-swt?branch=master)
|
@@ -238,7 +238,7 @@ Glimmer App:
|
|
238
238
|
|
239
239
|
## Table of contents
|
240
240
|
|
241
|
-
- [Glimmer (
|
241
|
+
- [Glimmer (JRuby Desktop Development GUI Framework)](#jruby-desktop-development-gui-framework)
|
242
242
|
- [Examples](#examples)
|
243
243
|
- [Hello, World!](#hello-world)
|
244
244
|
- [Tic Tac Toe](#tic-tac-toe)
|
@@ -297,6 +297,7 @@ Glimmer App:
|
|
297
297
|
- [List](#list)
|
298
298
|
- [Table](#table)
|
299
299
|
- [Tree](#tree)
|
300
|
+
- [DateTime](#datetime)
|
300
301
|
- [Observer](#observer)
|
301
302
|
- [Observing Widgets](#observing-widgets)
|
302
303
|
- [Observing Models](#observing-models)
|
@@ -314,6 +315,8 @@ Glimmer App:
|
|
314
315
|
- [Multi-DSL Support](#multi-dsl-support)
|
315
316
|
- [Application Menu Items (About/Preferences)](#application-menu-items-aboutpreferences)
|
316
317
|
- [App Name and Version](#app-name-and-version)
|
318
|
+
- [Checkbox Group Widget](#checkbox-group-widget)
|
319
|
+
- [Radio Group Widget](#radio-group-widget)
|
317
320
|
- [Code Text Widget](#code-text-widget)
|
318
321
|
- [Video Widget](#video-widget)
|
319
322
|
- [Sash Form Widget](#sash-form-widget)
|
@@ -350,11 +353,15 @@ Glimmer App:
|
|
350
353
|
- [Hello, Expand Bar!](#hello-expand-bar)
|
351
354
|
- [Hello, Radio!](#hello-radio)
|
352
355
|
- [Hello, Radio Group!](#hello-radio-group)
|
356
|
+
- [Hello, Checkbox!](#hello-checkbox)
|
353
357
|
- [Hello, Group!](#hello-group)
|
354
358
|
- [Hello, Checkbox!](#hello-checkbox)
|
355
359
|
- [Hello, Checkbox Group!](#hello-checkbox-group)
|
356
360
|
- [Hello, Directory Dialog!](#hello-directory-dialog)
|
357
361
|
- [Hello, File Dialog!](#hello-file-dialog)
|
362
|
+
- [Hello, Date Time!](#hello-date-time)
|
363
|
+
- [Hello, Spinner!](#hello-spinner)
|
364
|
+
- [Hello, Table!](#hello-table)
|
358
365
|
- [Elaborate Samples](#elaborate-samples)
|
359
366
|
- [User Profile](#user-profile)
|
360
367
|
- [Login](#login)
|
@@ -448,7 +455,7 @@ jgem install glimmer-dsl-swt
|
|
448
455
|
|
449
456
|
Or this command if you want a specific version:
|
450
457
|
```
|
451
|
-
jgem install glimmer-dsl-swt -v 4.17.
|
458
|
+
jgem install glimmer-dsl-swt -v 4.17.10.3
|
452
459
|
|
453
460
|
```
|
454
461
|
|
@@ -525,7 +532,7 @@ bin/glimmer samples
|
|
525
532
|
Below are the full usage instructions that come up when running `glimmer` without args.
|
526
533
|
|
527
534
|
```
|
528
|
-
Glimmer (
|
535
|
+
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.17.10.3
|
529
536
|
|
530
537
|
|
531
538
|
Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
|
@@ -1003,7 +1010,7 @@ Output:
|
|
1003
1010
|
|
1004
1011
|
Css glimmer-dsl-css 1.1.0 AndyMaleh Glimmer DSL for CSS
|
1005
1012
|
Opal glimmer-dsl-opal 0.4.0 AndyMaleh Glimmer DSL for Opal
|
1006
|
-
Swt glimmer-dsl-swt 4.17.
|
1013
|
+
Swt glimmer-dsl-swt 4.17.10.3
|
1007
1014
|
AndyMaleh Glimmer DSL for SWT
|
1008
1015
|
Tk glimmer-dsl-tk 0.0.6 AndyMaleh Glimmer DSL for Tk
|
1009
1016
|
Xml glimmer-dsl-xml 1.1.0 AndyMaleh Glimmer DSL for XML
|
@@ -2264,6 +2271,117 @@ This automatically leverages the SWT TableEditor custom class behind the scenes,
|
|
2264
2271
|
passed table item text into something else.
|
2265
2272
|
It automatically persists the change to `items` data-bound model on ENTER/FOCUS-OUT or cancels on ESC/NO-CHANGE.
|
2266
2273
|
|
2274
|
+
##### Table Selection
|
2275
|
+
|
2276
|
+
Table Selection data-binding is simply done via the `selection` property.
|
2277
|
+
|
2278
|
+
```ruby
|
2279
|
+
selection bind(group, :selected_person)
|
2280
|
+
```
|
2281
|
+
|
2282
|
+
If it's a multi-selection table (`table(:multi)`), then the data-bound model property oughta be a collection.
|
2283
|
+
|
2284
|
+
```ruby
|
2285
|
+
selection bind(group, :selected_people)
|
2286
|
+
```
|
2287
|
+
|
2288
|
+
##### Table Editing
|
2289
|
+
|
2290
|
+
Glimmer provides a custom SWT style for table editing called `:editable` to obviate the need for an `on_mouse_up` listener.
|
2291
|
+
|
2292
|
+
For example, the code above could be simplified as:
|
2293
|
+
|
2294
|
+
```ruby
|
2295
|
+
shell {
|
2296
|
+
@table = table(:editable) {
|
2297
|
+
table_column {
|
2298
|
+
text "Name"
|
2299
|
+
width 120
|
2300
|
+
}
|
2301
|
+
table_column {
|
2302
|
+
text "Age"
|
2303
|
+
width 120
|
2304
|
+
}
|
2305
|
+
table_column {
|
2306
|
+
text "Adult"
|
2307
|
+
width 120
|
2308
|
+
}
|
2309
|
+
items bind(group, :people), column_properties(:name, :age, :adult)
|
2310
|
+
selection bind(group, :selected_person)
|
2311
|
+
}
|
2312
|
+
}
|
2313
|
+
```
|
2314
|
+
|
2315
|
+
Additionally, Glimmer supports the idea of custom editors or no editor per column.
|
2316
|
+
|
2317
|
+
Example:
|
2318
|
+
|
2319
|
+
```ruby
|
2320
|
+
shell {
|
2321
|
+
@table = table(:editable) {
|
2322
|
+
table_column {
|
2323
|
+
text "Name"
|
2324
|
+
width 120
|
2325
|
+
}
|
2326
|
+
table_column {
|
2327
|
+
text "Age"
|
2328
|
+
width 120
|
2329
|
+
editor :spinner
|
2330
|
+
}
|
2331
|
+
table_column {
|
2332
|
+
text "Adult"
|
2333
|
+
width 120
|
2334
|
+
editor :checkbox
|
2335
|
+
}
|
2336
|
+
items bind(group, :people), column_properties(:name, :age, :adult)
|
2337
|
+
selection bind(group, :selected_person)
|
2338
|
+
}
|
2339
|
+
}
|
2340
|
+
```
|
2341
|
+
|
2342
|
+
The example above uses a `spinner` widget editor for the age column since it's an `Integer` and
|
2343
|
+
a `checkbox` widget (`button(:check)`) editor for the adult column since it's a `Boolean`
|
2344
|
+
|
2345
|
+
Here are all the supported types of table editors:
|
2346
|
+
- `text`: expects a `String` property
|
2347
|
+
- `combo`: expects a `String` property accompanied by a matching `property_options` property by convention to provide items to present in the `combo`
|
2348
|
+
- `checkbox`: expects a `Boolean` property
|
2349
|
+
- `radio`: expects a `Boolean` property
|
2350
|
+
- `spinner`: expects an `Integer` property
|
2351
|
+
- `date`: expects a `DateTime` property
|
2352
|
+
- `date_drop_down`: expects a `DateTime` property
|
2353
|
+
- `time`: expects a `DateTime` property
|
2354
|
+
|
2355
|
+
An editor may also take additional arguments (SWT styles such as :long for the date field) that are passed to the editor widget, as well as hash options to
|
2356
|
+
customize the property being used for editing (e.g. property: :raw_name for a :formatted_name field) in case it differs from the property used to display
|
2357
|
+
the data in the table.
|
2358
|
+
|
2359
|
+
Example:
|
2360
|
+
|
2361
|
+
```ruby
|
2362
|
+
shell {
|
2363
|
+
@table = table(:editable) {
|
2364
|
+
table_column {
|
2365
|
+
text "Date of Birth"
|
2366
|
+
width 120
|
2367
|
+
editor :date_drop_down, property: :date_time
|
2368
|
+
}
|
2369
|
+
table_column {
|
2370
|
+
text "Industry"
|
2371
|
+
width 120
|
2372
|
+
# assume there is a `Person#industry_options` property method on the model to provide items to the `combo`
|
2373
|
+
editor :combo, :read_only # passes :ready_only SWT style to `combo` widget
|
2374
|
+
}
|
2375
|
+
items bind(group, :people), column_properties(:formatted_date, :industry)
|
2376
|
+
selection bind(group, :selected_person)
|
2377
|
+
}
|
2378
|
+
}
|
2379
|
+
```
|
2380
|
+
|
2381
|
+
Check out [Hello, Table!](#hello-table) for an actual example including table editors.
|
2382
|
+
|
2383
|
+
[Are We There Yet?](#are-we-there-yet) is an actual production Glimmer application that takes full advantage of table capabilities.
|
2384
|
+
|
2267
2385
|
##### Table Sorting
|
2268
2386
|
|
2269
2387
|
Glimmer automatically adds sorting support to the SWT `Table` widget.
|
@@ -2280,6 +2398,8 @@ Should you have a special data type that could not be compared automatically, Gl
|
|
2280
2398
|
- `sort_by(&block)`: this works just like Ruby `Enumerable` `sort_by`. The block receives the table column data as argument.
|
2281
2399
|
- `sort(&comparator)`: this works just like Ruby `Enumerable` `sort`. The comparator block receives two objects from the table column data.
|
2282
2400
|
|
2401
|
+
These alternatives could be used inside `table_column` for column-clicked sorting or in the `table` body directly to set the initial default sort.
|
2402
|
+
|
2283
2403
|
You may also set `additional_sort_properties` on the parent `table` widget to have secondary sorting applied. For example, if you set `additional_sort_properties :name, :project_name`, then whenever you sort by `:name`, it additionally sorts by `:project_name` afterwards, and vice versa. This only works for columns that either have no custom sort set or have a `sort_property` with one property only (but no sort or sort_by block)
|
2284
2404
|
|
2285
2405
|
Example:
|
@@ -2364,6 +2484,31 @@ This finds the root node. The array is a Java array. This enables easy passing o
|
|
2364
2484
|
To edit a tree, you must invoke `TreeProxy#edit_selected_tree_item` or `TreeProxy#edit_tree_item`. This automatically leverages the SWT TreeEditor custom class behind the scenes, displaying
|
2365
2485
|
a text widget to the user to change the selected or passed tree item text into something else. It automatically persists the change to `items` data-bound model on ENTER/FOCUS-OUT or cancels on ESC/NO-CHANGE.
|
2366
2486
|
|
2487
|
+
#### DateTime
|
2488
|
+
|
2489
|
+
`date_time` represents the SWT DateTime widget.
|
2490
|
+
|
2491
|
+
Glimmer offers the following alias keywords for it for convenience:
|
2492
|
+
- `date`: `date_time(:date)`
|
2493
|
+
- `date_drop_down`: `date_time(:date, :drop_down)`
|
2494
|
+
- `time`: `date_time(:time)`
|
2495
|
+
- `calendar`: `date_time(:calendar)`
|
2496
|
+
|
2497
|
+
You can data-bind any of these properties:
|
2498
|
+
- `date_time bind(model, :property)`: produces a Ruby DateTime object
|
2499
|
+
- `date bind(model, :property)`: produces a Ruby Date object
|
2500
|
+
- `time bind(model, :property)`: produces a Ruby Time object
|
2501
|
+
- `year bind(model, :property)`: produces an integer
|
2502
|
+
- `month bind(model, :property)`: produces an integer
|
2503
|
+
- `day bind(model, :property)`: produces an integer
|
2504
|
+
- `hours bind(model, :property)`: produces an integer
|
2505
|
+
- `minutes bind(model, :property)`: produces an integer
|
2506
|
+
- `seconds bind(model, :property)`: produces an integer
|
2507
|
+
|
2508
|
+
Learn more at the [Hello, Date Time!](#hello-date-time) sample.
|
2509
|
+
|
2510
|
+
If you need a better widget with the ability to customize the date format pattern, check out the [Nebula CDateTime Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer-cw-cdatetime-nebula)
|
2511
|
+
|
2367
2512
|
### Observer
|
2368
2513
|
|
2369
2514
|
Glimmer comes with `Observer` module, which is used internally for data-binding, but can also be used externally for custom use of the Observer Pattern. It is hidden when observing widgets, and used explicitly when observing models.
|
@@ -3813,6 +3958,78 @@ Hello, File Dialog! Selected File
|
|
3813
3958
|
|
3814
3959
|
![Hello File Dialog](images/glimmer-hello-file-dialog-selected-file.png)
|
3815
3960
|
|
3961
|
+
#### Hello, Date Time!
|
3962
|
+
|
3963
|
+
This sample demonstrates the use of [date_time](#datetime) widget keywords in Glimmer: `date`, `date_drop_down`, `time`, and `calendar`
|
3964
|
+
|
3965
|
+
Code:
|
3966
|
+
|
3967
|
+
[samples/hello/hello_date_time.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_date_time.rb)
|
3968
|
+
|
3969
|
+
Hello, Date Time!
|
3970
|
+
|
3971
|
+
![Hello Date Time](images/glimmer-hello-date-time.png)
|
3972
|
+
|
3973
|
+
#### Hello, Spinner!
|
3974
|
+
|
3975
|
+
This sample demonstrates the use of `spinner` widget in Glimmer
|
3976
|
+
|
3977
|
+
Code:
|
3978
|
+
|
3979
|
+
[samples/hello/hello_spinner.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_spinner.rb)
|
3980
|
+
|
3981
|
+
Hello, Spinner!
|
3982
|
+
|
3983
|
+
![Hello Spinner](images/glimmer-hello-spinner.png)
|
3984
|
+
|
3985
|
+
#### Hello, Table!
|
3986
|
+
|
3987
|
+
This sample demonstrates the use of [table](#table) widget in Glimmer, including data-binding, multi-type editing, sorting, and filtering.
|
3988
|
+
|
3989
|
+
Code:
|
3990
|
+
|
3991
|
+
[samples/hello/hello_table.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_table.rb)
|
3992
|
+
|
3993
|
+
Hello, Table!
|
3994
|
+
|
3995
|
+
![Hello Table](images/glimmer-hello-table.png)
|
3996
|
+
|
3997
|
+
Hello, Table! Editing Game Date
|
3998
|
+
|
3999
|
+
![Hello Table](images/glimmer-hello-table-editing-game-date.png)
|
4000
|
+
|
4001
|
+
Hello, Table! Editing Game Time
|
4002
|
+
|
4003
|
+
![Hello Table](images/glimmer-hello-table-editing-game-time.png)
|
4004
|
+
|
4005
|
+
Hello, Table! Editing Home Team
|
4006
|
+
|
4007
|
+
![Hello Table](images/glimmer-hello-table-editing-home-team.png)
|
4008
|
+
|
4009
|
+
Hello, Table! Sorted Game Date Ascending
|
4010
|
+
|
4011
|
+
![Hello Table](images/glimmer-hello-table-sorted-game-date-ascending.png)
|
4012
|
+
|
4013
|
+
Hello, Table! Sorted Game Date Descending
|
4014
|
+
|
4015
|
+
![Hello Table](images/glimmer-hello-table-sorted-game-date-descending.png)
|
4016
|
+
|
4017
|
+
Hello, Table! Playoff Type Combo
|
4018
|
+
|
4019
|
+
![Hello Table](images/glimmer-hello-table-playoff-type-combo.png)
|
4020
|
+
|
4021
|
+
Hello, Table! Playoff Type Changed
|
4022
|
+
|
4023
|
+
![Hello Table](images/glimmer-hello-table-playoff-type-changed.png)
|
4024
|
+
|
4025
|
+
Hello, Table! Game Booked
|
4026
|
+
|
4027
|
+
![Hello Table](images/glimmer-hello-table-game-booked.png)
|
4028
|
+
|
4029
|
+
Hello, Table! Context Menu
|
4030
|
+
|
4031
|
+
![Hello Table](images/glimmer-hello-table-context-menu.png)
|
4032
|
+
|
3816
4033
|
### Elaborate Samples
|
3817
4034
|
|
3818
4035
|
For more elaborate samples, check the following:
|
@@ -4206,4 +4423,4 @@ Copyright (c) 2007-2020 - Andy Maleh.
|
|
4206
4423
|
|
4207
4424
|
--
|
4208
4425
|
|
4209
|
-
[<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 />](https://github.com/AndyObtiva/glimmer) Built for [Glimmer](https://github.com/AndyObtiva/glimmer) (
|
4426
|
+
[<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 />](https://github.com/AndyObtiva/glimmer) Built for [Glimmer](https://github.com/AndyObtiva/glimmer) (DSL Framework).
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.17.
|
1
|
+
4.17.10.3
|
data/glimmer-dsl-swt.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: glimmer-dsl-swt 4.17.
|
5
|
+
# stub: glimmer-dsl-swt 4.17.10.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "glimmer-dsl-swt".freeze
|
9
|
-
s.version = "4.17.
|
9
|
+
s.version = "4.17.10.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["AndyMaleh".freeze]
|
14
|
-
s.date = "2020-11-
|
14
|
+
s.date = "2020-11-24"
|
15
15
|
s.description = "Glimmer DSL for SWT (JRuby Desktop Development GUI Library)".freeze
|
16
16
|
s.email = "andy.am@gmail.com".freeze
|
17
17
|
s.executables = ["glimmer".freeze, "girb".freeze]
|
@@ -92,6 +92,7 @@ Gem::Specification.new do |s|
|
|
92
92
|
"lib/glimmer/swt/custom/checkbox_group.rb",
|
93
93
|
"lib/glimmer/swt/custom/code_text.rb",
|
94
94
|
"lib/glimmer/swt/custom/radio_group.rb",
|
95
|
+
"lib/glimmer/swt/date_time_proxy.rb",
|
95
96
|
"lib/glimmer/swt/directory_dialog_proxy.rb",
|
96
97
|
"lib/glimmer/swt/display_proxy.rb",
|
97
98
|
"lib/glimmer/swt/dnd_proxy.rb",
|
@@ -137,6 +138,7 @@ Gem::Specification.new do |s|
|
|
137
138
|
"samples/hello/hello_computed/contact.rb",
|
138
139
|
"samples/hello/hello_custom_shell.rb",
|
139
140
|
"samples/hello/hello_custom_widget.rb",
|
141
|
+
"samples/hello/hello_date_time.rb",
|
140
142
|
"samples/hello/hello_directory_dialog.rb",
|
141
143
|
"samples/hello/hello_drag_and_drop.rb",
|
142
144
|
"samples/hello/hello_expand_bar.rb",
|
@@ -150,6 +152,7 @@ Gem::Specification.new do |s|
|
|
150
152
|
"samples/hello/hello_radio.rb",
|
151
153
|
"samples/hello/hello_radio_group.rb",
|
152
154
|
"samples/hello/hello_sash_form.rb",
|
155
|
+
"samples/hello/hello_spinner.rb",
|
153
156
|
"samples/hello/hello_styled_text.rb",
|
154
157
|
"samples/hello/hello_tab.rb",
|
155
158
|
"samples/hello/hello_table.rb",
|
@@ -169,7 +172,7 @@ Gem::Specification.new do |s|
|
|
169
172
|
end
|
170
173
|
|
171
174
|
if s.respond_to? :add_runtime_dependency then
|
172
|
-
s.add_runtime_dependency(%q<glimmer>.freeze, ["~> 1.0.
|
175
|
+
s.add_runtime_dependency(%q<glimmer>.freeze, ["~> 1.0.4"])
|
173
176
|
s.add_runtime_dependency(%q<super_module>.freeze, ["~> 1.4.1"])
|
174
177
|
s.add_runtime_dependency(%q<nested_inherited_jruby_include_package>.freeze, ["~> 0.3.0"])
|
175
178
|
s.add_runtime_dependency(%q<puts_debuggerer>.freeze, ["~> 0.10.2"])
|
@@ -179,7 +182,7 @@ Gem::Specification.new do |s|
|
|
179
182
|
s.add_runtime_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
|
180
183
|
s.add_runtime_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
|
181
184
|
s.add_runtime_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
|
182
|
-
s.add_runtime_dependency(%q<rouge>.freeze, [">= 3.
|
185
|
+
s.add_runtime_dependency(%q<rouge>.freeze, [">= 3.25.0", "< 4.0.0"])
|
183
186
|
s.add_development_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
|
184
187
|
s.add_development_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
|
185
188
|
s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
|
@@ -188,7 +191,7 @@ Gem::Specification.new do |s|
|
|
188
191
|
s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
|
189
192
|
s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
|
190
193
|
else
|
191
|
-
s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.
|
194
|
+
s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.4"])
|
192
195
|
s.add_dependency(%q<super_module>.freeze, ["~> 1.4.1"])
|
193
196
|
s.add_dependency(%q<nested_inherited_jruby_include_package>.freeze, ["~> 0.3.0"])
|
194
197
|
s.add_dependency(%q<puts_debuggerer>.freeze, ["~> 0.10.2"])
|
@@ -198,7 +201,7 @@ Gem::Specification.new do |s|
|
|
198
201
|
s.add_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
|
199
202
|
s.add_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
|
200
203
|
s.add_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
|
201
|
-
s.add_dependency(%q<rouge>.freeze, [">= 3.
|
204
|
+
s.add_dependency(%q<rouge>.freeze, [">= 3.25.0", "< 4.0.0"])
|
202
205
|
s.add_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
|
203
206
|
s.add_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
|
204
207
|
s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
|