glimmer 0.1.0.0 → 0.1.2
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.
- data/.rvmrc +1 -0
- data/Gemfile +9 -0
- data/LICENSE.txt +20 -0
- data/README.markdown +54 -0
- data/Rakefile +54 -0
- data/VERSION +1 -0
- data/bin/glimmer +132 -0
- data/glimmer.gemspec +145 -0
- data/images/Bitter-sweet.jpg +0 -0
- data/{src → lib}/command_handler.rb +7 -10
- data/{src → lib}/command_handler_chain_factory.rb +29 -22
- data/{src → lib}/command_handler_chain_link.rb +19 -22
- data/{src → lib}/command_handlers.rb +29 -26
- data/{src → lib}/command_handlers/bind_command_handler.rb +25 -28
- data/lib/command_handlers/combo_selection_data_binding_command_handler.rb +39 -0
- data/{src → lib}/command_handlers/data_binding_command_handler.rb +61 -64
- data/lib/command_handlers/list_selection_data_binding_command_handler.rb +42 -0
- data/lib/command_handlers/models/list_observer.rb +31 -0
- data/{src → lib}/command_handlers/models/model_observer.rb +28 -25
- data/{src → lib}/command_handlers/models/observable_array.rb +53 -46
- data/lib/command_handlers/models/observable_model.rb +61 -0
- data/{src → lib}/command_handlers/models/r_runnable.rb +11 -14
- data/{src → lib}/command_handlers/models/r_shell.rb +23 -26
- data/lib/command_handlers/models/r_tab_item_composite.rb +25 -0
- data/{src → lib}/command_handlers/models/r_widget.rb +16 -14
- data/lib/command_handlers/models/r_widget_listener.rb +9 -0
- data/{src → lib}/command_handlers/models/r_widget_packages.rb +5 -8
- data/{src → lib}/command_handlers/models/table_items_updater.rb +38 -39
- data/{src → lib}/command_handlers/models/widget_observer.rb +4 -6
- data/{src → lib}/command_handlers/shell_command_handler.rb +14 -17
- data/{src → lib}/command_handlers/swt_constant_command_handler.rb +18 -21
- data/lib/command_handlers/tab_item_command_handler.rb +22 -0
- data/{src → lib}/command_handlers/table_column_properties_data_binding_command_handler.rb +20 -23
- data/{src → lib}/command_handlers/table_items_data_binding_command_handler.rb +26 -29
- data/{src → lib}/command_handlers/widget_command_handler.rb +22 -25
- data/{src → lib}/command_handlers/widget_listener_command_handler.rb +36 -34
- data/{src → lib}/command_handlers/widget_method_command_handler.rb +18 -21
- data/{src → lib}/glimmer.rb +52 -45
- data/lib/parent.rb +5 -0
- data/{src → lib}/shine.rb +21 -24
- data/{src → lib}/xml_command_handlers.rb +15 -18
- data/{src → lib}/xml_command_handlers/html_command_handler.rb +45 -49
- data/{src → lib}/xml_command_handlers/models/depth_first_search_iterator.rb +17 -20
- data/{src → lib}/xml_command_handlers/models/name_space_visitor.rb +17 -20
- data/{src → lib}/xml_command_handlers/models/node.rb +80 -83
- data/{src → lib}/xml_command_handlers/models/node_visitor.rb +8 -11
- data/{src → lib}/xml_command_handlers/models/xml_visitor.rb +58 -61
- data/{src → lib}/xml_command_handlers/xml_command_handler.rb +18 -22
- data/{src → lib}/xml_command_handlers/xml_name_space_command_handler.rb +31 -34
- data/{src → lib}/xml_command_handlers/xml_tag_command_handler.rb +23 -26
- data/{src → lib}/xml_command_handlers/xml_text_command_handler.rb +19 -22
- data/samples/contactmanager/contact.rb +0 -3
- data/samples/contactmanager/contact_manager.rb +1 -4
- data/samples/contactmanager/contact_manager_presenter.rb +0 -3
- data/samples/contactmanager/contact_repository.rb +0 -3
- data/samples/hello_combo.rb +32 -0
- data/samples/hello_world.rb +1 -4
- data/samples/login.rb +1 -4
- data/samples/tictactoe/tic_tac_toe.rb +2 -5
- data/samples/tictactoe/tic_tac_toe_board.rb +0 -3
- data/test/glimmer_combo_data_binding_test.rb +131 -0
- data/test/glimmer_constant_test.rb +6 -11
- data/test/glimmer_data_binding_test.rb +16 -16
- data/test/glimmer_list_data_binding_test.rb +223 -0
- data/test/glimmer_listeners_test.rb +6 -6
- data/test/glimmer_shine_data_binding_test.rb +7 -6
- data/test/glimmer_tab_item_test.rb +61 -0
- data/test/glimmer_table_data_binding_test.rb +7 -20
- data/test/glimmer_test.rb +18 -13
- data/test/helper.rb +21 -0
- data/test/observable_model_test.rb +2 -4
- data/test/r_widget_test.rb +5 -5
- data/test/samples/contactmanager/contact_manager_presenter_test.rb +1 -4
- data/test/samples/tictactoe/tic_tac_toe_test.rb +1 -4
- data/test/xml/glimmer_xml_test.rb +43 -43
- metadata +210 -105
- data/COPYING.LGPL +0 -504
- data/README +0 -27
- data/src/command_handlers/models/observable_model.rb +0 -35
- data/src/command_handlers/models/r_widget_listener.rb +0 -12
- data/src/parent.rb +0 -8
- data/src/swt.rb +0 -10
- data/src/xml.rb +0 -10
@@ -1,16 +1,16 @@
|
|
1
|
-
|
2
|
-
# Licensed under the LGPL. See /COPYING.LGPL for more details.
|
3
|
-
|
4
|
-
require "test/unit"
|
5
|
-
require File.dirname(__FILE__) + "/../src/swt"
|
1
|
+
require File.dirname(__FILE__) + "/helper"
|
6
2
|
|
7
3
|
class GlimmerTableDataBindingTest < Test::Unit::TestCase
|
8
|
-
|
4
|
+
include Glimmer
|
9
5
|
|
10
6
|
include_package 'org.eclipse.swt'
|
11
7
|
include_package 'org.eclipse.swt.widgets'
|
12
8
|
include_package 'org.eclipse.swt.layout'
|
13
9
|
|
10
|
+
def setup
|
11
|
+
dsl :swt
|
12
|
+
end
|
13
|
+
|
14
14
|
def teardown
|
15
15
|
@target.display.dispose if @target.display
|
16
16
|
end
|
@@ -42,7 +42,7 @@ class GlimmerTableDataBindingTest < Test::Unit::TestCase
|
|
42
42
|
group.people << person1
|
43
43
|
group.people << person2
|
44
44
|
|
45
|
-
shell {
|
45
|
+
@target = shell {
|
46
46
|
@table = table {
|
47
47
|
table_column {
|
48
48
|
text "Name"
|
@@ -113,22 +113,9 @@ class GlimmerTableDataBindingTest < Test::Unit::TestCase
|
|
113
113
|
assert_equal "45", @table.widget.getItems[1].getText(1)
|
114
114
|
assert_equal "true", @table.widget.getItems[1].getText(2)
|
115
115
|
|
116
|
-
group.people += [person1, person2]
|
117
|
-
|
118
|
-
assert_equal 4, @table.widget.getItems.size
|
119
|
-
|
120
|
-
assert_equal "Bruce Ting", @table.widget.getItems[2].getText(0)
|
121
|
-
assert_equal "45", @table.widget.getItems[2].getText(1)
|
122
|
-
assert_equal "true", @table.widget.getItems[2].getText(2)
|
123
|
-
|
124
|
-
assert_equal "Julia Fang", @table.widget.getItems[3].getText(0)
|
125
|
-
assert_equal "17", @table.widget.getItems[3].getText(1)
|
126
|
-
assert_equal "false", @table.widget.getItems[3].getText(2)
|
127
|
-
|
128
116
|
person1.name = "Bruce Flee"
|
129
117
|
|
130
118
|
assert_equal "Bruce Flee", @table.widget.getItems[1].getText(0)
|
131
|
-
assert_equal "Bruce Flee", @table.widget.getItems[2].getText(0)
|
132
119
|
end
|
133
120
|
|
134
121
|
end
|
data/test/glimmer_test.rb
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
|
2
|
-
# Licensed under the LGPL. See /COPYING.LGPL for more details.
|
3
|
-
|
4
|
-
require "test/unit"
|
5
|
-
require File.dirname(__FILE__) + "/../src/swt"
|
1
|
+
require File.dirname(__FILE__) + "/helper"
|
6
2
|
|
7
3
|
class GlimmerTest < Test::Unit::TestCase
|
8
|
-
|
4
|
+
include Glimmer
|
9
5
|
|
10
6
|
include_package 'org.eclipse.swt'
|
11
7
|
include_package 'org.eclipse.swt.widgets'
|
12
8
|
include_package 'org.eclipse.swt.layout'
|
13
9
|
include_package 'org.eclipse.swt.graphics'
|
14
10
|
|
11
|
+
def setup
|
12
|
+
dsl :swt
|
13
|
+
end
|
14
|
+
|
15
15
|
def teardown
|
16
16
|
@target.display.dispose if @target.display
|
17
17
|
end
|
@@ -163,6 +163,18 @@ class GlimmerTest < Test::Unit::TestCase
|
|
163
163
|
assert_equal 55, @spinner.widget.getSelection
|
164
164
|
end
|
165
165
|
|
166
|
+
def test_shell_and_spinner_default
|
167
|
+
@target = shell {
|
168
|
+
@list = list {
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
172
|
+
assert_instance_of List, @list.widget
|
173
|
+
assert_has_style SWT::BORDER, @list.widget
|
174
|
+
assert_has_style SWT::SINGLE, @list.widget
|
175
|
+
assert_has_style SWT::V_SCROLL, @list.widget
|
176
|
+
end
|
177
|
+
|
166
178
|
def test_shell_and_button_default
|
167
179
|
@target = shell {
|
168
180
|
@button = button {
|
@@ -222,12 +234,5 @@ class GlimmerTest < Test::Unit::TestCase
|
|
222
234
|
assert_equal "Hello", text_widget.getText
|
223
235
|
end
|
224
236
|
|
225
|
-
private
|
226
|
-
|
227
|
-
def assert_has_style(style, widget)
|
228
|
-
assert_equal style, widget.getStyle & style
|
229
|
-
end
|
230
|
-
|
231
|
-
|
232
237
|
end
|
233
238
|
|
data/test/helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'bundler'
|
3
|
+
begin
|
4
|
+
Bundler.setup(:default, :development)
|
5
|
+
rescue Bundler::BundlerError => e
|
6
|
+
$stderr.puts e.message
|
7
|
+
$stderr.puts "Run `bundle install` to install missing gems"
|
8
|
+
exit e.status_code
|
9
|
+
end
|
10
|
+
require 'test/unit'
|
11
|
+
|
12
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
13
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'samples'))
|
14
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
15
|
+
require 'glimmer'
|
16
|
+
|
17
|
+
class Test::Unit::TestCase
|
18
|
+
def assert_has_style(style, widget)
|
19
|
+
assert_equal style, widget.getStyle & style
|
20
|
+
end
|
21
|
+
end
|
@@ -1,8 +1,6 @@
|
|
1
|
-
|
2
|
-
# Licensed under the LGPL. See /COPYING.LGPL for more details.
|
1
|
+
require File.dirname(__FILE__) + "/helper"
|
3
2
|
|
4
|
-
require "
|
5
|
-
require File.dirname(__FILE__) + "/../src/command_handlers/models/observable_model"
|
3
|
+
require File.dirname(__FILE__) + "/../lib/command_handlers/models/observable_model"
|
6
4
|
|
7
5
|
require "test/unit"
|
8
6
|
class ObservableModelTest < Test::Unit::TestCase
|
data/test/r_widget_test.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
|
2
|
-
# Licensed under the LGPL. See /COPYING.LGPL for more details.
|
3
|
-
|
4
|
-
require "test/unit"
|
5
|
-
require File.dirname(__FILE__) + "/../src/swt"
|
1
|
+
require File.dirname(__FILE__) + "/helper"
|
6
2
|
|
7
3
|
class RWidgetTest < Test::Unit::TestCase
|
8
4
|
include Glimmer
|
9
5
|
|
6
|
+
def setup
|
7
|
+
dsl :swt
|
8
|
+
end
|
9
|
+
|
10
10
|
def test_async_exec
|
11
11
|
@target = shell {
|
12
12
|
@text = text {
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
# Licensed under the LGPL. See /COPYING.LGPL for more details.
|
3
|
-
|
4
|
-
require "test/unit"
|
1
|
+
require File.dirname(__FILE__) + "/../../helper"
|
5
2
|
require File.dirname(__FILE__) + "/../../../samples/contactmanager/contact_manager_presenter"
|
6
3
|
|
7
4
|
class ContactManagerPresenterTest < Test::Unit::TestCase
|
@@ -1,7 +1,4 @@
|
|
1
|
-
|
2
|
-
# Licensed under the LGPL. See /COPYING.LGPL for more details.
|
3
|
-
|
4
|
-
require "test/unit"
|
1
|
+
require File.dirname(__FILE__) + "/../../helper"
|
5
2
|
require File.dirname(__FILE__) + "/../../../samples/tictactoe/tic_tac_toe_board"
|
6
3
|
|
7
4
|
class TicTacToeTest < Test::Unit::TestCase
|
@@ -1,66 +1,66 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
require "test/unit"
|
5
|
-
require File.dirname(__FILE__) + "/../../src/parent"
|
6
|
-
require File.dirname(__FILE__) + "/../../src/xml"
|
1
|
+
require File.dirname(__FILE__) + "/../helper"
|
2
|
+
require File.dirname(__FILE__) + "/../../lib/parent"
|
7
3
|
|
8
4
|
class GlimmerXmlTest < Test::Unit::TestCase
|
9
|
-
|
5
|
+
include Glimmer
|
6
|
+
|
7
|
+
def setup
|
8
|
+
dsl :xml
|
9
|
+
end
|
10
10
|
|
11
11
|
def test_single_html_tag
|
12
12
|
@target = html
|
13
|
-
|
13
|
+
|
14
14
|
assert_not_nil @target
|
15
15
|
assert_equal "<html/>", @target.to_xml
|
16
16
|
end
|
17
|
-
|
17
|
+
|
18
18
|
def test_single_document_tag_upper_case
|
19
19
|
@target = tag(:_name => "DOCUMENT")
|
20
|
-
|
20
|
+
|
21
21
|
assert_not_nil @target
|
22
22
|
assert_equal "<DOCUMENT/>", @target.to_xml
|
23
23
|
end
|
24
|
-
|
24
|
+
|
25
25
|
def test_open_and_closed_html_tag
|
26
26
|
@target = html {}
|
27
|
-
|
27
|
+
|
28
28
|
assert_not_nil @target
|
29
29
|
assert_equal "<html></html>", @target.to_xml
|
30
30
|
end
|
31
|
-
|
31
|
+
|
32
32
|
def test_open_and_closed_html_tag_with_contents
|
33
33
|
@target = html { "This is an HTML Document" }
|
34
|
-
|
34
|
+
|
35
35
|
assert_not_nil @target
|
36
36
|
assert_equal "<html>This is an HTML Document</html>", @target.to_xml
|
37
37
|
end
|
38
|
-
|
38
|
+
|
39
39
|
def test_open_and_closed_html_tag_with_contents
|
40
40
|
@target = html { "This is an HTML Document" }
|
41
|
-
|
41
|
+
|
42
42
|
assert_not_nil @target
|
43
43
|
assert_equal "<html>This is an HTML Document</html>", @target.to_xml
|
44
44
|
end
|
45
|
-
|
45
|
+
|
46
46
|
def test_open_and_closed_html_tag_with_attributes
|
47
47
|
@target = html(:id => "thesis", :class => "document") {
|
48
48
|
}
|
49
|
-
|
49
|
+
|
50
50
|
assert_not_nil @target
|
51
51
|
assert_equal '<html id="thesis" class="document"></html>', @target.to_xml
|
52
52
|
end
|
53
|
-
|
53
|
+
|
54
54
|
def test_open_and_closed_html_tag_with_attributes_and_nested_body_with_attributes
|
55
55
|
@target = html(:id => "thesis", :class => "document") {
|
56
56
|
body(:id => "main") {
|
57
57
|
}
|
58
58
|
}
|
59
|
-
|
59
|
+
|
60
60
|
assert_not_nil @target
|
61
61
|
assert_equal '<html id="thesis" class="document"><body id="main"></body></html>', @target.to_xml
|
62
62
|
end
|
63
|
-
|
63
|
+
|
64
64
|
def test_tag_with_contents_before_and_after_nested_tag
|
65
65
|
@target = html(:id => "thesis", :class => "document") {
|
66
66
|
text "Before body"
|
@@ -68,62 +68,62 @@ class GlimmerXmlTest < Test::Unit::TestCase
|
|
68
68
|
}
|
69
69
|
text "When a string is the last part of the tag contents, text prefix is optional"
|
70
70
|
}
|
71
|
-
|
71
|
+
|
72
72
|
assert_not_nil @target
|
73
73
|
assert_equal '<html id="thesis" class="document">Before body<body id="main"></body>When a string is the last part of the tag contents, text prefix is optional</html>', @target.to_xml
|
74
74
|
end
|
75
|
-
|
75
|
+
|
76
76
|
def test_different_name_spaced_tags
|
77
77
|
@target = w3c.html(:id => "thesis", :class => "document") {
|
78
78
|
document.body(:id => "main") {
|
79
79
|
}
|
80
80
|
}
|
81
|
-
|
81
|
+
|
82
82
|
assert_not_nil @target
|
83
83
|
assert_equal '<w3c:html id="thesis" class="document"><document:body id="main"></document:body></w3c:html>', @target.to_xml
|
84
84
|
end
|
85
|
-
|
85
|
+
|
86
86
|
def test_different_name_spaced_attributes_and_tags
|
87
87
|
@target = w3c.html(w3c.id => "thesis", :class => "document") {
|
88
88
|
document.body(document.id => "main") {
|
89
89
|
}
|
90
90
|
}
|
91
|
-
|
91
|
+
|
92
92
|
assert_not_nil @target
|
93
93
|
assert_equal '<w3c:html w3c:id="thesis" class="document"><document:body document:id="main"></document:body></w3c:html>', @target.to_xml
|
94
94
|
end
|
95
|
-
|
95
|
+
|
96
96
|
def test_name_space_context
|
97
|
-
@target = name_space(:w3c) {
|
97
|
+
@target = name_space(:w3c) {
|
98
98
|
html(:id => "thesis", :class => "document") {
|
99
99
|
body(:id => "main") {
|
100
100
|
}
|
101
101
|
}
|
102
102
|
}
|
103
|
-
|
103
|
+
|
104
104
|
assert_not_nil @target
|
105
105
|
assert_equal '<w3c:html id="thesis" class="document"><w3c:body id="main"></w3c:body></w3c:html>', @target.to_xml
|
106
106
|
end
|
107
|
-
|
107
|
+
|
108
108
|
def test_two_name_space_contexts
|
109
|
-
@target = name_space(:w3c) {
|
109
|
+
@target = name_space(:w3c) {
|
110
110
|
html(:id => "thesis", :class => "document") {
|
111
|
-
name_space(:document) {
|
111
|
+
name_space(:document) {
|
112
112
|
sectionDivider(:id => "main") {
|
113
113
|
}
|
114
114
|
}
|
115
115
|
}
|
116
116
|
}
|
117
|
-
|
117
|
+
|
118
118
|
assert_not_nil @target
|
119
119
|
assert_equal '<w3c:html id="thesis" class="document"><document:sectionDivider id="main"></document:sectionDivider></w3c:html>', @target.to_xml
|
120
120
|
end
|
121
|
-
|
121
|
+
|
122
122
|
def test_two_name_space_contexts_including_contents
|
123
|
-
@target = name_space(:w3c) {
|
123
|
+
@target = name_space(:w3c) {
|
124
124
|
html(:id => "thesis", :class => "document") {
|
125
125
|
text "before section divider"
|
126
|
-
name_space(:document) {
|
126
|
+
name_space(:document) {
|
127
127
|
sectionDivider(:id => "main") {
|
128
128
|
"section divider"
|
129
129
|
}
|
@@ -131,33 +131,33 @@ class GlimmerXmlTest < Test::Unit::TestCase
|
|
131
131
|
text "after section divider"
|
132
132
|
}
|
133
133
|
}
|
134
|
-
|
134
|
+
|
135
135
|
assert_not_nil @target
|
136
136
|
assert_equal '<w3c:html id="thesis" class="document">before section divider<document:sectionDivider id="main">section divider</document:sectionDivider>after section divider</w3c:html>', @target.to_xml
|
137
137
|
end
|
138
|
-
|
138
|
+
|
139
139
|
def test_mixed_contents_custom_syntax
|
140
140
|
@target = html{"before section divider#strong{section divider}after section divider"}
|
141
|
-
|
141
|
+
|
142
142
|
assert_not_nil @target
|
143
143
|
assert_equal '<html>before section divider<strong>section divider</strong>after section divider</html>', @target.to_xml
|
144
144
|
end
|
145
|
-
|
145
|
+
|
146
146
|
#TODO handle special characters such as #, {, }, and .
|
147
147
|
#TODO CDATA support
|
148
148
|
#TODO encode special characters
|
149
|
-
|
149
|
+
|
150
150
|
def test_html_alternative_syntax_for_id_and_class_attributes
|
151
151
|
@target = html_thesis_document {
|
152
152
|
body_main {
|
153
153
|
h1__title
|
154
154
|
}
|
155
155
|
}
|
156
|
-
|
156
|
+
|
157
157
|
assert_not_nil @target
|
158
158
|
assert_equal '<html id="thesis" class="document"><body id="main"><h1 class="title" /></body></html>', @target.to_xml
|
159
159
|
end
|
160
|
-
|
160
|
+
|
161
161
|
end
|
162
162
|
|
163
163
|
|
metadata
CHANGED
@@ -1,126 +1,231 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.0
|
3
|
-
specification_version: 1
|
4
2
|
name: glimmer
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
-
|
11
|
-
|
12
|
-
|
13
|
-
rubyforge_project: glimmer
|
14
|
-
description: Glimmer is a JRuby DSL that enables easy and efficient authoring of user-interfaces using the robust platform-independent Eclipse SWT library. Glimmer comes with built-in data-binding support to greatly facilitate synchronizing UI with domain models.
|
15
|
-
autorequire:
|
16
|
-
default_executable:
|
17
|
-
bindir: bin
|
18
|
-
has_rdoc: false
|
19
|
-
required_ruby_version: !ruby/object:Gem::Version::Requirement
|
20
|
-
requirements:
|
21
|
-
- - ">"
|
22
|
-
- !ruby/object:Gem::Version
|
23
|
-
version: 0.0.0
|
24
|
-
version:
|
4
|
+
hash: 31
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
25
11
|
platform: ruby
|
26
|
-
signing_key:
|
27
|
-
cert_chain:
|
28
|
-
post_install_message:
|
29
12
|
authors:
|
30
|
-
-
|
31
|
-
|
32
|
-
|
33
|
-
|
13
|
+
- Andy Maleh
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2011-02-22 00:00:00 -06:00
|
19
|
+
default_executable: glimmer
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
22
|
+
name: facets
|
23
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - "="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 43
|
29
|
+
segments:
|
30
|
+
- 2
|
31
|
+
- 9
|
32
|
+
- 0
|
33
|
+
version: 2.9.0
|
34
|
+
prerelease: false
|
35
|
+
type: :runtime
|
36
|
+
requirement: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: bundler
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
45
|
+
segments:
|
46
|
+
- 0
|
47
|
+
version: "0"
|
48
|
+
prerelease: false
|
49
|
+
type: :development
|
50
|
+
requirement: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: jeweler
|
53
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
hash: 7
|
59
|
+
segments:
|
60
|
+
- 1
|
61
|
+
- 5
|
62
|
+
- 2
|
63
|
+
version: 1.5.2
|
64
|
+
prerelease: false
|
65
|
+
type: :development
|
66
|
+
requirement: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: rcov
|
69
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
70
|
+
none: false
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
hash: 3
|
75
|
+
segments:
|
76
|
+
- 0
|
77
|
+
version: "0"
|
78
|
+
prerelease: false
|
79
|
+
type: :development
|
80
|
+
requirement: *id004
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: facets
|
83
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - "="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
hash: 43
|
89
|
+
segments:
|
90
|
+
- 2
|
91
|
+
- 9
|
92
|
+
- 0
|
93
|
+
version: 2.9.0
|
94
|
+
prerelease: false
|
95
|
+
type: :runtime
|
96
|
+
requirement: *id005
|
97
|
+
description: JRuby DSL that enables easy and efficient authoring of user-interfaces using the robust platform-independent Eclipse SWT library
|
98
|
+
email: andy@obtiva.com
|
99
|
+
executables:
|
100
|
+
- glimmer
|
101
|
+
extensions: []
|
102
|
+
|
103
|
+
extra_rdoc_files:
|
104
|
+
- LICENSE.txt
|
105
|
+
- README.markdown
|
34
106
|
files:
|
35
|
-
-
|
36
|
-
-
|
37
|
-
-
|
38
|
-
-
|
39
|
-
-
|
40
|
-
-
|
41
|
-
-
|
42
|
-
-
|
43
|
-
-
|
44
|
-
-
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
53
|
-
-
|
54
|
-
-
|
55
|
-
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
79
|
-
-
|
107
|
+
- .rvmrc
|
108
|
+
- Gemfile
|
109
|
+
- LICENSE.txt
|
110
|
+
- README.markdown
|
111
|
+
- Rakefile
|
112
|
+
- VERSION
|
113
|
+
- bin/glimmer
|
114
|
+
- glimmer.gemspec
|
115
|
+
- images/Bitter-sweet.jpg
|
116
|
+
- lib/command_handler.rb
|
117
|
+
- lib/command_handler_chain_factory.rb
|
118
|
+
- lib/command_handler_chain_link.rb
|
119
|
+
- lib/command_handlers.rb
|
120
|
+
- lib/command_handlers/bind_command_handler.rb
|
121
|
+
- lib/command_handlers/combo_selection_data_binding_command_handler.rb
|
122
|
+
- lib/command_handlers/data_binding_command_handler.rb
|
123
|
+
- lib/command_handlers/list_selection_data_binding_command_handler.rb
|
124
|
+
- lib/command_handlers/models/list_observer.rb
|
125
|
+
- lib/command_handlers/models/model_observer.rb
|
126
|
+
- lib/command_handlers/models/observable_array.rb
|
127
|
+
- lib/command_handlers/models/observable_model.rb
|
128
|
+
- lib/command_handlers/models/r_runnable.rb
|
129
|
+
- lib/command_handlers/models/r_shell.rb
|
130
|
+
- lib/command_handlers/models/r_tab_item_composite.rb
|
131
|
+
- lib/command_handlers/models/r_widget.rb
|
132
|
+
- lib/command_handlers/models/r_widget_listener.rb
|
133
|
+
- lib/command_handlers/models/r_widget_packages.rb
|
134
|
+
- lib/command_handlers/models/table_items_updater.rb
|
135
|
+
- lib/command_handlers/models/widget_observer.rb
|
136
|
+
- lib/command_handlers/shell_command_handler.rb
|
137
|
+
- lib/command_handlers/swt_constant_command_handler.rb
|
138
|
+
- lib/command_handlers/tab_item_command_handler.rb
|
139
|
+
- lib/command_handlers/table_column_properties_data_binding_command_handler.rb
|
140
|
+
- lib/command_handlers/table_items_data_binding_command_handler.rb
|
141
|
+
- lib/command_handlers/widget_command_handler.rb
|
142
|
+
- lib/command_handlers/widget_listener_command_handler.rb
|
143
|
+
- lib/command_handlers/widget_method_command_handler.rb
|
144
|
+
- lib/glimmer.rb
|
145
|
+
- lib/parent.rb
|
146
|
+
- lib/shine.rb
|
147
|
+
- lib/xml_command_handlers.rb
|
148
|
+
- lib/xml_command_handlers/html_command_handler.rb
|
149
|
+
- lib/xml_command_handlers/models/depth_first_search_iterator.rb
|
150
|
+
- lib/xml_command_handlers/models/name_space_visitor.rb
|
151
|
+
- lib/xml_command_handlers/models/node.rb
|
152
|
+
- lib/xml_command_handlers/models/node_visitor.rb
|
153
|
+
- lib/xml_command_handlers/models/xml_visitor.rb
|
154
|
+
- lib/xml_command_handlers/xml_command_handler.rb
|
155
|
+
- lib/xml_command_handlers/xml_name_space_command_handler.rb
|
156
|
+
- lib/xml_command_handlers/xml_tag_command_handler.rb
|
157
|
+
- lib/xml_command_handlers/xml_text_command_handler.rb
|
158
|
+
- samples/contactmanager/contact.rb
|
159
|
+
- samples/contactmanager/contact_manager.rb
|
160
|
+
- samples/contactmanager/contact_manager_presenter.rb
|
161
|
+
- samples/contactmanager/contact_repository.rb
|
162
|
+
- samples/hello_combo.rb
|
163
|
+
- samples/hello_world.rb
|
164
|
+
- samples/login.rb
|
165
|
+
- samples/tictactoe/tic_tac_toe.rb
|
166
|
+
- samples/tictactoe/tic_tac_toe_board.rb
|
167
|
+
- test/glimmer_combo_data_binding_test.rb
|
80
168
|
- test/glimmer_constant_test.rb
|
81
169
|
- test/glimmer_data_binding_test.rb
|
170
|
+
- test/glimmer_list_data_binding_test.rb
|
82
171
|
- test/glimmer_listeners_test.rb
|
83
172
|
- test/glimmer_shine_data_binding_test.rb
|
173
|
+
- test/glimmer_tab_item_test.rb
|
84
174
|
- test/glimmer_table_data_binding_test.rb
|
85
175
|
- test/glimmer_test.rb
|
176
|
+
- test/helper.rb
|
86
177
|
- test/observable_model_test.rb
|
87
178
|
- test/r_widget_test.rb
|
88
|
-
- test/samples
|
89
|
-
- test/xml
|
90
|
-
- test/samples/contactmanager
|
91
|
-
- test/samples/tictactoe
|
92
179
|
- test/samples/contactmanager/contact_manager_presenter_test.rb
|
93
180
|
- test/samples/tictactoe/tic_tac_toe_test.rb
|
94
181
|
- test/xml/glimmer_xml_test.rb
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
-
|
99
|
-
|
100
|
-
- samples/contactmanager/contact_manager.rb
|
101
|
-
- samples/contactmanager/contact_manager_presenter.rb
|
102
|
-
- samples/contactmanager/contact_repository.rb
|
103
|
-
- samples/tictactoe/tic_tac_toe.rb
|
104
|
-
- samples/tictactoe/tic_tac_toe_board.rb
|
105
|
-
test_files: []
|
106
|
-
|
182
|
+
has_rdoc: true
|
183
|
+
homepage: http://github.com/AndyObtiva/glimmer
|
184
|
+
licenses:
|
185
|
+
- MIT
|
186
|
+
post_install_message:
|
107
187
|
rdoc_options: []
|
108
188
|
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
189
|
+
require_paths:
|
190
|
+
- lib
|
191
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
192
|
+
none: false
|
193
|
+
requirements:
|
194
|
+
- - ">="
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
hash: 3
|
197
|
+
segments:
|
198
|
+
- 0
|
199
|
+
version: "0"
|
200
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
hash: 3
|
206
|
+
segments:
|
207
|
+
- 0
|
208
|
+
version: "0"
|
115
209
|
requirements: []
|
116
210
|
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
211
|
+
rubyforge_project:
|
212
|
+
rubygems_version: 1.5.2
|
213
|
+
signing_key:
|
214
|
+
specification_version: 3
|
215
|
+
summary: Desktop application development library
|
216
|
+
test_files:
|
217
|
+
- test/glimmer_combo_data_binding_test.rb
|
218
|
+
- test/glimmer_constant_test.rb
|
219
|
+
- test/glimmer_data_binding_test.rb
|
220
|
+
- test/glimmer_list_data_binding_test.rb
|
221
|
+
- test/glimmer_listeners_test.rb
|
222
|
+
- test/glimmer_shine_data_binding_test.rb
|
223
|
+
- test/glimmer_tab_item_test.rb
|
224
|
+
- test/glimmer_table_data_binding_test.rb
|
225
|
+
- test/glimmer_test.rb
|
226
|
+
- test/helper.rb
|
227
|
+
- test/observable_model_test.rb
|
228
|
+
- test/r_widget_test.rb
|
229
|
+
- test/samples/contactmanager/contact_manager_presenter_test.rb
|
230
|
+
- test/samples/tictactoe/tic_tac_toe_test.rb
|
231
|
+
- test/xml/glimmer_xml_test.rb
|