org.eclipse.emf.codegen.ecore.genmodel.presentation
Class GenModelModelWizard

java.lang.Object
  |
  +--org.eclipse.jface.wizard.Wizard
        |
        +--org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProjectWizard
              |
              +--org.eclipse.emf.codegen.ecore.genmodel.presentation.GenModelModelWizard
All Implemented Interfaces:
org.eclipse.ui.INewWizard, org.eclipse.jface.wizard.IWizard, org.eclipse.ui.IWorkbenchWizard

public class GenModelModelWizard
extends EMFProjectWizard

This is a simple wizard for creating a new model file.


Inner Class Summary
 class GenModelModelWizard.GenModelModelWizardNewFileCreationPage
          This is the one page of the wizard.
 
Inner classes inherited from class org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProjectWizard
EMFProjectWizard.DetailsPage, EMFProjectWizard.EcoreModelPage, EMFProjectWizard.PackagePage, EMFProjectWizard.RoseModelPage, EMFProjectWizard.XMLSchemaModelPage
 
Field Summary
protected  GenModelModelWizard.GenModelModelWizardNewFileCreationPage newFileCreationPage
          This is the one and only page.
 
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProjectWizard
detailsPage, ECORE, ecoreModelPage, ePackageToInformationMap, genModelFile, JAVA, javaEcoreBuilder, modelFile, NEW_FILE, NEW_PROJECT, newProjectCreationPage, NOTHING, originalGenModel, packagePage, RELOAD, ROSE, roseModelPage, selection, whichModel, whichStyle, workbench, workspaceRoot, xmlSchemaModelPage, XSD
 
Fields inherited from class org.eclipse.jface.wizard.Wizard
DEFAULT_IMAGE
 
Constructor Summary
GenModelModelWizard()
           
 
Method Summary
 void addPages()
          The framework calls this to create the contents of the wizard.
 org.eclipse.core.resources.IFile getGenModelFile()
          Get the file from the page.
 void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
          Initializes by recording the arguments.
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProjectWizard
createFileSystemElement, getGenModelFileName, getGenModelName, getNextPage, getProjectName, makeAbsolute, makeRelative, performFinish, traverseGenPackages
 
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.wizard.IWizard
canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
 

Field Detail

newFileCreationPage

protected GenModelModelWizard.GenModelModelWizardNewFileCreationPage newFileCreationPage
This is the one and only page.
Constructor Detail

GenModelModelWizard

public GenModelModelWizard()
Method Detail

init

public void init(org.eclipse.ui.IWorkbench workbench,
                 org.eclipse.jface.viewers.IStructuredSelection selection)
Initializes by recording the arguments.
Overrides:
init in class EMFProjectWizard

addPages

public void addPages()
The framework calls this to create the contents of the wizard.
Overrides:
addPages in class EMFProjectWizard

getGenModelFile

public org.eclipse.core.resources.IFile getGenModelFile()
Get the file from the page.
Overrides:
getGenModelFile in class EMFProjectWizard

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