glimmer 0.3.5 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/README.markdown +94 -32
  3. data/lib/glimmer.rb +4 -6
  4. data/lib/glimmer/command_handler.rb +10 -0
  5. data/lib/glimmer/command_handler_chain_factory.rb +32 -0
  6. data/lib/glimmer/command_handler_chain_link.rb +21 -0
  7. data/lib/{command_handlers.rb → glimmer/command_handlers.rb} +21 -17
  8. data/lib/glimmer/command_handlers/bind_command_handler.rb +51 -0
  9. data/lib/glimmer/command_handlers/color_command_handler.rb +26 -0
  10. data/lib/glimmer/command_handlers/combo_selection_data_binding_command_handler.rb +40 -0
  11. data/lib/glimmer/command_handlers/data_binding_command_handler.rb +69 -0
  12. data/lib/glimmer/command_handlers/display_command_handler.rb +16 -0
  13. data/lib/glimmer/command_handlers/list_selection_data_binding_command_handler.rb +45 -0
  14. data/lib/glimmer/command_handlers/models/g_color.rb +34 -0
  15. data/lib/glimmer/command_handlers/models/g_display.rb +26 -0
  16. data/lib/glimmer/command_handlers/models/g_font.rb +62 -0
  17. data/lib/glimmer/command_handlers/models/g_runnable.rb +13 -0
  18. data/lib/glimmer/command_handlers/models/g_shell.rb +27 -0
  19. data/lib/glimmer/command_handlers/models/g_swt.rb +22 -0
  20. data/lib/glimmer/command_handlers/models/g_tab_item_composite.rb +33 -0
  21. data/lib/glimmer/command_handlers/models/g_widget.rb +199 -0
  22. data/lib/glimmer/command_handlers/models/g_widget_listener.rb +11 -0
  23. data/lib/glimmer/command_handlers/models/list_selection_binding.rb +47 -0
  24. data/lib/glimmer/command_handlers/models/model_binding.rb +206 -0
  25. data/lib/glimmer/command_handlers/models/observable.rb +11 -0
  26. data/lib/glimmer/command_handlers/models/observable_array.rb +104 -0
  27. data/lib/glimmer/command_handlers/models/observable_model.rb +105 -0
  28. data/lib/glimmer/command_handlers/models/observer.rb +115 -0
  29. data/lib/glimmer/command_handlers/models/table_items_binding.rb +45 -0
  30. data/lib/glimmer/command_handlers/models/tree_items_binding.rb +49 -0
  31. data/lib/glimmer/command_handlers/models/widget_binding.rb +29 -0
  32. data/lib/glimmer/command_handlers/shell_command_handler.rb +17 -0
  33. data/lib/glimmer/command_handlers/tab_item_command_handler.rb +21 -0
  34. data/lib/glimmer/command_handlers/table_column_properties_data_binding_command_handler.rb +25 -0
  35. data/lib/glimmer/command_handlers/table_items_data_binding_command_handler.rb +30 -0
  36. data/lib/glimmer/command_handlers/tree_items_data_binding_command_handler.rb +29 -0
  37. data/lib/glimmer/command_handlers/tree_properties_data_binding_command_handler.rb +25 -0
  38. data/lib/glimmer/command_handlers/widget_command_handler.rb +22 -0
  39. data/lib/glimmer/command_handlers/widget_listener_command_handler.rb +39 -0
  40. data/lib/glimmer/command_handlers/widget_method_command_handler.rb +21 -0
  41. data/lib/glimmer/parent.rb +7 -0
  42. data/lib/{shine.rb → glimmer/shine.rb} +1 -1
  43. data/lib/glimmer/swt_packages.rb +13 -0
  44. data/lib/{xml_command_handlers.rb → glimmer/xml_command_handlers.rb} +10 -8
  45. data/lib/glimmer/xml_command_handlers/html_command_handler.rb +47 -0
  46. data/lib/glimmer/xml_command_handlers/models/depth_first_search_iterator.rb +19 -0
  47. data/lib/glimmer/xml_command_handlers/models/name_space_visitor.rb +20 -0
  48. data/lib/glimmer/xml_command_handlers/models/node.rb +82 -0
  49. data/lib/glimmer/xml_command_handlers/models/node_visitor.rb +11 -0
  50. data/lib/glimmer/xml_command_handlers/models/xml_visitor.rb +61 -0
  51. data/lib/glimmer/xml_command_handlers/xml_command_handler.rb +20 -0
  52. data/lib/glimmer/xml_command_handlers/xml_name_space_command_handler.rb +33 -0
  53. data/lib/glimmer/xml_command_handlers/xml_tag_command_handler.rb +25 -0
  54. data/lib/glimmer/xml_command_handlers/xml_text_command_handler.rb +21 -0
  55. metadata +53 -54
  56. data/lib/command_handler.rb +0 -8
  57. data/lib/command_handler_chain_factory.rb +0 -30
  58. data/lib/command_handler_chain_link.rb +0 -19
  59. data/lib/command_handlers/bind_command_handler.rb +0 -49
  60. data/lib/command_handlers/color_command_handler.rb +0 -24
  61. data/lib/command_handlers/combo_selection_data_binding_command_handler.rb +0 -38
  62. data/lib/command_handlers/data_binding_command_handler.rb +0 -67
  63. data/lib/command_handlers/list_selection_data_binding_command_handler.rb +0 -43
  64. data/lib/command_handlers/models/block_observer.rb +0 -14
  65. data/lib/command_handlers/models/list_selection_binding.rb +0 -45
  66. data/lib/command_handlers/models/model_binding.rb +0 -205
  67. data/lib/command_handlers/models/observable.rb +0 -9
  68. data/lib/command_handlers/models/observable_array.rb +0 -102
  69. data/lib/command_handlers/models/observable_model.rb +0 -103
  70. data/lib/command_handlers/models/observer.rb +0 -88
  71. data/lib/command_handlers/models/r_color.rb +0 -32
  72. data/lib/command_handlers/models/r_font.rb +0 -60
  73. data/lib/command_handlers/models/r_runnable.rb +0 -11
  74. data/lib/command_handlers/models/r_shell.rb +0 -24
  75. data/lib/command_handlers/models/r_swt.rb +0 -18
  76. data/lib/command_handlers/models/r_tab_item_composite.rb +0 -31
  77. data/lib/command_handlers/models/r_widget.rb +0 -183
  78. data/lib/command_handlers/models/r_widget_listener.rb +0 -9
  79. data/lib/command_handlers/models/table_items_binding.rb +0 -43
  80. data/lib/command_handlers/models/tree_items_binding.rb +0 -47
  81. data/lib/command_handlers/models/widget_binding.rb +0 -27
  82. data/lib/command_handlers/shell_command_handler.rb +0 -15
  83. data/lib/command_handlers/tab_item_command_handler.rb +0 -19
  84. data/lib/command_handlers/table_column_properties_data_binding_command_handler.rb +0 -23
  85. data/lib/command_handlers/table_items_data_binding_command_handler.rb +0 -28
  86. data/lib/command_handlers/tree_items_data_binding_command_handler.rb +0 -27
  87. data/lib/command_handlers/tree_properties_data_binding_command_handler.rb +0 -23
  88. data/lib/command_handlers/widget_command_handler.rb +0 -20
  89. data/lib/command_handlers/widget_listener_command_handler.rb +0 -37
  90. data/lib/command_handlers/widget_method_command_handler.rb +0 -19
  91. data/lib/parent.rb +0 -5
  92. data/lib/string.rb +0 -8
  93. data/lib/swt_packages.rb +0 -11
  94. data/lib/symbol.rb +0 -10
  95. data/lib/xml_command_handlers/html_command_handler.rb +0 -45
  96. data/lib/xml_command_handlers/models/depth_first_search_iterator.rb +0 -17
  97. data/lib/xml_command_handlers/models/name_space_visitor.rb +0 -18
  98. data/lib/xml_command_handlers/models/node.rb +0 -80
  99. data/lib/xml_command_handlers/models/node_visitor.rb +0 -9
  100. data/lib/xml_command_handlers/models/xml_visitor.rb +0 -59
  101. data/lib/xml_command_handlers/xml_command_handler.rb +0 -18
  102. data/lib/xml_command_handlers/xml_name_space_command_handler.rb +0 -31
  103. data/lib/xml_command_handlers/xml_tag_command_handler.rb +0 -23
  104. data/lib/xml_command_handlers/xml_text_command_handler.rb +0 -19
