[jbosstools-commits] JBoss Tools SVN: r6763 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Mar 7 07:53:59 EST 2008


Author: scabanovich
Date: 2008-03-07 07:53:58 -0500 (Fri, 07 Mar 2008)
New Revision: 6763

Modified:
   trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard/DefaultStandardWizard.java
Log:
JBIDE-1692

Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard/DefaultStandardWizard.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard/DefaultStandardWizard.java	2008-03-07 12:39:04 UTC (rev 6762)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/wizards/standard/DefaultStandardWizard.java	2008-03-07 12:53:58 UTC (rev 6763)
@@ -14,6 +14,7 @@
 import org.eclipse.jface.wizard.IWizardPage;
 import org.eclipse.jface.wizard.Wizard;
 import org.eclipse.swt.widgets.Composite;
+import org.eclipse.ui.PlatformUI;
 
 import org.jboss.tools.common.meta.action.XEntityData;
 import org.jboss.tools.common.meta.action.impl.SpecialWizardSupport;
@@ -54,6 +55,11 @@
 	}
 	
 	public void createPageControls(Composite pageContainer) {
+		String helpContextId = (support == null) ? null : support.getHelpContextId();		
+		if(helpContextId != null) {
+			PlatformUI.getWorkbench().getHelpSystem().setHelp(pageContainer, helpContextId);
+		}
+
 		this.pageContainer = pageContainer;
 		for (int i = 0; i < steps.length; i++){
 			IWizardPage page = steps[i];




More information about the jbosstools-commits mailing list