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, setWindowTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
protected 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.IWorkbenchWizard
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.jface.wizard.Wizard
public org.eclipse.jface.wizard.IWizardPage getStartingPage()
getStartingPage
in interface org.eclipse.jface.wizard.IWizard
getStartingPage
in class org.eclipse.jface.wizard.Wizard
Wizard.getStartingPage()
public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
getNextPage
in interface org.eclipse.jface.wizard.IWizard
getNextPage
in class org.eclipse.jface.wizard.Wizard
Wizard.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.IWizard
getPreviousPage
in class org.eclipse.jface.wizard.Wizard
Wizard.getPreviousPage(org.eclipse.jface.wizard.IWizardPage)
public boolean canFinish()
canFinish
in interface org.eclipse.jface.wizard.IWizard
canFinish
in class org.eclipse.jface.wizard.Wizard
Wizard.canFinish()
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.jface.wizard.Wizard
public org.eclipse.core.resources.IFile getSelectedEcore()
public org.eclipse.emf.ecore.EStructuralFeature getSelectedEStructuralFeature()
Copyright © 2019. All rights reserved.