Sha256: 6422f4ad586abdb82495f2656393a99f473b8c60fda51bad791782f70ceda06a
Contents?: true
Size: 762 Bytes
Versions: 3
Compression:
Stored size: 762 Bytes
Contents
require File.dirname(__FILE__) + "/../../command_handler" require File.dirname(__FILE__) + "/../g_widget" require File.dirname(__FILE__) + "/../g_layout_data" module Glimmer module SWT module CommandHandlers class LayoutDataCommandHandler include CommandHandler include_package 'org.eclipse.swt.widgets' include_package 'org.eclipse.swt.layout' def can_handle?(parent, command_symbol, *args, &block) parent.is_a?(GWidget) and command_symbol.to_s == 'layout_data' end def do_handle(parent, command_symbol, *args, &block) Glimmer.logger.debug "Layout Data args are: #{args.inspect}" GLayoutData.new(parent.widget, args) end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems