|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.eclipse.emf.codegen.ecore.genmodel.presentation.EMFProjectWizard
Creates a new EMF Project.
Inner 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 java.util.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
|
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. |
protected static org.eclipse.ui.dialogs.FileSystemElement |
createFileSystemElement(org.eclipse.ui.dialogs.FileSystemElement parent,
org.eclipse.core.resources.IResource resource,
java.util.Collection matchingResources,
java.lang.String extension)
|
org.eclipse.core.resources.IFile |
getGenModelFile()
|
java.lang.String |
getGenModelFileName()
|
java.lang.String |
getGenModelName()
|
org.eclipse.jface.wizard.IWizardPage |
getNextPage(org.eclipse.jface.wizard.IWizardPage page)
|
java.lang.String |
getProjectName()
|
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
Initializes by recording the arguments. |
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(java.util.List genPackages)
|
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 java.util.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 java.lang.String getGenModelName()
public java.lang.String getGenModelFileName()
public java.lang.String getProjectName()
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
init
in interface org.eclipse.ui.IWorkbenchWizard
public void addPages()
public boolean performFinish()
protected URI makeRelative(URI uri, URI relativeTo)
protected URI makeAbsolute(URI uri, URI relativeTo)
public void traverseGenPackages(java.util.List genPackages)
public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
protected static org.eclipse.ui.dialogs.FileSystemElement createFileSystemElement(org.eclipse.ui.dialogs.FileSystemElement parent, org.eclipse.core.resources.IResource resource, java.util.Collection matchingResources, java.lang.String extension)
|
Copyright 2001-2002 IBM Corporation and others. All Rights Reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |