Class DataWizardPage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.wizard.WizardPage
uk.ac.diamond.scisoft.analysis.rcp.wizards.DataWizardPage
All Implemented Interfaces:
EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.events.KeyListener, org.eclipse.swt.internal.SWTEventListener

public class DataWizardPage extends org.eclipse.jface.wizard.WizardPage implements org.eclipse.swt.events.KeyListener
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 (png).
  • Field Summary

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

    ERROR, INFORMATION, NONE, WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
    DataWizardPage(org.eclipse.jface.viewers.ISelection selection, String prevProject, String prevFolder, String prevDirectory)
    Constructor for SampleNewWizardPage.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createControl(org.eclipse.swt.widgets.Composite parent)
     
     
     
     
    void
    keyPressed(org.eclipse.swt.events.KeyEvent e)
     
    void
    keyReleased(org.eclipse.swt.events.KeyEvent e)
     

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

    • DataWizardPage

      public DataWizardPage(org.eclipse.jface.viewers.ISelection selection, String prevProject, String prevFolder, String prevDirectory)
      Constructor for SampleNewWizardPage.
      Parameters:
      prevProject -
      prevFolder -
      prevDirectory -
  • Method Details

    • createControl

      public void createControl(org.eclipse.swt.widgets.Composite parent)
      Specified by:
      createControl in interface org.eclipse.jface.dialogs.IDialogPage
      See Also:
      • IDialogPage.createControl(Composite)
    • getProject

      public String getProject()
    • getDirectory

      public String getDirectory()
    • getFolder

      public String getFolder()
    • keyPressed

      public void keyPressed(org.eclipse.swt.events.KeyEvent e)
      Specified by:
      keyPressed in interface org.eclipse.swt.events.KeyListener
    • keyReleased

      public void keyReleased(org.eclipse.swt.events.KeyEvent e)
      Specified by:
      keyReleased in interface org.eclipse.swt.events.KeyListener