Class: ODDB::View::Substances::ResultList

Inherits:
FormList
  • Object
show all
Defined in:
src/view/substances/resultlist.rb

Constant Summary

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) name(model, session)



46
47
48
49
# File 'src/view/substances/resultlist.rb', line 46

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