require 'glimmer/dsl/static_expression' require 'glimmer/dsl/parent_expression' require 'glimmer/dsl/top_level_expression' require 'glimmer/swt/shell_proxy' module Glimmer module DSL module SWT class ShellExpression < StaticExpression include TopLevelExpression include ParentExpression def interpret(parent, keyword, *args, &block) args = [parent] + args unless parent.nil? Glimmer::SWT::ShellProxy.send(:new, *args) end end end end end