org.eclipse.amp.amf.sd.presentation
Class SdModelWizard.SdModelWizardNewFileCreationPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.ui.dialogs.WizardNewFileCreationPage
              extended by org.eclipse.amp.amf.sd.presentation.SdModelWizard.SdModelWizardNewFileCreationPage
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:
SdModelWizard

public class SdModelWizard.SdModelWizardNewFileCreationPage
extends org.eclipse.ui.dialogs.WizardNewFileCreationPage

This is the one page of the wizard.


Field Summary
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
SdModelWizard.SdModelWizardNewFileCreationPage(java.lang.String pageId, org.eclipse.jface.viewers.IStructuredSelection selection)
          Pass in the selection.
 
Method Summary
 org.eclipse.core.resources.IFile getModelFile()
           
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, createRule, getContainerFullPath, getFileExtension, getFileName, getInitialContents, getNewFileLabel, handleAdvancedButtonSelect, handleEvent, initialPopulateContainerNameField, setAllowExistingResources, setContainerFullPath, setFileExtension, 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
 

Constructor Detail

SdModelWizard.SdModelWizardNewFileCreationPage

public SdModelWizard.SdModelWizardNewFileCreationPage(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

getModelFile

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