Sha256: da940f964989caab27f997028c668bf8be3f1147cad1daa76cd3de925137dea6
Contents?: true
Size: 731 Bytes
Versions: 4
Compression:
Stored size: 731 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 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
Version data entries
4 entries across 4 versions & 1 rubygems