Sha256: 2c8a4c6f6d697f94485a1298b2ca13eac38ce69be0304f2c25fd5f71af4d1b0b
Contents?: true
Size: 722 Bytes
Versions: 11
Compression:
Stored size: 722 Bytes
Contents
require 'glimmer/dsl/static_expression' require 'glimmer/data_binding/model_binding' require 'glimmer/data_binding/tree_items_binding' module Glimmer module DSL # Responsible for providing a readable keyword (command symbol) to capture # and return tree properties for use in TreeItemsDataBindingCommandHandler class TreePropertiesExpression < StaticExpression include_package 'org.eclipse.swt.widgets' def can_interpret?(parent, keyword, *args, &block) keyword == "tree_properties" and block.nil? and widget?(parent) and parent.swt_widget.is_a?(Tree) end def interpret(parent, keyword, *args, &block) args end end end end
Version data entries
11 entries across 11 versions & 1 rubygems