Class: Freightrain::FreightElementView

Inherits:
FreightView show all
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

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

extended, #signal

Methods included from BindingHost

#bindings, #commit, #data_source=, #load_bindings_from_file, #update

Methods included from InterfaceBuilder

#load_from_file

Constructor Details

#initializeFreightElementView

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_optionsObject



8
9
10
# File 'lib/freightrain/elements/freight_element_view.rb', line 8

def self.container_options
  return { :model => :prototype }
end