package net.sourceforge.phpdt.sql.wizards; import org.eclipse.jface.wizard.Wizard; import net.sourceforge.phpdt.sql.sql.TableRow; import net.sourceforge.phpdt.sql.view.tableview.TableAdapter; public class SQLRowWizard extends Wizard { SQLPage page; TableRow row; TableAdapter adapter; public void init(String title, SQLPage page, TableRow row, TableAdapter adapter) { System.out.println("Init SQL row wizard"); //$NON-NLS-1$ this.row = row; this.adapter = adapter; this.page = page; setWindowTitle(title); } public boolean performFinish() { System.out.println("Perform SQL row wizard finish"); //$NON-NLS-1$ return page.performFinish(); } public void addPages() { System.out.println("SQL row wizard adding pages"); //$NON-NLS-1$ page.init(row, adapter); addPage(page); } }