Class: Freightrain::FreightElementView
- Inherits:
-
FreightView
- Object
- FreightView
- Freightrain::FreightElementView
- Extended by:
- ContainerHookable
- Defined in:
- lib/freightrain/elements/freight_element_view.rb
Overview
TODO: make this an extension or even remove it
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ FreightElementView
constructor
A new instance of FreightElementView.
Methods included from ContainerHookable
classes, container_options, extended, inherited, subclasses
Methods inherited from FreightView
#builder, builder, #control, #get_all_callbacks, #hook_to_layout_widgets, #toplevel, #update, #widgets
Methods included from SignalHost
Methods included from BindingHost
#bindings, #commit, #data_source=, #load_bindings_from_file, #update
Methods included from InterfaceBuilder
Constructor Details
#initialize ⇒ FreightElementView
Returns a new instance of FreightElementView.
12 13 14 15 |
# File 'lib/freightrain/elements/freight_element_view.rb', line 12 def initialize super @signals[:selected] = FreightSignal.new end |
Class Method Details
.container_options ⇒ Object
8 9 10 |
# File 'lib/freightrain/elements/freight_element_view.rb', line 8 def self. return { :model => :prototype } end |