glimmer-dsl-swt 4.17.8.1 → 4.17.10.1
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 +41 -0
- data/README.md +249 -7
- data/VERSION +1 -1
- data/glimmer-dsl-swt.gemspec +12 -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/checkbox_group_selection_data_binding_expression.rb +3 -3
- data/lib/glimmer/dsl/swt/radio_group_selection_data_binding_expression.rb +3 -3
- 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/custom/checkbox_group.rb +29 -8
- data/lib/glimmer/swt/custom/code_text.rb +36 -34
- data/lib/glimmer/swt/custom/radio_group.rb +27 -6
- 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/swt_proxy.rb +7 -8
- data/lib/glimmer/swt/tab_item_proxy.rb +9 -4
- data/lib/glimmer/swt/table_column_proxy.rb +13 -5
- data/lib/glimmer/swt/table_proxy.rb +187 -66
- data/lib/glimmer/swt/widget_listener_proxy.rb +4 -4
- data/lib/glimmer/swt/widget_proxy.rb +47 -3
- data/samples/elaborate/contact_manager.rb +3 -3
- data/samples/elaborate/meta_sample.rb +9 -9
- data/samples/hello/hello_browser.rb +3 -3
- data/samples/hello/hello_checkbox.rb +4 -4
- data/samples/hello/hello_checkbox_group.rb +6 -3
- data/samples/hello/hello_combo.rb +5 -5
- data/samples/hello/hello_date_time.rb +63 -0
- data/samples/hello/hello_group.rb +104 -0
- data/samples/hello/hello_menu_bar.rb +3 -3
- data/samples/hello/hello_pop_up_context_menu.rb +3 -3
- data/samples/hello/hello_radio.rb +6 -6
- data/samples/hello/hello_radio_group.rb +9 -6
- 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 +287 -0
- metadata +11 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73db76cf55f0b8a847889dba2f325f6316b91c355c97524e87ec822ba8b36709
|
4
|
+
data.tar.gz: 942dbb0e282fc67de58568d05114b03dccc13245754c16034138bca5f32fdbe6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad56996b5e3163e3d25c286d605e9d92c61cbfeccf0311222a55f8ef8ef9772a1804928ea5c62d83e09449923aa8ea9513a2cd5198fa70c6251e45711d2c76c7
|
7
|
+
data.tar.gz: b53328118e1e567ed87910fd5d1a22a80161da0c0b62074113b1e0afcccd83fbb0adb3039e4eaa93ea5ec070c0b47cadb80100f6ab177215de5dadea9a16c16e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,46 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
### 4.17.10.1
|
4
|
+
|
5
|
+
- Upgraded glimmer gem to version 1.0.3
|
6
|
+
- Upgraded rouge gem to version 3.25.0
|
7
|
+
|
8
|
+
### 4.17.10.0
|
9
|
+
|
10
|
+
- Support table editing via `date_time` for date/time values
|
11
|
+
- Support table default sort configuration via sort_property
|
12
|
+
- Support table default sort configuration via sort block
|
13
|
+
- Support table default sort configuration via sort_by block
|
14
|
+
- Hello, Table! Sample editor :date_time, property: :date_time in
|
15
|
+
- Hello, Table! Sample label for (Baseball Game Schedule)
|
16
|
+
- Hello, Table! Sample combo for selecting nlds, nlcs, alds, alcs, world series
|
17
|
+
- Hello, Table! Sample promotion field that indicates things like Free Bobblehead, Free Towel, Free Umbrella, etc...
|
18
|
+
- ShellProxy#include_focus_control?
|
19
|
+
- Fix issue with table selection data-binding when in single selection mode vs multi
|
20
|
+
- Hello, Spinner! Sample
|
21
|
+
|
22
|
+
### 4.17.9.0
|
23
|
+
|
24
|
+
- Add table style :editable to hook editing listener on mouse click automatically (instead of manually via on_widget_selected)
|
25
|
+
- Support table editing via `spinner` for integer values
|
26
|
+
- date_time widget official data-binding support of date_time, date, time, year, month, day, hours, minutes, and seconds
|
27
|
+
- date widget alias for date_time(:date)
|
28
|
+
- time widget alias for date_time(:time)
|
29
|
+
- calendar widget alias for date_time(:calendar)
|
30
|
+
- date_drop_down widget alias for date_time(:date, :drop_down)
|
31
|
+
- Hello, Date Time! Sample
|
32
|
+
|
33
|
+
### 4.17.8.3
|
34
|
+
|
35
|
+
- Hello, Table! Sample
|
36
|
+
- Disable editing on a column with `editor :none`
|
37
|
+
- Improve `code_text` performance immensely by only styling the lines being shown upon editing
|
38
|
+
- Fix dead spots with syntax highlighting in some files in Gladiator like file.rb
|
39
|
+
|
40
|
+
### 4.17.8.2
|
41
|
+
|
42
|
+
- Hello, Group! Sample
|
43
|
+
|
3
44
|
### 4.17.8.1
|
4
45
|
|
5
46
|
- Fixed an issue in Windows with code_text
|
data/README.md
CHANGED
@@ -1,5 +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.
|
2
|
-
|
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.1
|
2
|
+
|
3
|
+
## JRuby Desktop Development GUI Framework
|
3
4
|
[](http://badge.fury.io/rb/glimmer-dsl-swt)
|
4
5
|
[](https://travis-ci.com/github/AndyObtiva/glimmer-dsl-swt)
|
5
6
|
[](https://coveralls.io/github/AndyObtiva/glimmer-dsl-swt?branch=master)
|
@@ -237,7 +238,7 @@ Glimmer App:
|
|
237
238
|
|
238
239
|
## Table of contents
|
239
240
|
|
240
|
-
- [Glimmer (
|
241
|
+
- [Glimmer (JRuby Desktop Development GUI Framework)](#jruby-desktop-development-gui-framework)
|
241
242
|
- [Examples](#examples)
|
242
243
|
- [Hello, World!](#hello-world)
|
243
244
|
- [Tic Tac Toe](#tic-tac-toe)
|
@@ -296,6 +297,7 @@ Glimmer App:
|
|
296
297
|
- [List](#list)
|
297
298
|
- [Table](#table)
|
298
299
|
- [Tree](#tree)
|
300
|
+
- [DateTime](#datetime)
|
299
301
|
- [Observer](#observer)
|
300
302
|
- [Observing Widgets](#observing-widgets)
|
301
303
|
- [Observing Models](#observing-models)
|
@@ -313,6 +315,8 @@ Glimmer App:
|
|
313
315
|
- [Multi-DSL Support](#multi-dsl-support)
|
314
316
|
- [Application Menu Items (About/Preferences)](#application-menu-items-aboutpreferences)
|
315
317
|
- [App Name and Version](#app-name-and-version)
|
318
|
+
- [Checkbox Group Widget](#checkbox-group-widget)
|
319
|
+
- [Radio Group Widget](#radio-group-widget)
|
316
320
|
- [Code Text Widget](#code-text-widget)
|
317
321
|
- [Video Widget](#video-widget)
|
318
322
|
- [Sash Form Widget](#sash-form-widget)
|
@@ -350,9 +354,14 @@ Glimmer App:
|
|
350
354
|
- [Hello, Radio!](#hello-radio)
|
351
355
|
- [Hello, Radio Group!](#hello-radio-group)
|
352
356
|
- [Hello, Checkbox!](#hello-checkbox)
|
357
|
+
- [Hello, Group!](#hello-group)
|
358
|
+
- [Hello, Checkbox!](#hello-checkbox)
|
353
359
|
- [Hello, Checkbox Group!](#hello-checkbox-group)
|
354
360
|
- [Hello, Directory Dialog!](#hello-directory-dialog)
|
355
361
|
- [Hello, File Dialog!](#hello-file-dialog)
|
362
|
+
- [Hello, Date Time!](#hello-date-time)
|
363
|
+
- [Hello, Spinner!](#hello-spinner)
|
364
|
+
- [Hello, Table!](#hello-table)
|
356
365
|
- [Elaborate Samples](#elaborate-samples)
|
357
366
|
- [User Profile](#user-profile)
|
358
367
|
- [Login](#login)
|
@@ -446,7 +455,8 @@ jgem install glimmer-dsl-swt
|
|
446
455
|
|
447
456
|
Or this command if you want a specific version:
|
448
457
|
```
|
449
|
-
jgem install glimmer-dsl-swt -v 4.17.
|
458
|
+
jgem install glimmer-dsl-swt -v 4.17.10.1
|
459
|
+
|
450
460
|
```
|
451
461
|
|
452
462
|
`jgem` is JRuby's version of `gem` command.
|
@@ -522,7 +532,8 @@ bin/glimmer samples
|
|
522
532
|
Below are the full usage instructions that come up when running `glimmer` without args.
|
523
533
|
|
524
534
|
```
|
525
|
-
Glimmer (
|
535
|
+
Glimmer (JRuby Desktop Development GUI Framework) - JRuby Gem: glimmer-dsl-swt v4.17.10.1
|
536
|
+
|
526
537
|
|
527
538
|
Usage: glimmer [--bundler] [--pd] [--quiet] [--debug] [--log-level=VALUE] [[ENV_VAR=VALUE]...] [[-jruby-option]...] (application.rb or task[task_args]) [[application2.rb]...]
|
528
539
|
|
@@ -999,7 +1010,8 @@ Output:
|
|
999
1010
|
|
1000
1011
|
Css glimmer-dsl-css 1.1.0 AndyMaleh Glimmer DSL for CSS
|
1001
1012
|
Opal glimmer-dsl-opal 0.4.0 AndyMaleh Glimmer DSL for Opal
|
1002
|
-
Swt glimmer-dsl-swt 4.17.
|
1013
|
+
Swt glimmer-dsl-swt 4.17.10.1
|
1014
|
+
AndyMaleh Glimmer DSL for SWT
|
1003
1015
|
Tk glimmer-dsl-tk 0.0.6 AndyMaleh Glimmer DSL for Tk
|
1004
1016
|
Xml glimmer-dsl-xml 1.1.0 AndyMaleh Glimmer DSL for XML
|
1005
1017
|
```
|
@@ -2259,6 +2271,117 @@ This automatically leverages the SWT TableEditor custom class behind the scenes,
|
|
2259
2271
|
passed table item text into something else.
|
2260
2272
|
It automatically persists the change to `items` data-bound model on ENTER/FOCUS-OUT or cancels on ESC/NO-CHANGE.
|
2261
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
|
+
|
2262
2385
|
##### Table Sorting
|
2263
2386
|
|
2264
2387
|
Glimmer automatically adds sorting support to the SWT `Table` widget.
|
@@ -2275,6 +2398,8 @@ Should you have a special data type that could not be compared automatically, Gl
|
|
2275
2398
|
- `sort_by(&block)`: this works just like Ruby `Enumerable` `sort_by`. The block receives the table column data as argument.
|
2276
2399
|
- `sort(&comparator)`: this works just like Ruby `Enumerable` `sort`. The comparator block receives two objects from the table column data.
|
2277
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
|
+
|
2278
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)
|
2279
2404
|
|
2280
2405
|
Example:
|
@@ -2359,6 +2484,31 @@ This finds the root node. The array is a Java array. This enables easy passing o
|
|
2359
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
|
2360
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.
|
2361
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
|
+
|
2362
2512
|
### Observer
|
2363
2513
|
|
2364
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.
|
@@ -3732,6 +3882,26 @@ Code:
|
|
3732
3882
|
|
3733
3883
|
[samples/hello/hello_checkbox.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_checkbox.rb)
|
3734
3884
|
|
3885
|
+
#### Hello, Group!
|
3886
|
+
|
3887
|
+
This sample demonstrates the use of a `group` in Glimmer (not to be confused with the logical radio group custom widget, this is just an alternative to `composite` that provides a border around content).
|
3888
|
+
|
3889
|
+
Code:
|
3890
|
+
|
3891
|
+
[samples/hello/hello_group.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_group.rb)
|
3892
|
+
|
3893
|
+
Hello, Group!
|
3894
|
+
|
3895
|
+

|
3896
|
+
|
3897
|
+
#### Hello, Checkbox!
|
3898
|
+
|
3899
|
+
This sample demonstrates the use of a `checkbox` (aka `check` or `button(:check)`) in Glimmer.
|
3900
|
+
|
3901
|
+
Code:
|
3902
|
+
|
3903
|
+
[samples/hello/hello_checkbox.rb](https://github.com/AndyObtiva/glimmer-dsl-swt/blob/master/samples/hello/hello_checkbox.rb)
|
3904
|
+
|
3735
3905
|
Hello, Checkbox!
|
3736
3906
|
|
3737
3907
|

|
@@ -3788,6 +3958,78 @@ Hello, File Dialog! Selected File
|
|
3788
3958
|
|
3789
3959
|

|
3790
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
|
+

|
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
|
+

|
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
|
+

|
3996
|
+
|
3997
|
+
Hello, Table! Editing Game Date
|
3998
|
+
|
3999
|
+

|
4000
|
+
|
4001
|
+
Hello, Table! Editing Game Time
|
4002
|
+
|
4003
|
+

|
4004
|
+
|
4005
|
+
Hello, Table! Editing Home Team
|
4006
|
+
|
4007
|
+

|
4008
|
+
|
4009
|
+
Hello, Table! Sorted Game Date Ascending
|
4010
|
+
|
4011
|
+

|
4012
|
+
|
4013
|
+
Hello, Table! Sorted Game Date Descending
|
4014
|
+
|
4015
|
+

|
4016
|
+
|
4017
|
+
Hello, Table! Playoff Type Combo
|
4018
|
+
|
4019
|
+

|
4020
|
+
|
4021
|
+
Hello, Table! Playoff Type Changed
|
4022
|
+
|
4023
|
+

|
4024
|
+
|
4025
|
+
Hello, Table! Game Booked
|
4026
|
+
|
4027
|
+

|
4028
|
+
|
4029
|
+
Hello, Table! Context Menu
|
4030
|
+
|
4031
|
+

|
4032
|
+
|
3791
4033
|
### Elaborate Samples
|
3792
4034
|
|
3793
4035
|
For more elaborate samples, check the following:
|
@@ -4181,4 +4423,4 @@ Copyright (c) 2007-2020 - Andy Maleh.
|
|
4181
4423
|
|
4182
4424
|
--
|
4183
4425
|
|
4184
|
-
[<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.1
|
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.1 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.1"
|
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-19"
|
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,10 +138,12 @@ 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",
|
143
145
|
"samples/hello/hello_file_dialog.rb",
|
146
|
+
"samples/hello/hello_group.rb",
|
144
147
|
"samples/hello/hello_list_multi_selection.rb",
|
145
148
|
"samples/hello/hello_list_single_selection.rb",
|
146
149
|
"samples/hello/hello_menu_bar.rb",
|
@@ -149,8 +152,10 @@ Gem::Specification.new do |s|
|
|
149
152
|
"samples/hello/hello_radio.rb",
|
150
153
|
"samples/hello/hello_radio_group.rb",
|
151
154
|
"samples/hello/hello_sash_form.rb",
|
155
|
+
"samples/hello/hello_spinner.rb",
|
152
156
|
"samples/hello/hello_styled_text.rb",
|
153
157
|
"samples/hello/hello_tab.rb",
|
158
|
+
"samples/hello/hello_table.rb",
|
154
159
|
"samples/hello/hello_world.rb",
|
155
160
|
"vendor/swt/linux/swt.jar",
|
156
161
|
"vendor/swt/mac/swt.jar",
|
@@ -167,7 +172,7 @@ Gem::Specification.new do |s|
|
|
167
172
|
end
|
168
173
|
|
169
174
|
if s.respond_to? :add_runtime_dependency then
|
170
|
-
s.add_runtime_dependency(%q<glimmer>.freeze, ["~> 1.0.
|
175
|
+
s.add_runtime_dependency(%q<glimmer>.freeze, ["~> 1.0.3"])
|
171
176
|
s.add_runtime_dependency(%q<super_module>.freeze, ["~> 1.4.1"])
|
172
177
|
s.add_runtime_dependency(%q<nested_inherited_jruby_include_package>.freeze, ["~> 0.3.0"])
|
173
178
|
s.add_runtime_dependency(%q<puts_debuggerer>.freeze, ["~> 0.10.2"])
|
@@ -177,7 +182,7 @@ Gem::Specification.new do |s|
|
|
177
182
|
s.add_runtime_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
|
178
183
|
s.add_runtime_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
|
179
184
|
s.add_runtime_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
|
180
|
-
s.add_runtime_dependency(%q<rouge>.freeze, [">= 3.
|
185
|
+
s.add_runtime_dependency(%q<rouge>.freeze, [">= 3.25.0", "< 4.0.0"])
|
181
186
|
s.add_development_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
|
182
187
|
s.add_development_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
|
183
188
|
s.add_development_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
|
@@ -186,7 +191,7 @@ Gem::Specification.new do |s|
|
|
186
191
|
s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.16.1"])
|
187
192
|
s.add_development_dependency(%q<simplecov-lcov>.freeze, ["~> 0.7.0"])
|
188
193
|
else
|
189
|
-
s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.
|
194
|
+
s.add_dependency(%q<glimmer>.freeze, ["~> 1.0.3"])
|
190
195
|
s.add_dependency(%q<super_module>.freeze, ["~> 1.4.1"])
|
191
196
|
s.add_dependency(%q<nested_inherited_jruby_include_package>.freeze, ["~> 0.3.0"])
|
192
197
|
s.add_dependency(%q<puts_debuggerer>.freeze, ["~> 0.10.2"])
|
@@ -196,7 +201,7 @@ Gem::Specification.new do |s|
|
|
196
201
|
s.add_dependency(%q<os>.freeze, [">= 1.0.0", "< 2.0.0"])
|
197
202
|
s.add_dependency(%q<rake>.freeze, [">= 10.1.0", "< 14.0.0"])
|
198
203
|
s.add_dependency(%q<text-table>.freeze, [">= 1.2.4", "< 2.0.0"])
|
199
|
-
s.add_dependency(%q<rouge>.freeze, [">= 3.
|
204
|
+
s.add_dependency(%q<rouge>.freeze, [">= 3.25.0", "< 4.0.0"])
|
200
205
|
s.add_dependency(%q<juwelier>.freeze, [">= 2.4.9", "< 3.0.0"])
|
201
206
|
s.add_dependency(%q<warbler>.freeze, [">= 2.0.5", "< 3.0.0"])
|
202
207
|
s.add_dependency(%q<rspec-mocks>.freeze, ["~> 3.5.0"])
|