Class NewFileWizardPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
org.eclipse.epsilon.common.dt.wizards.NewFileWizardPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage
Direct Known Subclasses:
NewHutnFileWizardPage

public class NewFileWizardPage 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 (eol).
  • Field Summary

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

    ERROR, INFORMATION, NONE, WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createControl(org.eclipse.swt.widgets.Composite parent)
     
    protected void
    createExtraControls(org.eclipse.swt.widgets.Composite parent)
     
    protected void
    Ensures that both text fields are set.
     
     
    void
    initialise(org.eclipse.jface.viewers.ISelection selection, String title, String description, String extension, org.eclipse.jface.resource.ImageDescriptor imageDescriptor)
     
    protected void
    Tests if the current workbench selection is a suitable container to use.

    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
  • Constructor Details

    • NewFileWizardPage

      public NewFileWizardPage()
  • Method Details

    • initialise

      public void initialise(org.eclipse.jface.viewers.ISelection selection, String title, String description, String extension, org.eclipse.jface.resource.ImageDescriptor imageDescriptor)
    • createControl

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

      protected void createExtraControls(org.eclipse.swt.widgets.Composite parent)
    • initialize

      protected void initialize()
      Tests if the current workbench selection is a suitable container to use.
    • dialogChanged

      protected void dialogChanged()
      Ensures that both text fields are set.
    • getContainerName

      public String getContainerName()
    • getFileName

      public String getFileName()