org.eclipse.emf.common.ui.wizard
Class ExampleInstallerWizard
java.lang.Object
org.eclipse.jface.wizard.Wizard
org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard
org.eclipse.emf.common.ui.wizard.ExampleInstallerWizard
- All Implemented Interfaces:
- IExecutableExtension, IShellProvider, IWizard, INewWizard, IWorkbenchWizard
public class ExampleInstallerWizard
- extends AbstractExampleInstallerWizard
- implements IExecutableExtension
Default implementation of AbstractExampleInstallerWizard
which can be declared
directly in the plugin.xml using the org.eclipse.ui.newWizards and
org.eclipse.emf.common.ui.examples extension points.
When declaring this wizard, it is necessary to define a unique id for it.
- Since:
- 2.2.0
Methods inherited from class org.eclipse.emf.common.ui.wizard.AbstractExampleInstallerWizard |
addPages, createDirectoryImportOperation, createFileImportOperation, createImportOperation, createProject, createZipFile, createZipImportOperation, deleteExistingProjects, dispose, getSelection, getWorkbench, init, installExample, installProject, installProject, installProjectFromDirectory, installProjectFromFile, isZipFile, openEditor, openErrorDialog, openFiles, performFinish |
Methods inherited from class org.eclipse.jface.wizard.Wizard |
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 |
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 |
canFinish, createPageControls, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, setContainer |
wizardConfigurationElement
protected IConfigurationElement wizardConfigurationElement
projectDescriptors
protected java.util.List<AbstractExampleInstallerWizard.ProjectDescriptor> projectDescriptors
filesToOpen
protected java.util.List<AbstractExampleInstallerWizard.FileToOpen> filesToOpen
ExampleInstallerWizard
public ExampleInstallerWizard()
setInitializationData
public void setInitializationData(IConfigurationElement config,
java.lang.String propertyName,
java.lang.Object data)
throws CoreException
- Specified by:
setInitializationData
in interface IExecutableExtension
- Throws:
CoreException
getProjectDescriptors
protected java.util.List<AbstractExampleInstallerWizard.ProjectDescriptor> getProjectDescriptors()
- Description copied from class:
AbstractExampleInstallerWizard
- Returns the project descriptors to be used by this wizard. This method is
called multiple times, so subclasses are expected to cache this information
if necessary.
- Specified by:
getProjectDescriptors
in class AbstractExampleInstallerWizard
- Returns:
- a list of ProjectDescriptors
getFilesToOpen
protected java.util.List<AbstractExampleInstallerWizard.FileToOpen> getFilesToOpen()
- Specified by:
getFilesToOpen
in class AbstractExampleInstallerWizard
loadFromExtensionPoints
protected void loadFromExtensionPoints()