Class: ODDB::View::Drugs::SequencesComposite

Inherits:
HtmlGrid::Composite show all
Includes:
ResultFootBuilder
Defined in:
src/view/drugs/sequences.rb

Constant Summary

COMPONENTS =
{
  [0,0] => :title_sequences,
  [1,0]   => SearchForm,
  [0,1] => View::Drugs::SequenceList,
  [0,2] => :result_foot,
}
CSS_CLASS =
'composite'
CSS_MAP =
{
  [0,0] =>  'result-found list',
  [1,0] =>  'right',
}
COLSPAN_MAP =
{
  [0,1] => 2,
  [0,2] => 2,
}
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) title_sequences(model)



111
112
113
114
115
116
# File 'src/view/drugs/sequences.rb', line 111

def title_sequences(model)
  unless(model.empty?)
    @lookandfeel.lookup(:title_sequences, 
      @session.state.interval, @session.state.model.size)
  end
end