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

java.lang.Object
  extended byorg.eclipse.jface.wizard.Wizard
      extended byorg.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProjectWizard
          extended byorg.eclipse.emf.codegen.ecore.genmodel.presentation.GenModelModelWizard
All Implemented Interfaces:
INewWizard, IWizard, IWorkbenchWizard

public class GenModelModelWizard
extends EMFProjectWizard

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


Nested Class Summary
 class GenModelModelWizard.GenModelModelWizardNewFileCreationPage
          This is the one page of the wizard.
 
Nested 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.
 IFile getGenModelFile()
          Get the file from the page.
 void init(IWorkbench workbench, IStructuredSelection selection)
          Initializes by recording the arguments.
 
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProjectWizard
getGenModelFileName, getGenModelName, getNextPage, getProjectName, isInJavaOutput, 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(IWorkbench workbench,
                 IStructuredSelection selection)
Initializes by recording the arguments.

Specified by:
init in interface IWorkbenchWizard
Overrides:
init in class EMFProjectWizard

addPages

public void addPages()
The framework calls this to create the contents of the wizard.

Specified by:
addPages in interface IWizard
Overrides:
addPages in class EMFProjectWizard

getGenModelFile

public IFile getGenModelFile()
Get the file from the page.

Overrides:
getGenModelFile in class EMFProjectWizard

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