com.alveole.interfaces
Interface IFeatureWizard

All Known Implementing Classes:
Struts2FeatureWizard

public interface IFeatureWizard

This interface is used to enable features on a given project. Projects can enable plugin features (such as Struts or JSP,...) either at project creation, or later by clicking features button in general properties. Enabling new features consists in calling some pluggable wizards, that must perform all necessary modifications on current IJavaProject, such as adding new libraries, creating new properties files, or new xml files... Wizard consists in multiple IWizardPages (obtained by calling getPages()). At the end of process, perform() method is called to perform all necessary operations. Wizard must use Project API to add the newly activated feature.

Author:
sylvain
See Also:
Project

Method Summary
 org.eclipse.jface.wizard.IWizardPage[] getPages()
          Get the wizard pages to be displayed by features activation wizard.
 void perform()
          Perform feature activation.
 void setProject(Project project)
          Sets current edited project.
 

Method Detail

setProject

void setProject(Project project)
Sets current edited project.

Parameters:
project - The reference to current project.

getPages

org.eclipse.jface.wizard.IWizardPage[] getPages()
Get the wizard pages to be displayed by features activation wizard.

Returns:
The list of panels to be displayed.

perform

void perform()
Perform feature activation.