@@ -0,0 +1,21 @@
1
+ require File.dirname(__FILE__) + "/../command_handler"
2
+ require File.dirname(__FILE__) + "/models/g_widget"
3
+
4
+ module Glimmer
5
+ class WidgetMethodCommandHandler
6
+ include CommandHandler
7
+
8
+ def can_handle?(parent, command_symbol, *args, &block)
9
+ parent.is_a?(GWidget) and
10
+ args.size > 0 and
11
+ block == nil and
12
+ parent.has_attribute?(command_symbol, *args)
13
+ end
14
+
15
+ def do_handle(parent, command_symbol, *args, &block)
16
+ parent.set_attribute(command_symbol, *args)
17
+ nil
18
+ end
19
+
20
+ end
21
+ end
@@ -0,0 +1,7 @@
1
+ module Glimmer
2
+ module Parent
3
+ def process_block(block)
4
+ raise "must be implemented by a class"
5
+ end
6
+ end
7
+ end
@@ -8,7 +8,7 @@
8
8
  # alias original_compare <=>
9
9
  #
10
10
  # def <=>(other)
11
- # if (self[0].class.name == "RWidget")
11
+ # if (self[0].class.name == "GWidget")
12
12
  # add_contents(self[0]) {
13
13
  # if (other.size == 2)
