Class: Glimmer::SWT::SWTProxy

Inherits:
Object
  • Object
show all
Includes:
StyleConstantizable
Defined in:
lib/glimmer/swt/swt_proxy.rb

Overview

Proxy for org.eclipse.swt.SWT

Follows the Proxy Design Pattern

Constant Summary collapse

EXTRA_STYLES =
{
  NO_RESIZE: self[:shell_trim, :resize!, :max!],
  NO_SORT: -7,
}

Class Method Summary collapse

Methods included from StyleConstantizable

included

Class Method Details

.constant_source_classObject



34
35
36
# File 'lib/glimmer/swt/swt_proxy.rb', line 34

def constant_source_class
  SWT
end

.constant_value_noneObject



38
39
40
# File 'lib/glimmer/swt/swt_proxy.rb', line 38

def constant_value_none
  SWT::NONE
end

.extra_stylesObject



42
43
44
# File 'lib/glimmer/swt/swt_proxy.rb', line 42

def extra_styles
  EXTRA_STYLES
end