Class NewWizardPage

  • All Implemented Interfaces:
    java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.viewers.ISelectionChangedListener, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.events.ModifyListener, org.eclipse.swt.internal.SWTEventListener

    public class NewWizardPage
    extends org.eclipse.jface.wizard.WizardPage
    implements org.eclipse.swt.events.ModifyListener, org.eclipse.jface.viewers.ISelectionChangedListener
    The page common page for the new iizi-file wizard.
    Author:
    Christopher Mindus
    • Field Summary

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

        ERROR, INFORMATION, NONE, WARNING
    • Constructor Summary

      Constructors 
      ConstructorDescription
      NewWizardPage​(NewWizard wizard, java.lang.String pageID, java.lang.String wizardTitle, java.lang.String description, java.lang.Object treeRoot, IPropDesigner root, boolean enableExtends)
      Create the wizard.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidcreateControl​(org.eclipse.swt.widgets.Composite parent)
      Create contents of the wizard.
      IPropDesignergetItemContainer()
      Gets the item container.
      java.lang.StringgetItemNameAndExtension()
      Gets the item name (with correct extension).
      java.lang.StringgetReference()
      Gets the current reference of the property to create.
      booleanisPageComplete()
      Checks if this page is complete.
      voidmodifyText​(org.eclipse.swt.events.ModifyEvent e)
      Entry has changed.
      voidselectionChanged​(org.eclipse.jface.viewers.SelectionChangedEvent event)
      Tree selections.
      voidsetVisible​(boolean visible) 
      • Methods inherited from class org.eclipse.jface.wizard.WizardPage

        canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, 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

      • NewWizardPage

        public NewWizardPage​(NewWizard wizard,
                             java.lang.String pageID,
                             java.lang.String wizardTitle,
                             java.lang.String description,
                             java.lang.Object treeRoot,
                             IPropDesigner root,
                             boolean enableExtends)
        Create the wizard.
    • Method Detail

      • createControl

        public void createControl​(org.eclipse.swt.widgets.Composite parent)
        Create contents of the wizard.
        Specified by:
        createControl in interface org.eclipse.jface.dialogs.IDialogPage
        Parameters:
        parent -
      • getReference

        public java.lang.String getReference()
        Gets the current reference of the property to create.
      • 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
      • modifyText

        public void modifyText​(org.eclipse.swt.events.ModifyEvent e)
        Entry has changed.
        Specified by:
        modifyText in interface org.eclipse.swt.events.ModifyListener
      • getItemContainer

        public IPropDesigner getItemContainer()
        Gets the item container.
      • getItemNameAndExtension

        public java.lang.String getItemNameAndExtension()
        Gets the item name (with correct extension).
      • selectionChanged

        public void selectionChanged​(org.eclipse.jface.viewers.SelectionChangedEvent event)
        Tree selections.
        Specified by:
        selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener
        Parameters:
        event -
      • isPageComplete

        public boolean isPageComplete()
        Checks if this page is complete.
        Specified by:
        isPageComplete in interface org.eclipse.jface.wizard.IWizardPage
        Overrides:
        isPageComplete in class org.eclipse.jface.wizard.WizardPage