public class EMFFormsExampleInstallerWizard
extends org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard
Modifier and Type | Class and Description |
---|---|
class |
EMFFormsExampleInstallerWizard.ExampleInstallerPage
The project page for the EMFFormsExampleInstallerWizard.
|
org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard.FileToOpen, org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard.ProjectDescriptor, org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard.ProjectPage
filesToOpen, projectDescriptors, wizardConfigurationElement
Constructor and Description |
---|
EMFFormsExampleInstallerWizard() |
Modifier and Type | Method and Description |
---|---|
void |
addPages() |
protected org.eclipse.emf.common.util.Diagnostic |
deleteExistingProjects(org.eclipse.core.runtime.IProgressMonitor monitor)
The EMFFormsExampleInstallerWizard doesn't delete any projects.
|
void |
dispose() |
protected String |
getProjectPageDescription()
Returns the description for the project page that shows the projects that are to be created in the workspace.
|
protected String |
getProjectPageTitle()
Returns the title for the project page that shows the projects that are to be created in the workspace.
|
protected void |
installExample(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
In contrast to the
AbstractExampleInstallerWizard , the EMFFormsExampleInstallerWizard only installs
projects if
they do not already exist in the workspace. |
getFilesToOpen, getProjectDescriptors, loadFromExtensionPoints, setInitializationData
createDirectoryImportOperation, createFileImportOperation, createImportOperation, createProject, createZipFile, createZipImportOperation, getSelection, getWorkbench, init, installProject, installProject, installProjectFromDirectory, installProjectFromFile, isZipFile, openEditor, openErrorDialog, openFiles, performFinish
addPage, canFinish, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getShell, getStartingPage, 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
canFinish, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer
public void addPages()
addPages
in interface org.eclipse.jface.wizard.IWizard
addPages
in class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
public void dispose()
dispose
in interface org.eclipse.jface.wizard.IWizard
dispose
in class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
protected String getProjectPageTitle()
Override this method to provide a custom page title.
protected String getProjectPageDescription()
Override this method to provide a custom page description.
protected org.eclipse.emf.common.util.Diagnostic deleteExistingProjects(org.eclipse.core.runtime.IProgressMonitor monitor)
deleteExistingProjects
in class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
monitor
- progress monitorprotected void installExample(org.eclipse.core.runtime.IProgressMonitor progressMonitor) throws org.eclipse.core.commands.ExecutionException
AbstractExampleInstallerWizard
, the EMFFormsExampleInstallerWizard only installs
projects if
they do not already exist in the workspace.installExample
in class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
progressMonitor
- the progress monitororg.eclipse.core.commands.ExecutionException
- if something goes wrong while installing the example.AbstractExampleInstallerWizard.installExample(org.eclipse.core.runtime.IProgressMonitor)
Copyright © 2019. All rights reserved.