net.sourceforge.squirrel_sql.plugins.postgres.commands
Interface SQLResultListener

All Known Implementing Classes:
AbstractPostgresDialogCommand.EditSQLListener, AbstractPostgresDialogCommand.ExecuteListener, AbstractPostgresDialogCommand.ShowSQLListener

public interface SQLResultListener

This should be implemented by UI components that need to display/run SQL that could potentially take a long time to build. The caller can then return immediately to allow the UI to remain responsive, while an app thread builds the SQL. Finally, the method implementation will be called when the SQL result is built.


Method Summary
 void finished(String[] sql)
          This is called to let the listener know when the SQL result is ready.
 

Method Detail

finished

void finished(String[] sql)
This is called to let the listener know when the SQL result is ready.

Parameters:
sql - the SQL statements that resulted from a request.


Copyright © 2001-2010. All Rights Reserved.