public class DMRCreationWizard
extends org.eclipse.jface.wizard.Wizard
implements org.eclipse.ui.INewWizard
VFeaturePathDomainModelReference for a DomainModelReferenceSelector.| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
initialObjectNames
Caches the names of the types that can be created as the root object.
|
protected org.eclipse.jface.viewers.IStructuredSelection |
selection
Remember the selection during initialization for populating the default
container.
|
protected VViewFactory |
viewFactory
This caches an instance of the model factory.
|
protected VViewPackage |
viewPackage
This caches an instance of the model package.
|
protected org.eclipse.ui.IWorkbench |
workbench
Remember the workbench during initialization.
|
| Constructor and Description |
|---|
DMRCreationWizard() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPages()
The framework calls this to create the contents of the wizard.
|
boolean |
canFinish() |
org.eclipse.jface.wizard.IWizardPage |
getNextPage(org.eclipse.jface.wizard.IWizardPage page) |
org.eclipse.jface.wizard.IWizardPage |
getPreviousPage(org.eclipse.jface.wizard.IWizardPage page) |
org.eclipse.core.resources.IFile |
getSelectedEcore() |
org.eclipse.emf.ecore.EStructuralFeature |
getSelectedEStructuralFeature() |
org.eclipse.jface.wizard.IWizardPage |
getStartingPage() |
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection)
This just records the information.
|
boolean |
performFinish() |
void |
setSelection(org.eclipse.jface.viewers.IStructuredSelection selection) |
addPage, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getShell, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreatePageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainerprotected VViewPackage viewPackage
protected VViewFactory viewFactory
protected org.eclipse.jface.viewers.IStructuredSelection selection
protected org.eclipse.ui.IWorkbench workbench
public void setSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
selection - the selection to setpublic 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.IWizardaddPages in class org.eclipse.jface.wizard.Wizardpublic org.eclipse.jface.wizard.IWizardPage getStartingPage()
getStartingPage in interface org.eclipse.jface.wizard.IWizardgetStartingPage in class org.eclipse.jface.wizard.WizardWizard.getStartingPage()public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
getNextPage in interface org.eclipse.jface.wizard.IWizardgetNextPage in class org.eclipse.jface.wizard.WizardWizard.getNextPage(org.eclipse.jface.wizard.IWizardPage)public org.eclipse.jface.wizard.IWizardPage getPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
getPreviousPage in interface org.eclipse.jface.wizard.IWizardgetPreviousPage in class org.eclipse.jface.wizard.WizardWizard.getPreviousPage(org.eclipse.jface.wizard.IWizardPage)public boolean canFinish()
canFinish in interface org.eclipse.jface.wizard.IWizardcanFinish in class org.eclipse.jface.wizard.WizardWizard.canFinish()public boolean performFinish()
performFinish in interface org.eclipse.jface.wizard.IWizardperformFinish in class org.eclipse.jface.wizard.Wizardpublic org.eclipse.core.resources.IFile getSelectedEcore()
public org.eclipse.emf.ecore.EStructuralFeature getSelectedEStructuralFeature()
Copyright © 2019. All rights reserved.