// text provided through an IDocumentationProvider
// Check whether there is a documentation provider for the language;
// if so, check whether it provides documentation for the help node;
// if so, return that documentation
IDocumentationProvider docProvider = null;
if (fLanguage != null)
{
try
{
docProvider = ServiceFactory.getInstance()
.getDocumentationProvider(fLanguage);
}
catch (Exception e)
{
Activator.getInstance()
.writeErrorMsg(
"Exception getting Documentation Provider Service from service factory");
fResolver = null;
}
}
if (docProvider != null)
{
msg = docProvider.getDocumentation(helpNode, parseController);
if (msg != null)
{
return msg;
}
}