Bug 74099 - [Wizards] No help content for New -> Other
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchMessages.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchMessages.java
index 4ce09ad..31e6679 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchMessages.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchMessages.java
@@ -309,6 +309,7 @@
public static String NewWizard_title;
public static String NestedContext_0;
public static String NewWizardNewPage_moreHelp;
+ public static String NewWizardNewPage_noHelp;
public static String NewWizardNewPage_description;
public static String NewWizardNewPage_wizardsLabel;
public static String NewWizardNewPage_showAll;
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardNewPage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardNewPage.java
index 0452524..7c31f2b 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardNewPage.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/NewWizardNewPage.java
@@ -459,8 +459,6 @@
ToolBar toolBar = new ToolBar(composite, SWT.FLAT);
helpButton = new ToolItem(toolBar, SWT.NONE);
helpButton.setImage(buttonImage);
- helpButton.setEnabled(false);
- helpButton.setToolTipText(WorkbenchMessages.NewWizardNewPage_moreHelp);
data = new GridData(GridData.HORIZONTAL_ALIGN_END
| GridData.VERTICAL_ALIGN_END);
if (!needShowAll)
@@ -663,8 +661,10 @@
if (wizardHelpHref != null) {
helpButton.setEnabled(true);
+ helpButton.setToolTipText(WorkbenchMessages.NewWizardNewPage_moreHelp);
} else {
helpButton.setEnabled(false);
+ helpButton.setToolTipText(WorkbenchMessages.NewWizardNewPage_noHelp);
}
if (hasImage(selectedObject)) {
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties
index ed7ce06..0691b61 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/messages.properties
@@ -294,6 +294,7 @@
NewWizard_title = New
NestedContext_0=Expecting object of type {0} but found {1}
NewWizardNewPage_moreHelp = More help is available for this wizard
+NewWizardNewPage_noHelp = No help is available for this wizard
NewWizardNewPage_description = The following resource creation wizards are available.
NewWizardNewPage_wizardsLabel = &Wizards:
NewWizardNewPage_showAll = &Show All Wizards.