Sha256: 86191a0d9ea0becbd27f0d3de7fd86dec2fb9a698aac9202224dbde16b3d533f
Contents?: true
Size: 743 Bytes
Versions: 4
Compression:
Stored size: 743 Bytes
Contents
require File.dirname(__FILE__) + "/../command_handler" require File.dirname(__FILE__) + "/models/g_widget" module Glimmer # 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
Version data entries
4 entries across 4 versions & 1 rubygems