package com.quantum.wizards;
import java.sql.SQLException;
-import java.util.Arrays;
import com.quantum.adapters.DatabaseAdapter;
import com.quantum.model.Bookmark;
import com.quantum.util.connection.ConnectionUtil;
import org.eclipse.jface.wizard.WizardPage;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.swt.widgets.TableColumn;
/**
* @author BC Holmes
- * @author Sirkware
*/
public abstract class BaseSQLPage extends WizardPage implements SQLPage {
this.results = results;
this.row = row;
}
-
- /**
- * @param table
- * @param colName
- * @param style
- * @param pos
- * @param width
- */
- protected void createTableColumn(Table table, String colName, int style, int pos, int width) {
- TableColumn column = new TableColumn(table, style, pos);
- column.setText(colName);
- column.setWidth(width);
- }
-
- /**
- * @param columnNames
- * @return
- */
- protected java.util.List getColumnNamesAsList(String[] columnNames) {
- return Arrays.asList(columnNames);
- }
}