|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alveole.studio.web.wizard.Struts2FeatureWizard
public class Struts2FeatureWizard
This wizard enables Struts2 feature. It may be used to drop struts2 dependencies into web project.
Constructor Summary | |
---|---|
Struts2FeatureWizard()
|
Method Summary | |
---|---|
static void |
copyDependencies(java.lang.String targetDir,
ProjectContext ctx,
boolean force)
Copies JAR files on project. |
org.eclipse.jface.wizard.IWizardPage[] |
getPages()
Get wizard pages. |
void |
perform()
Perform feature enabling. |
void |
setProject(Project project)
Set project. |
static boolean |
updateDependencies(java.lang.String targetDir,
ProjectContext ctx,
java.lang.String oldVersion)
Updates JAR files on project. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Struts2FeatureWizard()
Method Detail |
---|
public org.eclipse.jface.wizard.IWizardPage[] getPages()
getPages
in interface IFeatureWizard
public static void copyDependencies(java.lang.String targetDir, ProjectContext ctx, boolean force)
public static boolean updateDependencies(java.lang.String targetDir, ProjectContext ctx, java.lang.String oldVersion)
targetDir
- The default target dir.ctx
- The project context.oldVersion
- The version of the project being updated.public void perform()
perform
in interface IFeatureWizard
public void setProject(Project project)
setProject
in interface IFeatureWizard
project
- The reference to current project.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |