public class NewPluginProjectWizard
extends org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard
org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard.FileToOpen, org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard.ProjectDescriptor, org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard.ProjectPage
Modifier and Type | Field and Description |
---|---|
static List<String> |
FILE_EXTENSIONS
The supported extensions for created files.
|
protected org.eclipse.jface.viewers.IStructuredSelection |
selection
Remember the selection during initialization for populating the default
container.
|
filesToOpen, projectDescriptors, wizardConfigurationElement
Constructor and Description |
---|
NewPluginProjectWizard() |
Modifier and Type | Method and Description |
---|---|
protected void |
addContribution(org.eclipse.core.resources.IFile modelFile) |
void |
addPages() |
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) |
static IDEViewModelRegistry |
getViewModelRegistry()
Return the
IDEViewModelRegistry . |
String |
getWindowTitle() |
void |
init(org.eclipse.ui.IWorkbench workbench,
org.eclipse.jface.viewers.IStructuredSelection selection) |
protected void |
loadFromExtensionPoints() |
boolean |
performFinish() |
void |
setSelectedContainer(Object selectedContainer) |
void |
setSelection(org.eclipse.jface.viewers.IStructuredSelection selection) |
void |
setWorkbench(org.eclipse.ui.IWorkbench workbench) |
getFilesToOpen, getProjectDescriptors, setInitializationData
createDirectoryImportOperation, createFileImportOperation, createImportOperation, createProject, createZipFile, createZipImportOperation, deleteExistingProjects, dispose, getSelection, getWorkbench, installExample, installProject, installProject, installProjectFromDirectory, installProjectFromFile, isZipFile, openEditor, openErrorDialog, openFiles
addPage, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getShell, getStartingPage, getTitleBarColor, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getStartingPage, getTitleBarColor, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
public static final List<String> FILE_EXTENSIONS
protected org.eclipse.jface.viewers.IStructuredSelection selection
public void setSelectedContainer(Object selectedContainer)
selectedContainer
- the selectedContainer to setpublic void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
init
in interface org.eclipse.ui.IWorkbenchWizard
init
in class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
public void setWorkbench(org.eclipse.ui.IWorkbench workbench)
workbench
- the workbench to setpublic String getWindowTitle()
getWindowTitle
in interface org.eclipse.jface.wizard.IWizard
getWindowTitle
in class org.eclipse.jface.wizard.Wizard
protected void loadFromExtensionPoints()
loadFromExtensionPoints
in class org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
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
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
public boolean performFinish()
performFinish
in interface org.eclipse.jface.wizard.IWizard
performFinish
in class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
protected void addContribution(org.eclipse.core.resources.IFile modelFile)
modelFile
- public void setSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
selection
- the selection to setpublic static IDEViewModelRegistry getViewModelRegistry()
IDEViewModelRegistry
.IDEViewModelRegistry
Copyright © 2019. All rights reserved.