Class: Glimmer::DSL::SWT::ColumnPropertiesExpression
- Inherits:
-
Glimmer::DSL::StaticExpression
- Object
- Expression
- Glimmer::DSL::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
Methods inherited from Glimmer::DSL::StaticExpression
Methods inherited from Expression
#add_content, dsl, #textual?, #widget?
Instance Method Details
#can_interpret?(parent, keyword, *args, &block) ⇒ Boolean
11 12 13 14 15 16 |
# File 'lib/glimmer/dsl/swt/column_properties_expression.rb', line 11 def can_interpret?(parent, keyword, *args, &block) keyword == 'column_properties' and block.nil? and (parent) and parent..is_a?(Table) end |
#interpret(parent, keyword, *args, &block) ⇒ Object
18 19 20 |
# File 'lib/glimmer/dsl/swt/column_properties_expression.rb', line 18 def interpret(parent, keyword, *args, &block) args end |