org.eclipse.xsd.presentation
Class XSDModelWizard.XSDModelWizardNewFileCreationPage

java.lang.Object
  |
  +--org.eclipse.jface.dialogs.DialogPage
        |
        +--org.eclipse.jface.wizard.WizardPage
              |
              +--org.eclipse.ui.dialogs.WizardNewFileCreationPage
                    |
                    +--org.eclipse.xsd.presentation.XSDModelWizard.XSDModelWizardNewFileCreationPage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.widgets.Listener
Enclosing class:
XSDModelWizard

public class XSDModelWizard.XSDModelWizardNewFileCreationPage
extends org.eclipse.ui.dialogs.WizardNewFileCreationPage

This is the one page of the wizard.


Field Summary
protected  org.eclipse.core.resources.IFile modelFile
          Remember the model file.
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
XSDModelWizard.XSDModelWizardNewFileCreationPage(java.lang.String pageId, org.eclipse.jface.viewers.IStructuredSelection selection)
          Pass in the selection.
 
Method Summary
 org.eclipse.core.resources.IFile getModelFile()
          
 boolean performFinish()
          Store the dialog field settings upon completion.
protected  boolean validatePage()
          The framework calls this to see if the file is correct.
 
Methods inherited from class org.eclipse.ui.dialogs.WizardNewFileCreationPage
createAdvancedControls, createControl, createFile, createFileHandle, createLinkTarget, createNewFile, getContainerFullPath, getFileName, getInitialContents, getNewFileLabel, handleAdvancedButtonSelect, handleEvent, initialPopulateContainerNameField, setContainerFullPath, setFileName, setVisible, validateLinkedResource
 
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
 

Field Detail

modelFile

protected org.eclipse.core.resources.IFile modelFile
Remember the model file.
Constructor Detail

XSDModelWizard.XSDModelWizardNewFileCreationPage

public XSDModelWizard.XSDModelWizardNewFileCreationPage(java.lang.String pageId,
                                                        org.eclipse.jface.viewers.IStructuredSelection selection)
Pass in the selection.
Method Detail

validatePage

protected boolean validatePage()
The framework calls this to see if the file is correct.
Overrides:
validatePage in class org.eclipse.ui.dialogs.WizardNewFileCreationPage

performFinish

public boolean performFinish()
Store the dialog field settings upon completion.

getModelFile

public org.eclipse.core.resources.IFile getModelFile()

Copyright 2001-2003 IBM Corporation and others.
All Rights Reserved.