我假设你正在使用标准的JFace接口和类来实现向导.因此,在向导页面(extending org.eclipse.jface.wizard.WizardPage)中,您只需要覆盖该performHelp方法.请参阅以下代码段.
@Override
public void performHelp()
{
Shell shell = new Shell(getShell());
shell.setText("My Custom Help !!");
shell.setLayout(new GridLayout());
shell.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
Browser browser = new Browser(shell, SWT.NONE);
browser.setUrl("http://stackoverflow.com/questions/7322489/cant-put-content-behind-swt-wizard-help-button");
browser.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
shell.open();
}
Run Code Online (Sandbox Code Playgroud)
>>Wizard image

>>After pressing the help button
