import net.sourceforge.phpeclipse.phpeditor.PHPEditor;
import net.sourceforge.phpeclipse.phpeditor.php.PHPWordExtractor;
-import org.eclipse.help.IHelp;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.text.BadLocationException;
} catch (IOException e) {
}
} else {
- IHelp help = WorkbenchHelp.getHelpSupport();
- if (help != null) {
+// IHelp help = WorkbenchHelp.getHelpSupport();
+// if (help != null) {
PHPFunctionHelpResource helpResource = new PHPFunctionHelpResource(word);
- WorkbenchHelp.getHelpSupport().displayHelpResource(helpResource);
- } else {
+ WorkbenchHelp.displayHelpResource(helpResource.getHref());
+ //getHelpSupport().displayHelpResource(helpResource);
+// } else {
// showMessage(shell, dialogTitle, ActionMessages.getString("Open help not available"), false); //$NON-NLS-1$
- }
+// }
}
}