apollo.dataadapter.ensj.controller
Class ChangeDatabaseHandler

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

public class ChangeDatabaseHandler
extends EventHandler

The user has typed into the host, port etc database fields, so we clear off the ensembl-db list selected ensembl-db. This also means that the list of seq regions and coord systems has to be cleared.


Field Summary
 
Fields inherited from class apollo.dataadapter.ensj.controller.EventHandler
NULL_VERSION
 
Constructor Summary
ChangeDatabaseHandler(Controller controller, java.lang.String key)
           
 
Method Summary
 void doAction(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

ChangeDatabaseHandler

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

doAction

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