Class: ODDB::View::Substances::List

Inherits:
FormList show all
Includes:
AlphaHeader
Defined in:
src/view/substances/substances.rb

Constant Summary

COMPONENTS =
{
  [0,0] =>  :name,
  [1,0] =>  :effective_form,
  [0,1] =>  " ",
  [1,1] =>  " ",
  [2,0] =>  :de,
  [3,0] =>  :fr,
  [2,1] =>  :en,
  [3,1] =>  :lt,
}
DEFAULT_CLASS =
HtmlGrid::Value
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0,4,2] =>  'list',
}
CSS_HEAD_MAP =
{
  [0,0,4,2] =>  'th',
}
LOOKANDFEEL_MAP =
{
  :name =>  :default_name,
  :en   => :en_description,
  :lt   => :lt_description,
  :de   => :de_description,
  :fr   => :fr_description,
}
OFFSET_STEP =
[0,2]
SORT_DEFAULT =
:name
SORT_REVERSE =
false
EVENT =
:new_substance

Constants included from AlphaHeader

EMPTY_LIST_KEY

Instance Method Summary (collapse)

Methods included from AlphaHeader

#compose_header

Instance Method Details

- (Object) name(model, session)



48
49
50
51
# File 'src/view/substances/substances.rb', line 48

def name(model, session)
  link = View::PointerLink.new(:name, model, session, self)
  link
end