|
|||||||||||
| 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 org.eclipse.core.resources.IFile |
genModelFile
The GenModel being reloaded. |
protected static int |
JAVA
|
protected JavaEcoreBuilder |
javaEcoreBuilder
The builder used for Java conversion. |
protected org.eclipse.core.resources.IFile |
modelFile
The GenModel file to be opened in an editor. |
protected static int |
NEW_FILE
|
protected static int |
NEW_PROJECT
|
protected org.eclipse.ui.dialogs.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 org.eclipse.jface.viewers.IStructuredSelection |
selection
The selection in effect during initialization, which is used for populating the default container. |
protected int |
whichModel
|
protected int |
whichStyle
|
protected org.eclipse.ui.IWorkbench |
workbench
The workbench in effect during initialization. |
protected static org.eclipse.core.resources.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(org.eclipse.core.resources.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. |
org.eclipse.core.resources.IFile |
getGenModelFile()
|
String |
getGenModelFileName()
|
String |
getGenModelName()
|
org.eclipse.jface.wizard.IWizardPage |
getNextPage(org.eclipse.jface.wizard.IWizardPage page)
|
String |
getProjectName()
|
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
Initializes by recording the arguments. |
protected static boolean |
isInJavaOutput(org.eclipse.core.resources.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 org.eclipse.core.resources.IWorkspaceRoot workspaceRoot
protected org.eclipse.ui.dialogs.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 org.eclipse.jface.viewers.IStructuredSelection selection
protected org.eclipse.ui.IWorkbench workbench
protected org.eclipse.core.resources.IFile genModelFile
protected GenModel originalGenModel
protected Map ePackageToInformationMap
protected org.eclipse.core.resources.IFile modelFile
| Constructor Detail |
public EMFProjectWizard()
public EMFProjectWizard(org.eclipse.core.resources.IFile genModelFile)
| Method Detail |
public org.eclipse.core.resources.IFile getGenModelFile()
public String getGenModelName()
public String getGenModelFileName()
public String getProjectName()
public void init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
init in interface org.eclipse.ui.IWorkbenchWizardpublic void addPages()
addPages in interface org.eclipse.jface.wizard.IWizardpublic boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizard
protected URI makeRelative(URI uri,
URI relativeTo)
protected URI makeAbsolute(URI uri,
URI relativeTo)
public void traverseGenPackages(List genPackages)
public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
getNextPage in interface org.eclipse.jface.wizard.IWizardprotected static boolean isInJavaOutput(org.eclipse.core.resources.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 | ||||||||||