public interface IExtensionEditorWizard extends IBasePluginWizard
Modifier and Type | Method and Description |
---|---|
void |
init(IProject project,
IPluginModelBase pluginModel,
IStructuredSelection selection)
Initializes the wizard with the project of the plug-in and the model
object for the plug-in manifest file.
|
addPages, canFinish, createPageControls, dispose, getContainer, getDefaultPageImage, getDialogSettings, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, getTitleBarColor, getWindowTitle, isHelpAvailable, needsPreviousAndNextButtons, needsProgressMonitor, performCancel, performFinish, setContainer
void init(IProject project, IPluginModelBase pluginModel, IStructuredSelection selection)
The wizard is opened on a current selection in the extension tree. It is supposed to modify the selected element and/or its children using plug-in model APIs. The setters on the APIs will cause the model to be dirty and make the editor dirty as well. Saving the editor will commit the changes made by the wizard to the edited file.
project
- the plug-in project resource where the new code and resources
should gopluginModel
- the model instance that should be used to modify the plug-in
manifestselection
- the currently selected extension or extension element in the
manifest editor extension tree
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.