public class CreateNewInstaceWizard
extends org.eclipse.jface.wizard.Wizard
EClass
and save it into a file.Modifier and Type | Class and Description |
---|---|
class |
CreateNewInstaceWizard.CreateNewInstanceFileCreationPage
The wizard page to select in which file the new instance will be saved.
|
Modifier and Type | Field and Description |
---|---|
static List<String> |
FILE_EXTENSIONS
The supported extensions for created files.
|
static String |
FORMATTED_FILE_EXTENSIONS
A formatted list of supported file extensions, suitable for display.
|
Constructor and Description |
---|
CreateNewInstaceWizard(org.eclipse.emf.ecore.EClass eClass)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addPages() |
org.eclipse.core.resources.IFile |
getModelFile() |
boolean |
performFinish() |
addPage, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
public static final List<String> FILE_EXTENSIONS
public static final String FORMATTED_FILE_EXTENSIONS
public CreateNewInstaceWizard(org.eclipse.emf.ecore.EClass eClass)
eClass
- The EClass
for which a new instance is created and saved in a filepublic boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public org.eclipse.core.resources.IFile getModelFile()
Copyright © 2017. All rights reserved.