Sha256: 2b7c7b4202af2c4d48dcb5907c8fabfe796a45eeeb328799a01a59fe2f718e11

Contents?: true

Size: 545 Bytes

Versions: 6

Compression:

Stored size: 545 Bytes

Contents

require File.dirname(__FILE__) + "/../command_handler"
require File.dirname(__FILE__) + "/models/r_widget"

class TableColumnPropertiesDataBindingCommandHandler
  include CommandHandler
  
  include_package 'org.eclipse.swt'
  include_package 'org.eclipse.swt.widgets'

  def can_handle?(parent, command_symbol, *args, &block)
    parent.is_a?(RWidget) and
    parent.widget.is_a?(Table) and
    command_symbol.to_s == "column_properties" and
    block == nil
  end
  
  def do_handle(parent, command_symbol, *args, &block)
    args
  end
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
glimmer-0.1.8.470 lib/command_handlers/table_column_properties_data_binding_command_handler.rb
glimmer-0.1.5.470 lib/command_handlers/table_column_properties_data_binding_command_handler.rb
glimmer-0.1.4.470 lib/command_handlers/table_column_properties_data_binding_command_handler.rb
glimmer-0.1.4.swt.pre.4.7.0 lib/command_handlers/table_column_properties_data_binding_command_handler.rb
glimmer-0.1.3 lib/command_handlers/table_column_properties_data_binding_command_handler.rb
glimmer-0.1.2 lib/command_handlers/table_column_properties_data_binding_command_handler.rb