net.sourceforge.squirrel_sql.plugins.postgres.commands
Class AbstractPostgresDialogCommand.ExecuteListener

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.postgres.commands.AbstractPostgresDialogCommand.ExecuteListener
All Implemented Interfaces:
ActionListener, EventListener, SQLResultListener
Enclosing class:
AbstractPostgresDialogCommand

protected class AbstractPostgresDialogCommand.ExecuteListener
extends Object
implements ActionListener, SQLResultListener

An ActionListener for the Execute button that delegates the execution of the sql statement to the subclass. The actual execution is specified in the subclass's implementation of the executeScript method.


Constructor Summary
protected AbstractPostgresDialogCommand.ExecuteListener()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void finished(String[] stmts)
          This is called to let the listener know when the SQL result is ready.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPostgresDialogCommand.ExecuteListener

protected AbstractPostgresDialogCommand.ExecuteListener()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

finished

public void finished(String[] stmts)
Description copied from interface: SQLResultListener
This is called to let the listener know when the SQL result is ready.

Specified by:
finished in interface SQLResultListener
Parameters:
stmts - the SQL statements that resulted from a request.


Copyright © 2001-2010. All Rights Reserved.