Sha256: aa24bacbebf8532971185afd40ae9c8b692ac0e0629e45b0a2d8343e09f988e0
Contents?: true
Size: 859 Bytes
Versions: 3
Compression:
Stored size: 859 Bytes
Contents
require File.dirname(__FILE__) + "/../../command_handler" require File.dirname(__FILE__) + "/../g_widget" module Glimmer module SWT module CommandHandlers # 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?(GWidget) 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 end end end
Version data entries
3 entries across 3 versions & 1 rubygems