public class ImportWizardPagePreview
extends org.eclipse.jface.wizard.WizardPage
ImportWizardModelColumn.isEnabled()
. The datatype of each column will
be shown additionally as a tooltip.Constructor and Description |
---|
ImportWizardPagePreview(ImportWizard wizardImport)
Creates a new instance of this page and sets its title and description.
|
Modifier and Type | Method and Description |
---|---|
void |
createControl(org.eclipse.swt.widgets.Composite parent)
Creates the design of this page
The page is set to incomplete at this point and will be marked as
complete, once the appropriate table has been rendered.
|
void |
setVisible(boolean visible)
Adds input to table once page gets visible to the user
This retrieves the preview data
ImportWizardModel.getPreviewData() and applies it to the given tableViewer . |
canFlipToNextPage, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
dispose, getControl, getDescription, getErrorMessage, getMessage, getMessageType, getTitle, performHelp, setMessage
public ImportWizardPagePreview(ImportWizard wizardImport)
wizardImport
- Reference to wizard containing this pagepublic void createControl(org.eclipse.swt.widgets.Composite parent)
setVisible(boolean)
for details.parent
- public void setVisible(boolean visible)
ImportWizardModel.getPreviewData()
and applies it to the given tableViewer
. Only columns that have been enabled will be shown.
New names and reordering is also considered.setVisible
in interface org.eclipse.jface.dialogs.IDialogPage
setVisible
in class org.eclipse.jface.dialogs.DialogPage
visible
-