14
14
  # eval("#{self[1]} bind (other[0], other[1])")
@@ -0,0 +1,13 @@
1
+ module Glimmer
2
+ # edit to add more packages and support custom widgets
3
+ module SwtPackages
4
+ def self.included(klass)
5
+ klass.class_eval do
6
+ include_package 'org.eclipse.swt'
7
+ include_package 'org.eclipse.swt.widgets'
8
+ include_package 'org.eclipse.swt.layout'
9
+ include_package 'org.eclipse.swt.graphics'
10
+ end
11
+ end
12
+ end
13
+ end
@@ -5,11 +5,13 @@ require File.dirname(__FILE__) + "/xml_command_handlers/xml_tag_command_handler"
5
5
  require File.dirname(__FILE__) + "/xml_command_handlers/html_command_handler"
6
6
  require File.dirname(__FILE__) + "/xml_command_handlers/xml_command_handler"
7
7
 
8
- # edit to add more command handlers and extend Glimmer
9
- CommandHandlerChainFactory.def_dsl(:xml,
10
- XmlNameSpaceCommandHandler.new,
11
- XmlTextCommandHandler.new,
12
- XmlTagCommandHandler.new,
13
- HtmlCommandHandler.new,
14
- XmlCommandHandler.new
15
- )
8
+ module Glimmer
9
+ # edit to add more command handlers and extend Glimmer
10
+ CommandHandlerChainFactory.def_dsl(:xml,
11
+ XmlNameSpaceCommandHandler.new,
12
+ XmlTextCommandHandler.new,
13
+ XmlTagCommandHandler.new,
14
+ HtmlCommandHandler.new,
15
+ XmlCommandHandler.new
16
+ )
17
+ end
@@ -0,0 +1,47 @@
1
+ require File.dirname(__FILE__) + "/../command_handler"
2
+ require File.dirname(__FILE__) + "/models/node"
3
+
4
+ module Glimmer
5
+ class HtmlCommandHandler
6
+ include CommandHandler
7
+
8
+ def can_handle?(parent, command_symbol, *args, &block)
9
+ (parent == nil or parent.is_a?(Node)) and
10
+ (args.size == 0 or ((args.size == 1) and ((args[0].is_a?(Hash)) or (args[0].is_a?(Hash)))))
11
+ end
12
+
13
+ def do_handle(parent, command_symbol, *args, &block)
14
+ attributes = Hash.new
15
+ attributes = args[0] if (args.size == 1)
16
+ append_id_and_class_attributes(command_symbol.to_s, attributes)
17
+ tag_name = parse_tag_name(command_symbol.to_s)
18
+ Node.new(parent, tag_name, attributes, &block)
19
+ end
20
+
21
+ def parse_tag_name(command)
22
+ match_data = command.match("_")
23
+ if (match_data.to_a.size > 0)
24
+ command.match("_").pre_match
25
+ else
26
+ command
27
+ end
28
+ end
29
+
30
+ def append_id_and_class_attributes(command, attributes)
31
+ class_only_match = command.match("__.+").to_s
32
+ if class_only_match.length > 0
33
+ class_value = class_only_match[2, class_only_match.length]
34
+ else
35
+ match_data = command.match("_[^_]+")
36
+ return unless match_data
37
+ match = match_data.to_s
38
+ id_value = match[1, match.length] if match.length > 0
39
+ attributes[:id] = id_value if id_value
40
+ match2 = match_data.post_match.match("_[^_]+").to_s if match_data.post_match
41
+ class_value = match2[1, match2.length] if match2.length > 0
42
+ end
43
+ attributes[:class] = class_value if class_value
44
+ end
45
+
46
+ end
47
+ end
@@ -0,0 +1,19 @@
1
+ module Glimmer
2
+ class DepthFirstSearchIterator
3
+ def initialize(node, node_visitor)
4
+ @node = node
5
+ @node_visitor = node_visitor
6
+ end
7
+
8
+ def iterate
9
+ process(@node)
10
+ end
11
+
12
+ def process(node)
13
+ @node_visitor.process_before_children(node)
14
+ node.children.each { |child| process(child) } unless node.is_a?(String)
15
+ @node_visitor.process_after_children(node)
16
+ end
17
+
18
+ end
19
+ end
@@ -0,0 +1,20 @@
1
+ require File.dirname(__FILE__) + "/node_visitor"
2
+
3
+ module Glimmer
4
+ class NameSpaceVisitor < NodeVisitor
5
+
6
+ def initialize(name_space_name)
7
+ @name_space_name = name_space_name
8
+ end
9
+
10
+ def process_before_children(node)
11
+ return if node.is_a?(String)
12
+ node.name_space = Node.new(nil, @name_space_name, nil) if node and !node.name_space
13
+ end
14
+
15
+ def process_after_children(node)
16
+ #NOOP
17
+ end
18
+
19
+ end
20
+ end
@@ -0,0 +1,82 @@
1
+ require File.dirname(__FILE__) + "/depth_first_search_iterator"
2
+ require File.dirname(__FILE__) + "/xml_visitor"
3
+
4
+ module Glimmer
5
+ class Node
6
+ include Parent, Glimmer
7
+
8
+ attr_accessor :children, :name, :contents, :attributes, :is_name_space, :is_attribute, :name_space, :parent
9
+
10
+ def initialize(parent, name, attributes, &contents)
11
+ @is_name_space = false
12
+ @children = []
13
+ @parent = parent
14
+ if (parent and parent.is_name_space)
15
+ @name_space = parent
16
+ @parent = @name_space.parent
17
+ end
18
+ @parent.children << self if @parent
19
+ @name = name
20
+ @contents = contents
21
+ @attributes = attributes
22
+ if @attributes
23
+ @attributes.each_key do |attribute|
24
+ if attribute.is_a?(Node)
25
+ attribute.is_attribute = true
26
+ attribute.parent.children.delete(attribute) if attribute.parent
27
+ attribute.parent = nil #attributes do not usually have parents
28
+ end
29
+ end
30
+ Glimmer.logger.debug(attributes)
31
+ end
32
+ end
33
+
34
+ def method_missing(symbol, *args, &block)
35
+ @is_name_space = true
36
+ parent.children.delete(self) if parent
37
+ Glimmer.add_contents(self) {@tag = super}
38
+ @tag
39
+ end
40
+
41
+ def to_xml
42
+ xml_visitor = XmlVisitor.new
43
+ DepthFirstSearchIterator.new(self, xml_visitor).iterate
44
+ xml_visitor.document
45
+ end
46
+
47
+ def process_block(block)
48
+ return_value = block.call(@widget)
49
+ if return_value.is_a?(String) and !@children.include?(return_value)
50
+ text = return_value
51
+ first_match = text.match(/[#][^{]+[{][^}]+[}]/)
52
+ match = first_match
53
+ while (match)
54
+ Glimmer.module_eval(text_command(match.pre_match))
55
+ tag_text = match.to_s
56
+ Glimmer.module_eval(rubyize(tag_text))
57
+ text = tag_text
58
+ post_match = match.post_match
59
+ match = text.match(/[#]\w+[{]\w+[}]/)
60
+ end
61
+ Glimmer.module_eval(text_command(post_match)) if post_match
62
+ @children << return_value unless first_match
63
+ end
64
+ end
65
+
66
+ def text_command(text)
67
+ "text \"#{text}\""
68
+ end
69
+
70
+ def rubyize(text)
71
+ text = text.gsub(/[}]/, '"}')
72
+ text = text.gsub(/[{]/, '{"')
73
+ text = text.gsub(/[#]/, '')
74
+ end
75
+
76
+ #override Object default id method and route it to Glimmer engine
77
+ def id
78
+ method_missing(:id)
79
+ end
80
+
81
+ end
82
+ end
@@ -0,0 +1,11 @@
1
+ module Glimmer
2
+ class NodeVisitor
3
+ def process_before_children
4
+ raise "must be implemented by a class"
5
+ end
6
+
7
+ def process_after_children
8
+ raise "must be implemented by a class"
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,61 @@
1
+ require File.dirname(__FILE__) + "/node_visitor"
2
+
3
+ module Glimmer
4
+ class XmlVisitor < NodeVisitor
5
+
6
+ attr_reader :document
7
+
8
+ def initialize
9
+ @document = ""
10
+ end
11
+
12
+ def process_before_children(node)
13
+ if (node.is_a?(String))
14
+ @document << node
15
+ return
16
+ end
17
+ begin_open_tag(node)
18
+ append_attributes(node) if node.attributes
19
+ end_open_tag(node)
20
+ end
21
+
22
+ def process_after_children(node)
23
+ return if (node.is_a?(String))
24
+ append_close_tag(node)
25
+ end
26
+
27
+ def begin_open_tag(node)
28
+ @document << "<"
29
+ @document << "#{node.name_space.name}:" if node.name_space
30
+ @document << node.name
31
+ end
32
+
33
+ def end_open_tag(node)
34
+ if (node.contents)
35
+ @document << ">"
36
+ else
37
+ @document << " " if node.attributes.keys.size > 0
38
+ @document << "/>"
39
+ end
40
+ end
41
+
42
+ def append_close_tag(node)
43
+ if (node.contents)
44
+ @document << "</"
45
+ @document << "#{node.name_space.name}:" if node.name_space
46
+ @document << "#{node.name}>"
47
+ end
48
+ end
49
+
50
+ def append_attributes(node)
51
+ Glimmer.logger.debug "Take 3"
52
+ Glimmer.logger.debug(node.attributes)
53
+ node.attributes.each_key do |attribute|
54
+ attribute_name = attribute
55
+ attribute_name = "#{attribute.name_space.name}:#{attribute.name}" if attribute.is_a?(Node)
56
+ @document << " #{attribute_name}=\"#{node.attributes[attribute]}\""
57
+ end
58
+ end
59
+
60
+ end
61
+ end
@@ -0,0 +1,20 @@
1
+ require File.dirname(__FILE__) + "/../command_handler"
2
+ require File.dirname(__FILE__) + "/models/node"
3
+
4
+ module Glimmer
5
+ class XmlCommandHandler
6
+ include CommandHandler
7
+
8
+ def can_handle?(parent, command_symbol, *args, &block)
9
+ (parent == nil or parent.is_a?(Node)) and
10
+ (args.size == 0 or ((args.size == 1) and ((args[0].is_a?(Hash)) or (args[0].is_a?(Hash)))))
11
+ end
12
+
13
+ def do_handle(parent, command_symbol, *args, &block)
14
+ attributes = Hash.new
15
+ attributes = args[0] if (args.size == 1)
16
+ Node.new(parent, command_symbol.to_s, attributes, &block)
17
+ end
18
+
19
+ end
20
+ end
@@ -0,0 +1,33 @@
1
+ require File.dirname(__FILE__) + "/../command_handler"
2
+ require File.dirname(__FILE__) + "/models/node"
3
+ require File.dirname(__FILE__) + "/models/depth_first_search_iterator"
4
+ require File.dirname(__FILE__) + "/models/name_space_visitor"
5
+
6
+ module Glimmer
7
+ class XmlNameSpaceCommandHandler
8
+ include CommandHandler, Glimmer
9
+
10
+ def can_handle?(parent, command_symbol, *args, &block)
11
+ (parent == nil or parent.is_a?(Node)) and
12
+ (command_symbol.to_s == "name_space")
13
+ (args.size == 1) and
14
+ (args[0].is_a?(Symbol)) and
15
+ block
16
+ end
17
+
18
+ def do_handle(parent, command_symbol, *args, &block)
19
+ node = block.call
20
+ unless node.is_a?(String)
21
+ name_space_visitor = NameSpaceVisitor.new(args[0].to_s)
22
+ DepthFirstSearchIterator.new(node, name_space_visitor).iterate
23
+ def node.process_block(block)
24
+ Glimmer.logger.debug 'block'
25
+ #NOOP
26
+ end
27
+ end
28
+ parent.children << node if parent and !parent.children.include?(node)
29
+ node
30
+ end
31
+
32
+ end
33
+ end
@@ -0,0 +1,25 @@
1
+ require "facets"
2
+ require File.dirname(__FILE__) + "/../command_handler"
3
+ require File.dirname(__FILE__) + "/models/node"
4
+
5
+ module Glimmer
6
+ class XmlTagCommandHandler
7
+ include CommandHandler
8
+
9
+ def can_handle?(parent, command_symbol, *args, &block)
10
+ (parent == nil or parent.is_a?(Node)) and
11
+ (command_symbol.to_s == "tag") and
12
+ ((args.size == 1) and ((args[0].is_a?(Hash)) or (args[0].is_a?(Hash)))) and
13
+ args[0].include?(:_name)
14
+ end
15
+
16
+ def do_handle(parent, command_symbol, *args, &block)
17
+ attributes = nil
18
+ attributes = args[0] if (args.size == 1)
19
+ tag_name = attributes[:_name]
20
+ attributes.delete(:_name)
21
+ Node.new(parent, tag_name, attributes, &block)
22
+ end
23
+
24
+ end
25
+ end
@@ -0,0 +1,21 @@
1
+ require File.dirname(__FILE__) + "/../command_handler"
2
+ require File.dirname(__FILE__) + "/models/node"
3
+
4
+ module Glimmer
5
+ class XmlTextCommandHandler
6
+ include CommandHandler
7
+
8
+ def can_handle?(parent, command_symbol, *args, &block)
9
+ (parent == nil or parent.is_a?(Node)) and
10
+ (command_symbol.to_s == "text") and
11
+ ((args.size == 1) and (args[0].is_a?(String))) and
12
+ !block
13
+ end
14
+
15
+ def do_handle(parent, command_symbol, *args, &block)
16
+ parent.children << args[0] if parent
17
+ args[0]
18
+ end
19
+
20
+ end
21
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glimmer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AndyMaleh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-14 00:00:00.000000000 Z
11
+ date: 2020-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -151,60 +151,59 @@ files:
151
151
  - README.markdown
152
152
  - bin/girb
153
153
  - bin/glimmer
154
- - lib/command_handler.rb
155
- - lib/command_handler_chain_factory.rb
156
- - lib/command_handler_chain_link.rb
157
- - lib/command_handlers.rb
158
- - lib/command_handlers/bind_command_handler.rb
159
- - lib/command_handlers/color_command_handler.rb
160
- - lib/command_handlers/combo_selection_data_binding_command_handler.rb
161
- - lib/command_handlers/data_binding_command_handler.rb
162
- - lib/command_handlers/list_selection_data_binding_command_handler.rb
163
- - lib/command_handlers/models/block_observer.rb
164
- - lib/command_handlers/models/list_selection_binding.rb
165
- - lib/command_handlers/models/model_binding.rb
166
- - lib/command_handlers/models/observable.rb
167
- - lib/command_handlers/models/observable_array.rb
168
- - lib/command_handlers/models/observable_model.rb
169
- - lib/command_handlers/models/observer.rb
170
- - lib/command_handlers/models/r_color.rb
171
- - lib/command_handlers/models/r_font.rb
172
- - lib/command_handlers/models/r_runnable.rb
173
- - lib/command_handlers/models/r_shell.rb
174
- - lib/command_handlers/models/r_swt.rb
175
- - lib/command_handlers/models/r_tab_item_composite.rb
176
- - lib/command_handlers/models/r_widget.rb
177
- - lib/command_handlers/models/r_widget_listener.rb
178
- - lib/command_handlers/models/table_items_binding.rb
179
- - lib/command_handlers/models/tree_items_binding.rb
180
- - lib/command_handlers/models/widget_binding.rb
181
- - lib/command_handlers/shell_command_handler.rb
182
- - lib/command_handlers/tab_item_command_handler.rb
183
- - lib/command_handlers/table_column_properties_data_binding_command_handler.rb
184
- - lib/command_handlers/table_items_data_binding_command_handler.rb
185
- - lib/command_handlers/tree_items_data_binding_command_handler.rb
186
- - lib/command_handlers/tree_properties_data_binding_command_handler.rb
187
- - lib/command_handlers/widget_command_handler.rb
188
- - lib/command_handlers/widget_listener_command_handler.rb
189
- - lib/command_handlers/widget_method_command_handler.rb
190
154
  - lib/glimmer.rb
155
+ - lib/glimmer/command_handler.rb
156
+ - lib/glimmer/command_handler_chain_factory.rb
157
+ - lib/glimmer/command_handler_chain_link.rb
158
+ - lib/glimmer/command_handlers.rb
159
+ - lib/glimmer/command_handlers/bind_command_handler.rb
160
+ - lib/glimmer/command_handlers/color_command_handler.rb
161
+ - lib/glimmer/command_handlers/combo_selection_data_binding_command_handler.rb
162
+ - lib/glimmer/command_handlers/data_binding_command_handler.rb
163
+ - lib/glimmer/command_handlers/display_command_handler.rb
164
+ - lib/glimmer/command_handlers/list_selection_data_binding_command_handler.rb
165
+ - lib/glimmer/command_handlers/models/g_color.rb
166
+ - lib/glimmer/command_handlers/models/g_display.rb
167
+ - lib/glimmer/command_handlers/models/g_font.rb
168
+ - lib/glimmer/command_handlers/models/g_runnable.rb
169
+ - lib/glimmer/command_handlers/models/g_shell.rb
170
+ - lib/glimmer/command_handlers/models/g_swt.rb
171
+ - lib/glimmer/command_handlers/models/g_tab_item_composite.rb
172
+ - lib/glimmer/command_handlers/models/g_widget.rb
173
+ - lib/glimmer/command_handlers/models/g_widget_listener.rb
174
+ - lib/glimmer/command_handlers/models/list_selection_binding.rb
175
+ - lib/glimmer/command_handlers/models/model_binding.rb
176
+ - lib/glimmer/command_handlers/models/observable.rb
177
+ - lib/glimmer/command_handlers/models/observable_array.rb
178
+ - lib/glimmer/command_handlers/models/observable_model.rb
179
+ - lib/glimmer/command_handlers/models/observer.rb
180
+ - lib/glimmer/command_handlers/models/table_items_binding.rb
181
+ - lib/glimmer/command_handlers/models/tree_items_binding.rb
182
+ - lib/glimmer/command_handlers/models/widget_binding.rb
183
+ - lib/glimmer/command_handlers/shell_command_handler.rb
184
+ - lib/glimmer/command_handlers/tab_item_command_handler.rb
185
+ - lib/glimmer/command_handlers/table_column_properties_data_binding_command_handler.rb
186
+ - lib/glimmer/command_handlers/table_items_data_binding_command_handler.rb
187
+ - lib/glimmer/command_handlers/tree_items_data_binding_command_handler.rb
188
+ - lib/glimmer/command_handlers/tree_properties_data_binding_command_handler.rb
189
+ - lib/glimmer/command_handlers/widget_command_handler.rb
190
+ - lib/glimmer/command_handlers/widget_listener_command_handler.rb
191
+ - lib/glimmer/command_handlers/widget_method_command_handler.rb
192
+ - lib/glimmer/parent.rb
193
+ - lib/glimmer/shine.rb
194
+ - lib/glimmer/swt_packages.rb
195
+ - lib/glimmer/xml_command_handlers.rb
196
+ - lib/glimmer/xml_command_handlers/html_command_handler.rb
197
+ - lib/glimmer/xml_command_handlers/models/depth_first_search_iterator.rb
198
+ - lib/glimmer/xml_command_handlers/models/name_space_visitor.rb
199
+ - lib/glimmer/xml_command_handlers/models/node.rb
200
+ - lib/glimmer/xml_command_handlers/models/node_visitor.rb
201
+ - lib/glimmer/xml_command_handlers/models/xml_visitor.rb
202
+ - lib/glimmer/xml_command_handlers/xml_command_handler.rb
203
+ - lib/glimmer/xml_command_handlers/xml_name_space_command_handler.rb
204
+ - lib/glimmer/xml_command_handlers/xml_tag_command_handler.rb
205
+ - lib/glimmer/xml_command_handlers/xml_text_command_handler.rb
191
206
  - lib/glimmer_application.rb
192
- - lib/parent.rb
193
- - lib/shine.rb
194
- - lib/string.rb
195
- - lib/swt_packages.rb
196
- - lib/symbol.rb
197
- - lib/xml_command_handlers.rb
198
- - lib/xml_command_handlers/html_command_handler.rb
199
- - lib/xml_command_handlers/models/depth_first_search_iterator.rb
200
- - lib/xml_command_handlers/models/name_space_visitor.rb
201
- - lib/xml_command_handlers/models/node.rb
202
- - lib/xml_command_handlers/models/node_visitor.rb
203
- - lib/xml_command_handlers/models/xml_visitor.rb
204
- - lib/xml_command_handlers/xml_command_handler.rb
205
- - lib/xml_command_handlers/xml_name_space_command_handler.rb
206
- - lib/xml_command_handlers/xml_tag_command_handler.rb
207
- - lib/xml_command_handlers/xml_text_command_handler.rb
208
207
  - vendor/swt/linux/swt.jar
209
208
  - vendor/swt/mac/swt.jar
210
209
  - vendor/swt/windows/swt.jar