[jbosstools-commits] JBoss Tools SVN: r6903 - in trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui: wizard/addstruts and 1 other directory.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Wed Mar 12 13:36:27 EDT 2008
Author: dazarov
Date: 2008-03-12 13:36:27 -0400 (Wed, 12 Mar 2008)
New Revision: 6903
Modified:
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/IStrutsHelpContextIds.java
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/addstruts/AddStrutsSupportWizard.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1692
Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/IStrutsHelpContextIds.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/IStrutsHelpContextIds.java 2008-03-12 17:28:10 UTC (rev 6902)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/IStrutsHelpContextIds.java 2008-03-12 17:36:27 UTC (rev 6903)
@@ -22,4 +22,6 @@
public static final String IMPORT_STRUTS_PROJECT = PREFIX + "import_struts_project";
public static final String NEW_STRUTS_CONFIG = PREFIX + "new_struts_config";
+
+ public static final String ADD_STRUTS_SUPPORT = PREFIX + "add_struts_support";
}
Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/addstruts/AddStrutsSupportWizard.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/addstruts/AddStrutsSupportWizard.java 2008-03-12 17:28:10 UTC (rev 6902)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/wizard/addstruts/AddStrutsSupportWizard.java 2008-03-12 17:36:27 UTC (rev 6903)
@@ -13,11 +13,14 @@
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardDialog;
+import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IWorkbench;
+import org.eclipse.ui.PlatformUI;
import org.jboss.tools.common.model.ui.ModelUIImages;
import org.jboss.tools.jst.web.context.ImportWebDirProjectContext;
+import org.jboss.tools.struts.ui.IStrutsHelpContextIds;
import org.jboss.tools.struts.ui.StrutsUIPlugin;
public class AddStrutsSupportWizard extends Wizard {
@@ -34,6 +37,11 @@
return dialog.open();
}
+ public void createPageControls(Composite parent) {
+ super.createPageControls(parent);
+ PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, IStrutsHelpContextIds.ADD_STRUTS_SUPPORT);
+ }
+
public AddStrutsSupportWizard(ImportWebDirProjectContext context) {
this.context = context;
}
More information about the jbosstools-commits
mailing list