Sha256: e58f1f8cec763e3dcd0ca2a331651f17e6837a0f7da4e63c70dcc6dd0be366d0
Contents?: true
Size: 847 Bytes
Versions: 3
Compression:
Stored size: 847 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 tree properties for use in TreeItemsDataBindingCommandHandler class TreePropertiesDataBindingCommandHandler 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?(Tree) and command_symbol.to_s == "tree_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