Sha256: cc4c8547df55241226e07542f4cb1f8a307a5f0e7c6cfa7d16d3729dd2cd5871
Contents?: true
Size: 692 Bytes
Versions: 15
Compression:
Stored size: 692 Bytes
Contents
require File.dirname(__FILE__) + "/../command_handler" require File.dirname(__FILE__) + "/models/r_widget" # Responsible for providing a readable keyword (command symbol) to capture # and return column properties for use in TreeItemsDataBindingCommandHandler 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
15 entries across 15 versions & 1 rubygems