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

public class ImportWizard extends ARXWizard<ImportConfiguration>
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

    Konstruktoren
    Konstruktor
    Beschreibung
    ImportWizard(Controller controller, Model model)
    Creates a new data import wizard and sets the window title.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Adds all of the available pages to the wizard.
    boolean
    Determines when the wizard should be finishable The wizard can only be finished on the preview page.
    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.
    Returns a reference to DataSourceConfiguration The wizard will built an appropriate ImportConfiguration object once it is about to finish performFinish().
    boolean
    Cancel pressed.
    boolean
    Gets executed once the wizard is about to finish This will build an appropriate ImportConfiguration object, depending upon the source type and 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, setButtons

    Von 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, setWindowTitle

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Von 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

      public ImportWizard(Controller controller, Model model)
      Creates a new data import wizard and sets the window title.
      Parameter:
      controller - Reference to controller
      model - Reference to model
  • Methodendetails

    • addPages

      public void addPages()
      Adds all of the available pages to the wizard.
      Angegeben von:
      addPages in Schnittstelle org.eclipse.jface.wizard.IWizard
      Setzt außer Kraft:
      addPages in Klasse org.eclipse.jface.wizard.Wizard
    • canFinish

      public boolean canFinish()
      Determines when the wizard should be finishable The wizard can only be finished on the preview page. This makes sure that the user is signs off on the settings previously made.
      Angegeben von:
      canFinish in Schnittstelle org.eclipse.jface.wizard.IWizard
      Setzt außer Kraft:
      canFinish in Klasse org.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 depends currentPage and the selected sourceType.
      Angegeben von:
      getNextPage in Schnittstelle org.eclipse.jface.wizard.IWizard
      Setzt außer Kraft:
      getNextPage in Klasse org.eclipse.jface.wizard.Wizard
      Parameter:
      currentPage - The page that is currently being shown
      Gibt zurück:
      The page that will be shown next
    • getResult

      public ImportConfiguration getResult()
      Returns a reference to DataSourceConfiguration The wizard will built an appropriate ImportConfiguration object once it is about to finish performFinish(). This object can then be retrieved using this method.
      Angegeben von:
      getResult in Klasse ARXWizard<ImportConfiguration>
      Gibt zurück:
      configuration The resulting data source configuration
    • performCancel

      public boolean performCancel()
      Cancel pressed.
      Angegeben von:
      performCancel in Schnittstelle org.eclipse.jface.wizard.IWizard
      Setzt außer Kraft:
      performCancel in Klasse org.eclipse.jface.wizard.Wizard
      Gibt zurück:
    • performFinish

      public boolean performFinish()
      Gets executed once the wizard is about to finish This will build an appropriate ImportConfiguration object, depending upon the source type and the choices the user made during the process of the wizard. configuration will hold a reference of the object. This can be retrieved later on by
      Ungültige Referenz
      #getResultingConfiguration()
      .
      Angegeben von:
      performFinish in Schnittstelle org.eclipse.jface.wizard.IWizard
      Setzt außer Kraft:
      performFinish in Klasse ARXWizard<ImportConfiguration>
      Gibt zurück: