Class NewPluginProjectWizard
- java.lang.Object
-
- org.eclipse.jface.wizard.Wizard
-
- org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
-
- org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard
-
- org.eclipse.emf.ecp.view.model.internal.project.installer.NewPluginProjectWizard
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IExecutableExtension
,org.eclipse.jface.window.IShellProvider
,org.eclipse.jface.wizard.IWizard
,org.eclipse.ui.INewWizard
,org.eclipse.ui.IWorkbenchWizard
public class NewPluginProjectWizard extends org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard
- Author:
- Alexandra Buzila
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard.FileToOpen, org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard.ProjectDescriptor, org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard.ProjectPage
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.List<java.lang.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.-
Fields inherited from class org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard
filesToOpen, projectDescriptors, wizardConfigurationElement
-
-
Constructor Summary
Constructors Constructor Description NewPluginProjectWizard()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 theIDEViewModelRegistry
.java.lang.String
getWindowTitle()
void
init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
protected void
loadFromExtensionPoints()
boolean
performFinish()
void
setSelectedContainer(java.lang.Object selectedContainer)
void
setSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
void
setWorkbench(org.eclipse.ui.IWorkbench workbench)
-
Methods inherited from class org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard
getFilesToOpen, getProjectDescriptors, setInitializationData
-
Methods inherited from class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
createDirectoryImportOperation, createFileImportOperation, createImportOperation, createProject, createZipFile, createZipImportOperation, deleteExistingProjects, dispose, getSelection, getWorkbench, installExample, installProject, installProject, installProjectFromDirectory, installProjectFromFile, isZipFile, openEditor, openErrorDialog, openFiles
-
Methods inherited from class org.eclipse.jface.wizard.Wizard
addPage, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getShell, getStartingPage, getTitleBarColor, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer, setDefaultPageImageDescriptor, setDialogSettings, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setTitleBarColor, setWindowTitle
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.jface.wizard.IWizard
createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getPage, getPageCount, getPages, getStartingPage, getTitleBarColor, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
-
-
-
-
Field Detail
-
FILE_EXTENSIONS
public static final java.util.List<java.lang.String> FILE_EXTENSIONS
The supported extensions for created files.
-
selection
protected org.eclipse.jface.viewers.IStructuredSelection selection
Remember the selection during initialization for populating the default container.
-
-
Method Detail
-
setSelectedContainer
public void setSelectedContainer(java.lang.Object selectedContainer)
- Parameters:
selectedContainer
- the selectedContainer to set
-
init
public void init(org.eclipse.ui.IWorkbench workbench, org.eclipse.jface.viewers.IStructuredSelection selection)
- Specified by:
init
in interfaceorg.eclipse.ui.IWorkbenchWizard
- Overrides:
init
in classorg.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
-
setWorkbench
public void setWorkbench(org.eclipse.ui.IWorkbench workbench)
- Parameters:
workbench
- the workbench to set
-
getWindowTitle
public java.lang.String getWindowTitle()
- Specified by:
getWindowTitle
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
getWindowTitle
in classorg.eclipse.jface.wizard.Wizard
-
loadFromExtensionPoints
protected void loadFromExtensionPoints()
- Overrides:
loadFromExtensionPoints
in classorg.eclipse.emf.common.ui.wizard.ExampleInstallerWizard
-
addPages
public void addPages()
- Specified by:
addPages
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
addPages
in classorg.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
-
getNextPage
public org.eclipse.jface.wizard.IWizardPage getNextPage(org.eclipse.jface.wizard.IWizardPage page)
- Specified by:
getNextPage
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
getNextPage
in classorg.eclipse.jface.wizard.Wizard
-
getPreviousPage
public org.eclipse.jface.wizard.IWizardPage getPreviousPage(org.eclipse.jface.wizard.IWizardPage page)
- Specified by:
getPreviousPage
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
getPreviousPage
in classorg.eclipse.jface.wizard.Wizard
- See Also:
Wizard.getPreviousPage(org.eclipse.jface.wizard.IWizardPage)
-
canFinish
public boolean canFinish()
- Specified by:
canFinish
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
canFinish
in classorg.eclipse.jface.wizard.Wizard
-
performFinish
public boolean performFinish()
- Specified by:
performFinish
in interfaceorg.eclipse.jface.wizard.IWizard
- Overrides:
performFinish
in classorg.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
-
addContribution
protected void addContribution(org.eclipse.core.resources.IFile modelFile)
- Parameters:
modelFile
-
-
setSelection
public void setSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
- Parameters:
selection
- the selection to set
-
getViewModelRegistry
public static IDEViewModelRegistry getViewModelRegistry()
Return theIDEViewModelRegistry
.- Returns:
- the
IDEViewModelRegistry
-
-