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:
- INewWizard, IWizard, IWorkbenchWizard
- public class GenModelModelWizard
- extends EMFProjectWizard
This is a simple wizard for creating a new model file.
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 |
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 |
newFileCreationPage
protected GenModelModelWizard.GenModelModelWizardNewFileCreationPage newFileCreationPage
- This is the one and only page.
GenModelModelWizard
public GenModelModelWizard()
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