Class: ODDB::View::Admin::ActiveAgentComposite

Inherits:
HtmlGrid::Composite show all
Defined in:
src/view/admin/activeagent.rb

Direct Known Subclasses

RootActiveAgentComposite

Constant Summary

COMPONENTS =
{
  [0,0] =>  :agent_name,
  [0,1] =>  View::Admin::ActiveAgentInnerComposite,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] =>  'th',
}

Instance Method Summary (collapse)

Methods inherited from HtmlGrid::Composite

event_link, #hash_insert_col, #hash_insert_row

Instance Method Details

- (Object) agent_name(model, session)



71
72
73
74
# File 'src/view/admin/activeagent.rb', line 71

def agent_name(model, session)
  sequence = model.parent(session.app)
  [sequence.name, model.pointer_descr].compact.join(' - ')  
end