glimmer 0.4.9 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.markdown +324 -59
- data/lib/glimmer.rb +54 -63
- data/lib/glimmer/data_binding/list_selection_binding.rb +52 -0
- data/lib/glimmer/{swt → data_binding}/model_binding.rb +33 -5
- data/lib/glimmer/{swt → data_binding}/observable.rb +6 -3
- data/lib/glimmer/{swt → data_binding}/observable_array.rb +3 -1
- data/lib/glimmer/{swt → data_binding}/observable_model.rb +3 -2
- data/lib/glimmer/data_binding/observable_widget.rb +17 -0
- data/lib/glimmer/{swt → data_binding}/observer.rb +3 -3
- data/lib/glimmer/{shine.rb → data_binding/shine.rb} +2 -2
- data/lib/glimmer/{swt → data_binding}/table_items_binding.rb +12 -11
- data/lib/glimmer/{swt → data_binding}/tree_items_binding.rb +15 -12
- data/lib/glimmer/{swt → data_binding}/widget_binding.rb +2 -1
- data/lib/glimmer/dsl.rb +26 -0
- data/lib/glimmer/dsl/async_exec_expression.rb +12 -0
- data/lib/glimmer/dsl/bind_expression.rb +44 -0
- data/lib/glimmer/dsl/color_expression.rb +28 -0
- data/lib/glimmer/dsl/column_properties_expression.rb +22 -0
- data/lib/glimmer/dsl/combo_selection_data_binding_expression.rb +40 -0
- data/lib/glimmer/dsl/custom_widget_expression.rb +35 -0
- data/lib/glimmer/dsl/data_binding_expression.rb +33 -0
- data/lib/glimmer/dsl/display_expression.rb +12 -0
- data/lib/glimmer/dsl/engine.rb +80 -0
- data/lib/glimmer/dsl/exec_expression.rb +23 -0
- data/lib/glimmer/dsl/expression.rb +44 -0
- data/lib/glimmer/dsl/expression_handler.rb +48 -0
- data/lib/glimmer/dsl/layout_data_expression.rb +24 -0
- data/lib/glimmer/dsl/layout_expression.rb +26 -0
- data/lib/glimmer/dsl/list_selection_data_binding_expression.rb +42 -0
- data/lib/glimmer/dsl/observe_expression.rb +27 -0
- data/lib/glimmer/dsl/parent_expression.rb +12 -0
- data/lib/glimmer/dsl/property_expression.rb +20 -0
- data/lib/glimmer/dsl/shell_expression.rb +15 -0
- data/lib/glimmer/dsl/static_expression.rb +38 -0
- data/lib/glimmer/dsl/swt_expression.rb +23 -0
- data/lib/glimmer/dsl/sync_exec_expression.rb +13 -0
- data/lib/glimmer/dsl/tab_item_expression.rb +31 -0
- data/lib/glimmer/dsl/table_items_data_binding_expression.rb +29 -0
- data/lib/glimmer/dsl/tree_items_data_binding_expression.rb +30 -0
- data/lib/glimmer/dsl/tree_properties_expression.rb +24 -0
- data/lib/glimmer/dsl/widget_expression.rb +26 -0
- data/lib/glimmer/dsl/widget_listener_expression.rb +27 -0
- data/lib/glimmer/error.rb +6 -0
- data/lib/glimmer/invalid_keyword_error.rb +6 -0
- data/lib/glimmer/launcher.rb +39 -23
- data/lib/glimmer/swt/color_proxy.rb +48 -0
- data/lib/glimmer/swt/display_proxy.rb +49 -0
- data/lib/glimmer/swt/font_proxy.rb +72 -0
- data/lib/glimmer/swt/layout_data_proxy.rb +73 -0
- data/lib/glimmer/swt/{g_layout.rb → layout_proxy.rb} +24 -25
- data/lib/glimmer/swt/packages.rb +13 -0
- data/lib/glimmer/swt/shell_proxy.rb +108 -0
- data/lib/glimmer/swt/{g_swt.rb → swt_proxy.rb} +12 -5
- data/lib/glimmer/swt/tab_item_proxy.rb +59 -0
- data/lib/glimmer/swt/widget_listener_proxy.rb +17 -0
- data/lib/glimmer/swt/widget_proxy.rb +366 -0
- data/lib/glimmer/{swt → ui}/custom_shell.rb +4 -4
- data/lib/glimmer/{swt → ui}/custom_widget.rb +67 -51
- data/lib/glimmer/{swt → ui}/video.rb +13 -13
- data/lib/glimmer/{swt → util}/proc_tracker.rb +1 -1
- data/vendor/swt/linux/swt.jar +0 -0
- data/vendor/swt/mac/swt.jar +0 -0
- data/vendor/swt/windows/swt.jar +0 -0
- metadata +66 -70
- data/lib/glimmer/command_handler.rb +0 -15
- data/lib/glimmer/command_handler_chain_factory.rb +0 -32
- data/lib/glimmer/command_handler_chain_link.rb +0 -25
- data/lib/glimmer/command_handlers.rb +0 -46
- data/lib/glimmer/ext/module.rb +0 -20
- data/lib/glimmer/parent.rb +0 -7
- data/lib/glimmer/swt/command_handlers/bind_command_handler.rb +0 -56
- data/lib/glimmer/swt/command_handlers/color_command_handler.rb +0 -30
- data/lib/glimmer/swt/command_handlers/combo_selection_data_binding_command_handler.rb +0 -44
- data/lib/glimmer/swt/command_handlers/custom_widget_command_handler.rb +0 -26
- data/lib/glimmer/swt/command_handlers/data_binding_command_handler.rb +0 -40
- data/lib/glimmer/swt/command_handlers/display_command_handler.rb +0 -20
- data/lib/glimmer/swt/command_handlers/layout_command_handler.rb +0 -27
- data/lib/glimmer/swt/command_handlers/layout_data_command_handler.rb +0 -27
- data/lib/glimmer/swt/command_handlers/list_selection_data_binding_command_handler.rb +0 -49
- data/lib/glimmer/swt/command_handlers/observe_command_handler.rb +0 -35
- data/lib/glimmer/swt/command_handlers/property_command_handler.rb +0 -24
- data/lib/glimmer/swt/command_handlers/shell_command_handler.rb +0 -20
- data/lib/glimmer/swt/command_handlers/tab_item_command_handler.rb +0 -34
- data/lib/glimmer/swt/command_handlers/table_column_properties_data_binding_command_handler.rb +0 -29
- data/lib/glimmer/swt/command_handlers/table_items_data_binding_command_handler.rb +0 -34
- data/lib/glimmer/swt/command_handlers/tree_items_data_binding_command_handler.rb +0 -33
- data/lib/glimmer/swt/command_handlers/tree_properties_data_binding_command_handler.rb +0 -29
- data/lib/glimmer/swt/command_handlers/widget_command_handler.rb +0 -27
- data/lib/glimmer/swt/command_handlers/widget_listener_command_handler.rb +0 -48
- data/lib/glimmer/swt/g_color.rb +0 -41
- data/lib/glimmer/swt/g_display.rb +0 -36
- data/lib/glimmer/swt/g_font.rb +0 -71
- data/lib/glimmer/swt/g_layout_data.rb +0 -56
- data/lib/glimmer/swt/g_runnable.rb +0 -15
- data/lib/glimmer/swt/g_shell.rb +0 -106
- data/lib/glimmer/swt/g_tab_item_composite.rb +0 -41
- data/lib/glimmer/swt/g_widget.rb +0 -349
- data/lib/glimmer/swt/g_widget_listener.rb +0 -12
- data/lib/glimmer/swt/list_selection_binding.rb +0 -47
- data/lib/glimmer/swt_packages.rb +0 -15
- data/lib/glimmer/xml/command_handlers/html_command_handler.rb +0 -50
- data/lib/glimmer/xml/command_handlers/xml_command_handler.rb +0 -23
- data/lib/glimmer/xml/command_handlers/xml_name_space_command_handler.rb +0 -36
- data/lib/glimmer/xml/command_handlers/xml_tag_command_handler.rb +0 -28
- data/lib/glimmer/xml/command_handlers/xml_text_command_handler.rb +0 -24
- data/lib/glimmer/xml/depth_first_search_iterator.rb +0 -20
- data/lib/glimmer/xml/name_space_visitor.rb +0 -21
- data/lib/glimmer/xml/node.rb +0 -84
- data/lib/glimmer/xml/node_visitor.rb +0 -13
- data/lib/glimmer/xml/xml_visitor.rb +0 -63
- data/lib/glimmer/xml_command_handlers.rb +0 -18
@@ -1,18 +0,0 @@
|
|
1
|
-
require File.dirname(__FILE__) + "/command_handler_chain_factory"
|
2
|
-
require File.dirname(__FILE__) + "/xml/command_handlers/xml_name_space_command_handler"
|
3
|
-
require File.dirname(__FILE__) + "/xml/command_handlers/xml_text_command_handler"
|
4
|
-
require File.dirname(__FILE__) + "/xml/command_handlers/xml_tag_command_handler"
|
5
|
-
require File.dirname(__FILE__) + "/xml/command_handlers/html_command_handler"
|
6
|
-
require File.dirname(__FILE__) + "/xml/command_handlers/xml_command_handler"
|
7
|
-
|
8
|
-
# TODO move into XML namespace
|
9
|
-
module Glimmer
|
10
|
-
# edit to add more command handlers and extend Glimmer
|
11
|
-
CommandHandlerChainFactory.def_dsl(:xml,
|
12
|
-
XML::CommandHandlers::XmlNameSpaceCommandHandler.new,
|
13
|
-
XML::CommandHandlers::XmlTextCommandHandler.new,
|
14
|
-
XML::CommandHandlers::XmlTagCommandHandler.new,
|
15
|
-
XML::CommandHandlers::HtmlCommandHandler.new,
|
16
|
-
XML::CommandHandlers::XmlCommandHandler.new
|
17
|
-
)
|
18
|
-
end
|