Fixed #1721079 - Can not set breakpoint in different files on the same line
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.sql / src / net / sourceforge / phpdt / sql / wizards / SQLRowWizard.java
1 package net.sourceforge.phpdt.sql.wizards;
2
3 import org.eclipse.jface.wizard.Wizard;
4
5 import net.sourceforge.phpdt.sql.sql.TableRow;
6 import net.sourceforge.phpdt.sql.view.tableview.TableAdapter;
7
8 public class SQLRowWizard extends Wizard {
9         SQLPage page;
10         TableRow row;
11         TableAdapter adapter;
12         public void init(String title, SQLPage page, TableRow row, TableAdapter adapter) {
13                 System.out.println("Init SQL row wizard"); //$NON-NLS-1$
14                 this.row = row;
15                 this.adapter = adapter;
16                 this.page = page;
17                 setWindowTitle(title);
18         }
19         public boolean performFinish() {
20                 System.out.println("Perform SQL row wizard finish"); //$NON-NLS-1$
21                 return page.performFinish();
22         }
23         public void addPages() {
24                 System.out.println("SQL row wizard adding pages"); //$NON-NLS-1$
25                 page.init(row, adapter);
26                 addPage(page);
27         }
28 }