Author: scabanovich
Date: 2007-10-01 10:31:12 -0400 (Mon, 01 Oct 2007)
New Revision: 3925
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/CreateProjectAction.java
Log:
JBIDE-821
Modified:
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/CreateProjectAction.java
===================================================================
---
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/CreateProjectAction.java 2007-10-01
14:17:03 UTC (rev 3924)
+++
trunk/jsf/plugins/org.jboss.tools.jsf.ui/src/org/jboss/tools/jsf/ui/action/CreateProjectAction.java 2007-10-01
14:31:12 UTC (rev 3925)
@@ -24,6 +24,7 @@
import org.jboss.tools.jsf.messages.JSFUIMessages;
import org.jboss.tools.jsf.ui.JsfUiImages;
import org.jboss.tools.jsf.ui.JsfUiPlugin;
+import org.jboss.tools.jsf.ui.wizard.project.NewProjectWizard;
import org.jboss.tools.common.model.ui.*;
public class CreateProjectAction extends Action implements IWorkbenchWindowActionDelegate
{
@@ -39,9 +40,12 @@
JSFModelPlugin.PLUGIN_ID,
"org.jboss.tools.jsf.ui.wizard.project.NewProjectWizard"
);
+ ((NewProjectWizard)wizard).setHelpAvailable(false);
if (wizard != null) {
wizard.init(ModelUIPlugin.getDefault().getWorkbench(), null);
WizardDialog dialog = new
WizardDialog(ModelUIPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getShell(),
wizard);
+ dialog.create();
+ JsfUiPlugin.getDefault().getWorkbench().getHelpSystem().setHelp(dialog.getShell(),
"org.eclipse.ui.ide.new_project_wizard_context");
dialog.open();
} else {
JsfUiPlugin.getPluginLog().logError("Unable to create wizard
'org.jboss.tools.jsf.ui.wizard.project.NewProjectWizard'");
Show replies by date