eclipse plugin: Force the help icon to appear
This commit is contained in:
parent
39bf3ff681
commit
3d9ff78df6
2 changed files with 4 additions and 2 deletions
|
@ -12,6 +12,7 @@ import java.util.Map.Entry;
|
|||
|
||||
import org.eclipse.core.resources.IProject;
|
||||
import org.eclipse.jface.resource.ImageDescriptor;
|
||||
import org.eclipse.jface.wizard.WizardDialog;
|
||||
import org.eclipse.swt.widgets.Display;
|
||||
import org.eclipse.swt.widgets.Shell;
|
||||
import org.eclipse.ui.PlatformUI;
|
||||
|
@ -55,6 +56,8 @@ public class WesnothPlugin extends AbstractUIPlugin
|
|||
});
|
||||
}
|
||||
}
|
||||
|
||||
WizardDialog.setDialogHelpAvailable( true );
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -30,12 +30,12 @@ public abstract class NewWizardTemplate extends Wizard implements INewWizard
|
|||
public NewWizardTemplate()
|
||||
{
|
||||
setNeedsProgressMonitor(true);
|
||||
setHelpAvailable(true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void init(IWorkbench workbench, IStructuredSelection selection)
|
||||
{
|
||||
setHelpAvailable(true);
|
||||
this.selection_ = selection;
|
||||
initialize();
|
||||
}
|
||||
|
@ -43,7 +43,6 @@ public abstract class NewWizardTemplate extends Wizard implements INewWizard
|
|||
@Override
|
||||
public void createPageControls( Composite pageContainer )
|
||||
{
|
||||
setHelpAvailable( true );
|
||||
WesnothPlugin.getDefault().getWorkbench().getHelpSystem().setHelp( pageContainer,
|
||||
"org.wesnoth.wizardHelp"); //$NON-NLS-1$
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue