fixed Bug 1024299
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / wizards / SQLRowWizard.java
index bc37001..aa317c4 100644 (file)
@@ -1,19 +1,20 @@
 package com.quantum.wizards;
 
-import com.quantum.sql.TableRow;
-import com.quantum.view.tableview.TableAdapter;
+import com.quantum.sql.SQLResultSetResults;
 
 import org.eclipse.jface.wizard.Wizard;
 
 public class SQLRowWizard extends Wizard {
-       SQLPage page;
-       TableRow row;
-       TableAdapter adapter;
-       public void init(String title, SQLPage page, TableRow row, TableAdapter adapter) {
+       protected SQLPage page;
+       protected SQLResultSetResults.Row row;
+       private SQLResultSetResults results;
+       
+       public void init(String title, SQLPage page, 
+                       SQLResultSetResults results, SQLResultSetResults.Row row) {
                System.out.println("Init SQL row wizard"); //$NON-NLS-1$
                this.row = row;
-               this.adapter = adapter;
                this.page = page;
+               this.results = results;
                setWindowTitle(title);
        }
        public boolean performFinish() {
@@ -22,7 +23,7 @@ public class SQLRowWizard extends Wizard {
        }
        public void addPages() {
                System.out.println("QL row wizard adding pages"); //$NON-NLS-1$
-               page.init(row, adapter);
+               page.init(this.results, this.row);
                addPage(page);
        }
 }