public class ImportWizardPageJDBC
extends org.eclipse.jface.wizard.WizardPage
ImportWizardModel
.
This includes:
Constructor and Description |
---|
ImportWizardPageJDBC(ImportWizard wizardImport)
Creates a new instance of this page and sets its title and description.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
connect()
Connects to the database
This tries to establish an JDBC connection.
|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
Creates the design of this page
This adds all the controls to the page along with their listeners.
|
protected void |
readTables()
Reads in the tables
If successful, the page is marked as complete and a list of tables is
assigned to
ImportWizardModel . |
canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
public ImportWizardPageJDBC(ImportWizard wizardImport)
wizardImport
- Reference to wizard containing this pagepublic void createControl(org.eclipse.swt.widgets.Composite parent)
parent
- protected boolean connect()
ImportWizardModel
. The return value indicates whether a
connection has been established.ImportWizardModel#setJdbcConnection(Connection)}
protected void readTables()
ImportWizardModel
. Otherwise an appropriate error messages
is set.ImportWizardModel#setJdbcTables(List)}