net.sourceforge.squirrel_sql.plugins.refactoring.commands
Class AbstractRefactoringCommand.EditSQLListener
java.lang.Object
net.sourceforge.squirrel_sql.plugins.refactoring.commands.AbstractRefactoringCommand.EditSQLListener
- All Implemented Interfaces:
- ActionListener, EventListener, SQLResultListener
- Enclosing class:
- AbstractRefactoringCommand
protected class AbstractRefactoringCommand.EditSQLListener
- extends Object
- implements ActionListener, SQLResultListener
An ActionListener for the Edit SQL button that appends the sql statement to the sql panel, disposes the
specified dialog and switches to the sql panel.
The specified dialog can be null if no JDialog
needs to be disposed.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractRefactoringCommand.EditSQLListener
public AbstractRefactoringCommand.EditSQLListener(IDisposableDialog parentDialog)
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.