Fixed: 1775382 - Cannot change value in Expressions View
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / wizards / SQLRowWizard.java
1 package com.quantum.wizards;
2
3 import com.quantum.sql.SQLResultSetResults;
4
5 import org.eclipse.jface.wizard.Wizard;
6
7 public class SQLRowWizard extends Wizard {
8         protected SQLPage page;
9         protected SQLResultSetResults.Row row;
10         private SQLResultSetResults results;
11         
12         public void init(String title, SQLPage page, 
13                         SQLResultSetResults results, SQLResultSetResults.Row row) {
14                 System.out.println("Init SQL row wizard"); //$NON-NLS-1$
15                 this.row = row;
16                 this.page = page;
17                 this.results = results;
18                 setWindowTitle(title);
19         }
20         public boolean performFinish() {
21                 System.out.println("Perform SQL row wizard finish"); //$NON-NLS-1$
22                 return page.performFinish();
23         }
24         public void addPages() {
25                 System.out.println("QL row wizard adding pages"); //$NON-NLS-1$
26                 page.init(this.results, this.row);
27                 addPage(page);
28         }
29 }