use of org.eclipse.ui.help.IWorkbenchHelpSystem in project tdi-studio-se by Talend.
the class HelpAvailableDialog method configureShell.
@Override
protected void configureShell(Shell newShell) {
super.configureShell(newShell);
setHelpAvailable(true);
IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
helpSystem.setHelp(newShell, getHelpContextId());
}
use of org.eclipse.ui.help.IWorkbenchHelpSystem in project tdi-studio-se by Talend.
the class AbstractScdDialog method addContextHelp.
public void addContextHelp(Control control, final String contextId) {
final IWorkbenchHelpSystem helpSystem = PlatformUI.getWorkbench().getHelpSystem();
helpSystem.setHelp(control, contextId);
control.addMouseTrackListener(new MouseTrackAdapter() {
@Override
public void mouseEnter(MouseEvent e) {
if (getTray() != null) {
helpSystem.displayHelp(contextId);
}
}
});
}
Aggregations