Class: ODDB::View::Analysis::PositionComposite

Inherits:
HtmlGrid::Composite show all
Includes:
ResultFootBuilder
Defined in:
src/view/analysis/position.rb

Constant Summary

CSS_CLASS =
'composite'
EXPLAIN_RESULT =
View::Analysis::ExplainResult
COMPONENTS =
{
  [0,0]   => 'position_details',
  [0,1]   => PositionInnerComposite,
  [0,2]   => :permissions,
  [0,3]   => :additional_info,
  [0,4]   => :result_foot,
}
CSS_MAP =
{
  [0,0]   => 'th',
  [0,1]   => 'list',
}
DEFAULT_CLASS =
HtmlGrid::Value
LEGACY_INTERFACE =
false

Constants included from ResultFootBuilder

EXPLAIN_RESULT

Instance Method Summary (collapse)

Methods included from ResultFootBuilder

#result_foot

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) additional_info(model)



176
177
178
179
180
# File 'src/view/analysis/position.rb', line 176

def additional_info(model)
  if(info = model.detail_info(:dacapo))
    AdditionalInfoComposite.new(info, @session, self)
  end
end

- (Object) permissions(model)



181
182
183
# File 'src/view/analysis/position.rb', line 181

def permissions(model)
  Permissions.new(model.permissions.send(@session.language), @session, self)
end