Class NewEmfModelWizardPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.epsilon.emf.dt.NewEmfModelWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

public class NewEmfModelWizardPage extends org.eclipse.jface.wizard.WizardPage
The "New" wizard page allows setting the container for the new file as well as the file name. The page will only accept file name without the extension OR with the extension that matches the expected one (ecore).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.eclipse.swt.widgets.Button
     
    protected org.eclipse.swt.widgets.Text
     
    protected org.eclipse.swt.widgets.Text
     
    protected String
     
    protected org.eclipse.swt.widgets.Text
     
    protected String
     
    protected String
     
    protected String
     
    protected org.eclipse.swt.widgets.Combo
     
    protected org.eclipse.swt.widgets.Text
     
    protected org.eclipse.jface.viewers.ISelection
     

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

    ERROR, INFORMATION, NONE, WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
    NewEmfModelWizardPage(org.eclipse.jface.viewers.ISelection selection, String metamodelUri, String rootClass, String modelType, String modelExtension)
    Constructor for SampleNewWizardPage.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createControl(org.eclipse.swt.widgets.Composite parent)
     
     
     
     
     

    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, setVisible

    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, setVisible

    Methods inherited from interface org.eclipse.jface.wizard.IWizardPage

    getMinimumPageSize
  • Field Details

    • containerText

      protected org.eclipse.swt.widgets.Text containerText
    • fileText

      protected org.eclipse.swt.widgets.Text fileText
    • selection

      protected org.eclipse.jface.viewers.ISelection selection
    • rootClassText

      protected org.eclipse.swt.widgets.Text rootClassText
    • metamodelUriText

      protected org.eclipse.swt.widgets.Text metamodelUriText
    • browseMetamodelUriButton

      protected org.eclipse.swt.widgets.Button browseMetamodelUriButton
    • rootClassCombo

      protected org.eclipse.swt.widgets.Combo rootClassCombo
    • metamodelUri

      protected String metamodelUri
    • rootClass

      protected String rootClass
    • modelType

      protected String modelType
    • modelExtension

      protected String modelExtension
  • Constructor Details

    • NewEmfModelWizardPage

      public NewEmfModelWizardPage(org.eclipse.jface.viewers.ISelection selection, String metamodelUri, String rootClass, String modelType, String modelExtension)
      Constructor for SampleNewWizardPage.
      Parameters:
      pageName -
  • Method Details

    • createControl

      public void createControl(org.eclipse.swt.widgets.Composite parent)
      See Also:
      • IDialogPage.createControl(Composite)
    • getContainerName

      public String getContainerName()
    • getFileName

      public String getFileName()
    • getRootClass

      public String getRootClass()
    • getMetaModelUri

      public String getMetaModelUri()