use of org.eclipse.help.ui.internal.views.ReusableHelpPart in project tdq-studio-se by Talend.
the class ExpressionEditDialog method showHelp.
/**
* DOC yyi Comment method "showHelp".
*/
protected void showHelp() {
IContext context = HelpSystem.getContext(HelpPlugin.getDefault().getExpressionEditContextID());
if (null != context && 0 < context.getRelatedTopics().length) {
openTray(new HelpTray());
ReusableHelpPart helpPart = ((HelpTray) getTray()).getHelpPart();
helpPart.showURL(context.getRelatedTopics()[0].getHref());
}
}
Aggregations