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() {
}
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);
}
}