apollo.dataadapter.ensj.controller
Class ShowDitagFeatureCountsByTypeHandler

java.lang.Object
  extended by apollo.dataadapter.ensj.controller.EventHandler
      extended by apollo.dataadapter.ensj.controller.ShowDitagFeatureCountsByTypeHandler

public class ShowDitagFeatureCountsByTypeHandler
extends EventHandler

Check to see if our dna-protein align counts have already been initialised. If not, run sql to get them. Populate the table of protein-align types, counts (by type) and set the 'dna-protein align counts by type initialised' flag to true. Tell the gui to display that types list.


Field Summary
 
Fields inherited from class apollo.dataadapter.ensj.controller.EventHandler
NULL_VERSION
 
Constructor Summary
ShowDitagFeatureCountsByTypeHandler(Controller controller, java.lang.String key)
           
 
Method Summary
 void doAction(Model model)
           
 java.util.HashMap getCountsByType(Model model)
           
 
Methods inherited from class apollo.dataadapter.ensj.controller.EventHandler
closeConnection, doRead, doUpdate, findCoordinateSystems, findCoordSystemForNamedSeqRegion, findSeqRegions, getConnectionForModel, getController, getCountForQuery, getKey, getRowCountForTable, isNull, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowDitagFeatureCountsByTypeHandler

public ShowDitagFeatureCountsByTypeHandler(Controller controller,
                                           java.lang.String key)
Method Detail

doAction

public void doAction(Model model)
Specified by:
doAction in class EventHandler

getCountsByType

public java.util.HashMap getCountsByType(Model model)