Class DtAefNewWizardPage<T extends IModel,​M extends org.eclipse.emf.ecore.EObject>

  • Type Parameters:
    M - the type of the domain model
    T - the type of the AEF model
    All Implemented Interfaces:
    IDtNewWizardPage<M>, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

    public abstract class DtAefNewWizardPage<T extends IModel,​M extends org.eclipse.emf.ecore.EObject>
    extends DtNewWizardPage<M>
    Base class for wizard pages that is constructed using AEF.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected NewWizardPageComponent<T> component
      Page component
      • Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

        ERROR, INFORMATION, NONE, WARNING
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void apply()
      Applies page changes to the context, called every time when the page is about to become hidden.
      void createPageControls​(org.eclipse.swt.widgets.Composite container)
      Creates page controls, called before the #initialize().
      void dispose()
      protected String getHelpContextId()
      Returns help context id to bind help to.
      DtAefNewWizard<?> getWizard()  
      protected abstract void initializeComponentModel​(NewWizardPageComponent<T> component)
      Initializes component with the model.
      void refresh()
      Refreshes the page, called every time when the page is about to become visible.
      • Methods inherited from class org.eclipse.jface.wizard.WizardPage

        canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
      • Methods inherited from class org.eclipse.jface.dialogs.DialogPage

        convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage, setVisible
      • Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage

        getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible
      • Methods inherited from interface org.eclipse.jface.wizard.IWizardPage

        canFlipToNextPage, getName, getNextPage, getPreviousPage, isPageComplete, setPreviousPage, setWizard
    • Constructor Detail

      • DtAefNewWizardPage

        public DtAefNewWizardPage​(NewWizardPageComponent<T> component)
        Creates a new wizard page.
        Parameters:
        component - the page component, cannot be null
    • Method Detail

      • getWizard

        public DtAefNewWizard<?> getWizard()
        Specified by:
        getWizard in interface org.eclipse.jface.wizard.IWizardPage
        Overrides:
        getWizard in class org.eclipse.jface.wizard.WizardPage
      • createPageControls

        public void createPageControls​(org.eclipse.swt.widgets.Composite container)
        Description copied from interface: IDtNewWizardPage
        Creates page controls, called before the #initialize().
        Parameters:
        container - the container to host controls, cannot null
      • dispose

        public void dispose()
        Description copied from class: DtNewWizardPage
        Specified by:
        dispose in interface org.eclipse.jface.dialogs.IDialogPage
        Overrides:
        dispose in class DtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
      • apply

        public void apply()
        Description copied from class: DtNewWizardPage
        Applies page changes to the context, called every time when the page is about to become hidden.
        Specified by:
        apply in interface IDtNewWizardPage<T extends IModel>
        Overrides:
        apply in class DtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
      • getHelpContextId

        protected String getHelpContextId()
        Description copied from class: DtNewWizardPage
        Returns help context id to bind help to.
        Overrides:
        getHelpContextId in class DtNewWizardPage<M extends org.eclipse.emf.ecore.EObject>
        Returns:
        help context id or null if no help is needed
      • initializeComponentModel

        protected abstract void initializeComponentModel​(NewWizardPageComponent<T> component)
        Initializes component with the model.
        Parameters:
        component - the component.