apollo.dataadapter.ensj19
Class CompositeDataSourceConfigurationPanel.DatabaseFindListener

java.lang.Object
  extended by apollo.dataadapter.ensj19.CompositeDataSourceConfigurationPanel.DatabaseFindListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
CompositeDataSourceConfigurationPanel

public class CompositeDataSourceConfigurationPanel.DatabaseFindListener
extends java.lang.Object
implements java.awt.event.ActionListener

When the user hits "find" on the _default_ data config panel, we need to find all core ensembl databases, as well as variations. We then need to set the dbs we found into the models on the dropdowns in their respective panels, as efficiently as possible...note that I make direct mysql-specific access here. A better design (delegating all this to the adapters) is welcome. This listener does all that.


Constructor Summary
CompositeDataSourceConfigurationPanel.DatabaseFindListener()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDataSourceConfigurationPanel.DatabaseFindListener

public CompositeDataSourceConfigurationPanel.DatabaseFindListener()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener