glimmer-cw-cdatetime-nebula 1.5.0.0.0 → 1.5.0.0.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 +38 -0
- data/README.md +14 -14
- data/VERSION +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fc132947dec8807b1e6b696d8bba7083f4a46737b60ced7bbcc730970a4ecd5
|
4
|
+
data.tar.gz: 80fe4c8c8a09b4f3795d372c69782b2a18a415db379e7c0471f9e01b2a6f80ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51ce682671d7da3e12ecba70bcec028c3037ba8c27f7bb04cad1d24d29867238d7a6211113ed728386c8f05c18fc6aaef44166f9e07d15a2ba3fde08f4e95660
|
7
|
+
data.tar.gz: 3c9317123a4d7bc91efe11597f27fea2ac8868ea8fc202e866cf1e2d2f77157926a45dd31839a4d2e8a0432953c7ab08cb9579fb33989a27aa8a39b0958dce98
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## 1.5.0.0.1
|
4
|
+
|
5
|
+
- Just corrected gem documentation to avoid mentioning older Nebula CDateTime 1.4.0
|
6
|
+
|
7
|
+
## 1.5.0.0.0
|
8
|
+
|
9
|
+
- Upgrade to Nebula CDateTime 1.5.0
|
10
|
+
- Upgrade to Glimmer DSL for SWT 4.17.0.0
|
11
|
+
|
12
|
+
## 1.4.0.2.1
|
13
|
+
|
14
|
+
- Make sure `#text_widget_content` returns nil with plain style
|
15
|
+
- Support c_date_time keyword aliases as a table editor
|
16
|
+
- Fix issue with overwriting specified styles with default styles
|
17
|
+
|
18
|
+
## 1.4.0.2.0
|
19
|
+
|
20
|
+
- Actual CDateTimeProxy class that is a subclass of WidgetProxy
|
21
|
+
- Smart defaults
|
22
|
+
` `cdt` keyword for easily building `CDT` styles
|
23
|
+
- `c_date`, `c_time` aliases for date only and time only
|
24
|
+
- `c_date_time_drop_down`, `c_date_drop_down`, `c_time_drop_down` for drop down configured widgets
|
25
|
+
- `c_date_time_spinner`, `c_date_spinner`, `c_time_spinner` for spinner configured widgets
|
26
|
+
- `c_date_time_compact`, `c_date_compact`, `c_time_compact` for compact style configured widgets
|
27
|
+
- `text_widget_proxy` method to retrieve a Glimmer widget proxy for the inner text widget of CDateTime, thus enabling direct adding of observers and data-binding
|
28
|
+
- `toggle_open` method to programmatically toggle between open and closed (works better and is more convenient than `.swt_widget.set_open` in some situations)
|
29
|
+
- Nebula CDateTime Glimmer Custom Widget Gallery [sample](samples/nebula/c_date_time_gallery.rb)
|
30
|
+
|
31
|
+
## 1.4.0.1
|
32
|
+
|
33
|
+
- Prevent table editor from saving upon traversing months in drop down Calendar
|
34
|
+
|
35
|
+
## 1.4.0.0
|
36
|
+
|
37
|
+
- Initial version containing a Glimmer configured and wrapped CDateTime Nebula custom widget
|
38
|
+
- Support use as editor of Glimmer table items.
|
data/README.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# Nebula CDateTime Widget 1.5.0.0.0
|
2
|
-
## [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer/master/images/glimmer-logo-hi-res.png" height=40 /> Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer#custom-widget-gem)
|
2
|
+
## [<img src="https://raw.githubusercontent.com/AndyObtiva/glimmer-dsl-swt/master/images/glimmer-logo-hi-res.png" height=40 /> Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer-dsl-swt#custom-widget-gem)
|
3
3
|
[](http://badge.fury.io/rb/glimmer-cw-cdatetime-nebula)
|
4
4
|
|
5
|
-
<img alt="Nebula CDateTime Widget" src="https://www.eclipse.org/nebula/widgets/cdatetime/images/CDTSnippet02.png" />](https://www.eclipse.org/nebula/widgets/cdatetime/cdatetime.php)
|
5
|
+
[<img alt="Nebula CDateTime Widget" src="https://www.eclipse.org/nebula/widgets/cdatetime/images/CDTSnippet02.png" />](https://www.eclipse.org/nebula/widgets/cdatetime/cdatetime.php)
|
6
6
|
|
7
7
|
The [Nebula CDateTime Widget](https://www.eclipse.org/nebula/widgets/cdatetime/cdatetime.php) is a Date and Time selection widget that can be used in a simple, dropdown, spinner, or compact style.
|
8
8
|
|
9
|
-
Packaged as a [Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer#custom-widget-gem) to provide date/time selection via a combo/dropdown-style widget in [Glimmer](https://github.com/AndyObtiva/glimmer) using the `c_date_time` [Glimmer DSL](https://github.com/AndyObtiva/glimmer#glimmer-dsl-syntax) keyword.
|
9
|
+
Packaged as a [Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer-dsl-swt#custom-widget-gem) to provide date/time selection via a combo/dropdown-style widget in [Glimmer DSL for SWT](https://github.com/AndyObtiva/glimmer-dsl-swt) using the `c_date_time` [Glimmer DSL](https://github.com/AndyObtiva/glimmer-dsl-swt#glimmer-gui-dsl-syntax) keyword.
|
10
10
|
|
11
|
-
[glimmer-cw-cdatetime-nebula](https://rubygems.org/gems/glimmer-cw-cdatetime-nebula) 1.
|
11
|
+
[glimmer-cw-cdatetime-nebula](https://rubygems.org/gems/glimmer-cw-cdatetime-nebula) 1.5.0.x.y gem versions map to Nebula CDateTime Widget version 1.5.0 (which comes with [Nebula 2.4.2](https://www.eclipse.org/nebula/releases/2.4.2/index.php))
|
12
12
|
|
13
13
|
## Table of contents
|
14
14
|
|
@@ -20,7 +20,7 @@ Packaged as a [Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer#cust
|
|
20
20
|
- [Glimmer Application](#glimmer-application)
|
21
21
|
- [Glimmer Custom Shell or Glimmer Custom Widget](#glimmer-custom-shell-or-glimmer-custom-widget)
|
22
22
|
- [Java Imports](#java-imports)
|
23
|
-
- [
|
23
|
+
- [Instructions](#instructions)
|
24
24
|
- [Sample](#sample)
|
25
25
|
- [Simple Style](#simple-style)
|
26
26
|
- [`c_date_time`](#cdatetime)
|
@@ -52,19 +52,19 @@ Packaged as a [Glimmer Custom Widget](https://github.com/AndyObtiva/glimmer#cust
|
|
52
52
|
|
53
53
|
## Pre-requisites
|
54
54
|
|
55
|
-
- [Glimmer](https://github.com/AndyObtiva/glimmer) application, [Glimmer](https://github.com/AndyObtiva/glimmer) custom shell, or another [Glimmer](https://github.com/AndyObtiva/glimmer) custom widget
|
56
|
-
- JRuby version required by Glimmer
|
57
|
-
- Java version required by Glimmer
|
55
|
+
- [Glimmer](https://github.com/AndyObtiva/glimmer-dsl-swt) application, [Glimmer](https://github.com/AndyObtiva/glimmer-dsl-swt) custom shell, or another [Glimmer](https://github.com/AndyObtiva/glimmer-dsl-swt) custom widget
|
56
|
+
- JRuby version required by [Glimmer DSL for SWT](https://github.com/AndyObtiva/glimmer-dsl-swt)
|
57
|
+
- Java version required by [Glimmer DSL for SWT](https://github.com/AndyObtiva/glimmer-dsl-swt)
|
58
58
|
|
59
59
|
## Setup
|
60
60
|
|
61
61
|
Versions follow this convention:
|
62
|
-
- First 3 digits map to the official Nebula CDateTime library version (e.g. 1.
|
62
|
+
- First 3 digits map to the official Nebula CDateTime library version (e.g. 1.5.0)
|
63
63
|
- Last 2 digits map to minor and patch versions for Glimmer Custom Widget wrapper
|
64
64
|
|
65
65
|
### Glimmer Application
|
66
66
|
|
67
|
-
Add the following to a [Glimmer](https://github.com/AndyObtiva/glimmer) application `Gemfile`:
|
67
|
+
Add the following to a [Glimmer](https://github.com/AndyObtiva/glimmer-dsl-swt) application `Gemfile`:
|
68
68
|
|
69
69
|
```ruby
|
70
70
|
gem 'glimmer-cw-cdatetime-nebula', '1.5.0.0.0'
|
@@ -80,7 +80,7 @@ jruby -S bundle
|
|
80
80
|
|
81
81
|
### Glimmer Custom Shell or Glimmer Custom Widget
|
82
82
|
|
83
|
-
When reusing in a [Glimmer](https://github.com/AndyObtiva/glimmer) custom shell or custom widget, you can follow the same steps for Glimmer application, and then add a require statement to your library file after `glimmer-dsl-swt` and before additional library require statements:
|
83
|
+
When reusing in a [Glimmer](https://github.com/AndyObtiva/glimmer-dsl-swt) custom shell or custom widget, you can follow the same steps for Glimmer application, and then add a require statement to your library file after `glimmer-dsl-swt` and before additional library require statements:
|
84
84
|
|
85
85
|
```ruby
|
86
86
|
require 'glimmer-dsl-swt'
|
@@ -90,13 +90,13 @@ require 'glimmer-cw-cdatetime-nebula'
|
|
90
90
|
|
91
91
|
### Java Imports
|
92
92
|
|
93
|
-
Requiring the gem automatically configures java imports in [Glimmer](https://github.com/AndyObtiva/glimmer) for auto import via [JRuby](https://www.jruby.org/) `include_package` on first use:
|
93
|
+
Requiring the gem automatically configures java imports in [Glimmer](https://github.com/AndyObtiva/glimmer-dsl-swt) for auto import via [JRuby](https://www.jruby.org/) `include_package` on first use:
|
94
94
|
- `org.eclipse.nebula.cwt`
|
95
95
|
- `org.eclipse.nebula.widgets.cdatetime`
|
96
96
|
|
97
|
-
##
|
97
|
+
## Instructions
|
98
98
|
|
99
|
-
This [glimmer-cw-cdatetime-nebula](https://rubygems.org/gems/glimmer-cw-cdatetime-nebula) gem adds the `c_date_time` keyword to the [Glimmer GUI DSL](https://github.com/AndyObtiva/glimmer#glimmer-dsl-syntax) as well as other alias keywords (e.g. drop down style, spinner style, and compact style) as explained below.
|
99
|
+
This [glimmer-cw-cdatetime-nebula](https://rubygems.org/gems/glimmer-cw-cdatetime-nebula) gem adds the `c_date_time` keyword to the [Glimmer GUI DSL](https://github.com/AndyObtiva/glimmer-dsl-swt#glimmer-gui-dsl-syntax) as well as other alias keywords (e.g. drop down style, spinner style, and compact style) as explained below.
|
100
100
|
|
101
101
|
The `c_date_time` keyword optionally takes [`CDT`](#cdt) style bits as arguments. When not specified, [smart defaults](https://github.com/AndyObtiva/glimmer-cw-cdatetime-nebula#cdt-style-arguments) are used instead.
|
102
102
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.5.0.0.
|
1
|
+
1.5.0.0.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: glimmer-cw-cdatetime-nebula
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.0.0.
|
4
|
+
version: 1.5.0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Maleh
|
@@ -72,8 +72,8 @@ dependencies:
|
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
|
-
description: Nebula CDateTime Widget
|
76
|
-
|
75
|
+
description: Nebula CDateTime Widget - Glimmer Custom Widget - A Date and Time selection
|
76
|
+
widget that can be used in a simple, dropdown, spinner, or compact style.
|
77
77
|
email: andy.am@gmail.com
|
78
78
|
executables: []
|
79
79
|
extensions: []
|
@@ -81,6 +81,7 @@ extra_rdoc_files:
|
|
81
81
|
- LICENSE.txt
|
82
82
|
- README.md
|
83
83
|
files:
|
84
|
+
- CHANGELOG.md
|
84
85
|
- LICENSE.txt
|
85
86
|
- README.md
|
86
87
|
- VERSION
|
@@ -114,5 +115,5 @@ requirements: []
|
|
114
115
|
rubygems_version: 3.0.6
|
115
116
|
signing_key:
|
116
117
|
specification_version: 4
|
117
|
-
summary: Nebula CDateTime Widget
|
118
|
+
summary: Nebula CDateTime Widget - Glimmer Custom Widget
|
118
119
|
test_files: []
|