Module: Glimmer::Swing::Packages

Included in:
ComponentProxy, ComponentProxy, ShapeProxy
Defined in:
lib/glimmer/swing/packages.rb

Overview

This contains Java imports of SWT Java packages

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



29
30
31
32
33
# File 'lib/glimmer/swing/packages.rb', line 29

def included(klass)
  Glimmer::Config.import_java_packages.to_a.each do |package|
    include_package(package) if package.is_a?(String)
  end
end