Author: [EMAIL PROTECTED]
Date: Thu Oct  9 07:25:24 2008
New Revision: 2762

Removed:
   trunk/src/ca/sqlpower/architect/swingui/query/ExecuteActionListener.java
Modified:
   trunk/src/ca/sqlpower/architect/swingui/query/SQLQueryUIComponents.java

Log:
The executeAction Listener is no longer required since the output components are now part of the SQLQueryUIComponents and can be accessed through getter methods.

-The interface of executeActionListener will also be removed.

Modified: trunk/src/ca/sqlpower/architect/swingui/query/SQLQueryUIComponents.java
==============================================================================
--- trunk/src/ca/sqlpower/architect/swingui/query/SQLQueryUIComponents.java (original) +++ trunk/src/ca/sqlpower/architect/swingui/query/SQLQueryUIComponents.java Thu Oct 9 07:25:24 2008
@@ -395,13 +395,8 @@

     private JTabbedPane tableTabPane;
     private JTextArea logTextArea;
-
-    /**
- * Listeners that will have it's sqlQueryExecuted method called when a successful
-     * query is run.
-     */
-    private List<ExecuteActionListener> executeListeners;
-
+
+
     private final ArchitectSwingSession session;

     /**
@@ -606,7 +601,6 @@


rowLimitSpinner = new JSpinner(new SpinnerNumberModel(1000, 0, Integer.MAX_VALUE, 1));
-        executeListeners = new ArrayList<ExecuteActionListener>();
         queryArea = new JTextArea();
         undoManager = new UndoManager();
queryArea.getDocument().addUndoableEditListener(new UndoableEditListener() {
@@ -714,13 +708,6 @@

     }

-    public void addExecuteAction(ExecuteActionListener l) {
-        executeListeners.add(l);
-    }
-
-    public void removeExecuteAction(ExecuteActionListener l) {
-        executeListeners.remove(l);
-    }

     /**
* If the connection to the database currently selected in the combo box is not in

Reply via email to