|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.wizard.Wizard
org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProjectWizard
Creates a new EMF Project.
Nested Class Summary | |
class |
EMFProjectWizard.DetailsPage
|
class |
EMFProjectWizard.EcoreModelPage
A page that allows a Ecore model to be imported. |
class |
EMFProjectWizard.PackagePage
This pages allows a Rose model to be imported. |
class |
EMFProjectWizard.RoseModelPage
A page that allows a Rose model to be imported. |
class |
EMFProjectWizard.XMLSchemaModelPage
A page that allows a XMLSchema model to be imported. |
Field Summary | |
protected EMFProjectWizard.DetailsPage |
detailsPage
The page were the type of model is chosen. |
protected static int |
ECORE
|
protected EMFProjectWizard.EcoreModelPage |
ecoreModelPage
The page where the Ecore models are specified. |
protected Map |
ePackageToInformationMap
The map from EPackage to extra information. |
protected IFile |
genModelFile
The GenModel being reloaded. |
protected static int |
JAVA
|
protected JavaEcoreBuilder |
javaEcoreBuilder
The builder used for Java conversion. |
protected IFile |
modelFile
The GenModel file to be opened in an editor. |
protected static int |
NEW_FILE
|
protected static int |
NEW_PROJECT
|
protected WizardNewProjectCreationPage |
newProjectCreationPage
The standard project creation page. |
protected static int |
NOTHING
|
protected GenModel |
originalGenModel
The original GenModel being reloaded. |
protected EMFProjectWizard.PackagePage |
packagePage
The page where the packages are specified. |
protected static int |
RELOAD
|
protected static int |
ROSE
|
protected EMFProjectWizard.RoseModelPage |
roseModelPage
The page where the Rose model is specified. |
protected IStructuredSelection |
selection
The selection in effect during initialization, which is used for populating the default container. |
protected int |
whichModel
|
protected int |
whichStyle
|
protected IWorkbench |
workbench
The workbench in effect during initialization. |
protected static IWorkspaceRoot |
workspaceRoot
|
protected EMFProjectWizard.XMLSchemaModelPage |
xmlSchemaModelPage
The page where the Rose model is specified. |
protected static int |
XSD
|
Fields inherited from class org.eclipse.jface.wizard.Wizard |
DEFAULT_IMAGE |
Constructor Summary | |
EMFProjectWizard()
Creates an instance to be used for creating a new project. |
|
EMFProjectWizard(IFile genModelFile)
Creates an instance to be used for updating and existing GenModel. |
Method Summary | |
void |
addPages()
Called by the framework to create the contents of the wizard. |
IFile |
getGenModelFile()
|
String |
getGenModelFileName()
|
String |
getGenModelName()
|
IWizardPage |
getNextPage(IWizardPage page)
|
String |
getProjectName()
|
void |
init(IWorkbench workbench,
IStructuredSelection selection)
Initializes by recording the arguments. |
protected static boolean |
isInJavaOutput(IResource resource)
|
protected URI |
makeAbsolute(URI uri,
URI relativeTo)
|
protected URI |
makeRelative(URI uri,
URI relativeTo)
|
boolean |
performFinish()
Do the work after everything is specified. |
void |
traverseGenPackages(List genPackages)
|
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 |
protected static IWorkspaceRoot workspaceRoot
protected WizardNewProjectCreationPage newProjectCreationPage
protected static final int JAVA
protected static final int XSD
protected static final int ECORE
protected static final int ROSE
protected static final int NOTHING
protected int whichModel
protected static final int NEW_PROJECT
protected static final int NEW_FILE
protected static final int RELOAD
protected int whichStyle
protected EMFProjectWizard.RoseModelPage roseModelPage
protected EMFProjectWizard.XMLSchemaModelPage xmlSchemaModelPage
protected EMFProjectWizard.EcoreModelPage ecoreModelPage
protected JavaEcoreBuilder javaEcoreBuilder
protected EMFProjectWizard.PackagePage packagePage
protected EMFProjectWizard.DetailsPage detailsPage
protected IStructuredSelection selection
protected IWorkbench workbench
protected IFile genModelFile
protected GenModel originalGenModel
protected Map ePackageToInformationMap
protected IFile modelFile
Constructor Detail |
public EMFProjectWizard()
public EMFProjectWizard(IFile genModelFile)
Method Detail |
public IFile getGenModelFile()
public String getGenModelName()
public String getGenModelFileName()
public String getProjectName()
public void init(IWorkbench workbench, IStructuredSelection selection)
init
in interface IWorkbenchWizard
public void addPages()
addPages
in interface IWizard
public boolean performFinish()
performFinish
in interface IWizard
protected URI makeRelative(URI uri, URI relativeTo)
protected URI makeAbsolute(URI uri, URI relativeTo)
public void traverseGenPackages(List genPackages)
public IWizardPage getNextPage(IWizardPage page)
getNextPage
in interface IWizard
protected static boolean isInJavaOutput(IResource resource)
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |