[jbosstools-commits] JBoss Tools SVN: r6772 - trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/editor.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Mar 7 09:23:59 EST 2008


Author: dazarov
Date: 2008-03-07 09:23:59 -0500 (Fri, 07 Mar 2008)
New Revision: 6772

Modified:
   trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/editor/StrutsConfigEditor.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/editor/StrutsConfigEditor.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/editor/StrutsConfigEditor.java	2008-03-07 14:23:18 UTC (rev 6771)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/editor/StrutsConfigEditor.java	2008-03-07 14:23:59 UTC (rev 6772)
@@ -16,6 +16,8 @@
 import org.jboss.tools.common.model.ui.texteditors.XMLTextEditorComponent;
 import org.eclipse.gef.ui.actions.ActionRegistry;
 import org.eclipse.jface.viewers.ISelectionProvider;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.PlatformUI;
 import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
 
 import org.jboss.tools.common.model.XFilteredTreeConstraint;
@@ -30,6 +32,12 @@
 import org.jboss.tools.struts.ui.StrutsUIPlugin;
 
 public class StrutsConfigEditor extends ObjectMultiPageEditor {
+	protected Composite createPageContainer(Composite parent) {
+		Composite composite = super.createPageContainer(parent);
+		PlatformUI.getWorkbench().getHelpSystem().setHelp(parent, "org.jboss.tools.jsf.doc.user.struts_config_editor");
+		return composite;
+	}
+
 	protected StrutsConfigGuiEditor guiEditor;
 ///	StrutsConfigPartListener partListener = new StrutsConfigPartListener();
 	protected XFilteredTreeConstraint constraint = new org.jboss.tools.struts.model.FileSystemsTreeConstraint();




More information about the jbosstools-commits mailing list