Klasse ImportWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.deidentifier.arx.gui.view.impl.wizard.ARXWizard<ImportConfiguration>
org.deidentifier.arx.gui.view.impl.wizard.ImportWizard
- Alle implementierten Schnittstellen:
org.eclipse.jface.window.IShellProvider,org.eclipse.jface.wizard.IWizard
Wizard guiding the user through the process of importing data
The user is taken through the process of importing data into the GUI step by
step. All necessary information is asked for (e.g. source type, appropriate
details for each source, etc.), too.
Refer to
ImportWizardPageSource for details about which source types
are supported and to the appropriate page(s) itself for more details about a
specific source type.-
Feldübersicht
Von Klasse geerbte Felder org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungImportWizard(Controller controller, Model model) Creates a new data import wizard and sets the window title. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddPages()Adds all of the available pages to the wizard.booleanDetermines when the wizard should be finishable The wizard can only be finished on thepreview page.org.eclipse.jface.wizard.IWizardPagegetNextPage(org.eclipse.jface.wizard.IWizardPage currentPage) Handles the correct ordering of wizard pages This method makes sure that the correct page is shown once the user hits the "next" button.Returns a reference to DataSourceConfiguration The wizard will built an appropriateImportConfigurationobject once it is about to finishperformFinish().booleanCancel pressed.booleanGets executed once the wizard is about to finish This will build an appropriateImportConfigurationobject, depending upon thesource typeand the choices the user made during the process of the wizard.Von Klasse geerbte Methoden org.deidentifier.arx.gui.view.impl.wizard.ARXWizard
getButton, getDialog, open, setButtonsVon Klasse geerbte Methoden org.eclipse.jface.wizard.Wizard
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.eclipse.jface.wizard.IWizard
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, setContainer
-
Konstruktordetails
-
ImportWizard
Creates a new data import wizard and sets the window title.- Parameter:
controller- Reference to controllermodel- Reference to model
-
-
Methodendetails
-
addPages
public void addPages()Adds all of the available pages to the wizard.- Angegeben von:
addPagesin Schnittstelleorg.eclipse.jface.wizard.IWizard- Setzt außer Kraft:
addPagesin Klasseorg.eclipse.jface.wizard.Wizard
-
canFinish
public boolean canFinish()Determines when the wizard should be finishable The wizard can only be finished on thepreview page. This makes sure that the user is signs off on the settings previously made.- Angegeben von:
canFinishin Schnittstelleorg.eclipse.jface.wizard.IWizard- Setzt außer Kraft:
canFinishin Klasseorg.eclipse.jface.wizard.Wizard- Gibt zurück:
-
getNextPage
public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage currentPage) Handles the correct ordering of wizard pages This method makes sure that the correct page is shown once the user hits the "next" button. The page flow dependscurrentPageand the selectedsourceType.- Angegeben von:
getNextPagein Schnittstelleorg.eclipse.jface.wizard.IWizard- Setzt außer Kraft:
getNextPagein Klasseorg.eclipse.jface.wizard.Wizard- Parameter:
currentPage- The page that is currently being shown- Gibt zurück:
- The page that will be shown next
-
getResult
Returns a reference to DataSourceConfiguration The wizard will built an appropriateImportConfigurationobject once it is about to finishperformFinish(). This object can then be retrieved using this method.- Angegeben von:
getResultin KlasseARXWizard<ImportConfiguration>- Gibt zurück:
configurationThe resulting data source configuration
-
performCancel
public boolean performCancel()Cancel pressed.- Angegeben von:
performCancelin Schnittstelleorg.eclipse.jface.wizard.IWizard- Setzt außer Kraft:
performCancelin Klasseorg.eclipse.jface.wizard.Wizard- Gibt zurück:
-
performFinish
public boolean performFinish()Gets executed once the wizard is about to finish This will build an appropriateImportConfigurationobject, depending upon thesource typeand the choices the user made during the process of the wizard.configurationwill hold a reference of the object. This can be retrieved later on by.Ungültige Referenz
#getResultingConfiguration()- Angegeben von:
performFinishin Schnittstelleorg.eclipse.jface.wizard.IWizard- Setzt außer Kraft:
performFinishin KlasseARXWizard<ImportConfiguration>- Gibt zurück:
-