Class: ODDB::View::Analysis::GroupComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/analysis/group.rb

Constant Summary

CSS_CLASS =
'composite'
COMPONENTS =
{
  [0,0]   => GroupHeader,
  [0,1]   => :positionlist,
}
CSS_MAP =
{
  [0,0]   => 'th',
}
LABELS =
true
DEFAULT_CLASS =
HtmlGrid::Value
LEGACY_INTERFACE =
false

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) positionlist(model)



59
60
61
62
63
64
# File 'src/view/analysis/group.rb', line 59

def positionlist(model)
  pos = model.positions.values
  if(!pos.empty?)
    PositionList.new(pos, @session, self)
  end
end