Class: Glimmer::DSL::SWT::ColumnPropertiesExpression
- Inherits:
-
StaticExpression
- Object
- StaticExpression
- Glimmer::DSL::SWT::ColumnPropertiesExpression
- Defined in:
- lib/glimmer/dsl/swt/column_properties_expression.rb
Overview
Responsible for providing a readable keyword (command symbol) to capture and return column properties for use in TreeItemsDataBindingCommandHandler
Instance Method Summary collapse
- #can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
- #interpret(parent, keyword, *args, &block) ⇒ Object
Instance Method Details
#can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
32 33 34 35 36 37 |
# File 'lib/glimmer/dsl/swt/column_properties_expression.rb', line 32 def can_interpret?(parent, keyword, *args, &block) keyword == 'column_properties' and block.nil? and parent.respond_to?(:swt_widget) and parent..is_a?(Table) end |
#interpret(parent, keyword, *args, &block) ⇒ Object
39 40 41 |
# File 'lib/glimmer/dsl/swt/column_properties_expression.rb', line 39 def interpret(parent, keyword, *args, &block) args end |