Class SelectLocationPage

  • All Implemented Interfaces:
    org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

    public class SelectLocationPage
    extends org.eclipse.jface.wizard.WizardPage
    A page for a single generated file which's main purpose is to select a location for the file.
    Author:
    Stefan Dirix
    • Field Summary

      • Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

        ERROR, INFORMATION, NONE, WARNING
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createControl​(org.eclipse.swt.widgets.Composite parent)  
      org.eclipse.core.databinding.DataBindingContext getBindingContext()
      Returns the bindingContext of this page.
      GenerationInfo getGenerationInfo()
      Returns the linked GenerationInfo.
      protected org.eclipse.core.databinding.DataBindingContext initDataBindings()
      Creates and initializes the used data bindings.
      protected void setTitleAndDescription()
      Sets title and description of this page according to the GenerationInfo.
      void setVisible​(boolean visible)
      boolean wasAlreadyVisible()
      Indicates if this page was already shown to the user.
      • Methods inherited from class org.eclipse.jface.wizard.WizardPage

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

        convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, setMessage
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage

        dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
    • Constructor Detail

      • SelectLocationPage

        public SelectLocationPage​(GenerationInfo generationInfo)
        Constructor.
        Parameters:
        generationInfo - The GenerationInfo for which this page is responsible.
    • Method Detail

      • setTitleAndDescription

        protected void setTitleAndDescription()
        Sets title and description of this page according to the GenerationInfo.
      • getBindingContext

        public org.eclipse.core.databinding.DataBindingContext getBindingContext()
        Returns the bindingContext of this page.
        Returns:
        The DataBindingContext.
      • createControl

        public void createControl​(org.eclipse.swt.widgets.Composite parent)
      • setVisible

        public void setVisible​(boolean visible)
        Specified by:
        setVisible in interface org.eclipse.jface.dialogs.IDialogPage
        Overrides:
        setVisible in class org.eclipse.jface.dialogs.DialogPage
        See Also:
        DialogPage.setVisible(boolean)
      • wasAlreadyVisible

        public boolean wasAlreadyVisible()
        Indicates if this page was already shown to the user.
        Returns:
        true if this page was already shown to the user, false if this page was never shown to the user.
      • initDataBindings

        protected org.eclipse.core.databinding.DataBindingContext initDataBindings()
        Creates and initializes the used data bindings.
        Returns:
        The initialized DataBindingContext.