I have a class that extends TrayDialog and that has a help button. I have set the folowing:
setDialogHelpAvailable(true);
setHelpAvailable(true);
And I can't find how I'm supposed to implement the Help button in the lower left corner. I've tried
@Override
protected void buttonPressed(int buttonId) {
super.buttonPressed(buttonId);
if(buttonId == IDialogConstants.HELP_ID) {
System.out.println("Help requested");
}
}
But it doesn't work. I've seen Can't put content behind SWT Wizard Help Button but I have no performHelp() method because I'm not in a wizard.
What am I missing here? thanks