Class SelectEcorePage

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

    public class SelectEcorePage
    extends org.eclipse.jface.wizard.WizardPage
    Wizard page for selecting an Ecore.
    • Field Summary

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

        ERROR, INFORMATION, NONE, WARNING
    • Constructor Summary

      Constructors 
      Constructor Description
      SelectEcorePage​(java.lang.String pageName)
      Creates a new Ecore selection wizard page.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createControl​(org.eclipse.swt.widgets.Composite parent)  
      java.lang.Object getSelectedContainer()  
      java.lang.String getText1()
      Returns the path of the selected Ecore as specified in the text field of the page.
      void setSelectedContainer​(java.lang.Object object)
      Sets the selected Ecore container.
      void setVisible​(boolean visible)
      • 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

      • SelectEcorePage

        public SelectEcorePage​(java.lang.String pageName)
        Creates a new Ecore selection wizard page.
        Parameters:
        pageName - the name of the page
    • Method Detail

      • createControl

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

        public java.lang.String getText1()
        Returns the path of the selected Ecore as specified in the text field of the page.
        Returns:
        the path as a String
      • 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)
      • setSelectedContainer

        public void setSelectedContainer​(java.lang.Object object)
        Sets the selected Ecore container.
        Parameters:
        object - the container
      • getSelectedContainer

        public java.lang.Object getSelectedContainer()
        Returns:
        the container of the EClass. It can either be an IFile or an EPackage.