javadocSummary= "<b>Javadoc for " + elementLabel + ":</b>\n" + javadocSummary;
javadocSummary= "<b>Javadoc for " + elementLabel + ":</b><br>" + javadocSummary;
	public JavadocHelpContext(IContext context, Object[] elements) throws JavaModelException {		Assert.isNotNull(elements);		if (context instanceof IContext2)			fTitle= ((IContext2)context).getTitle();		List helpResources= new ArrayList();		String javadocSummary= null;		for (int i= 0; i < elements.length; i++) {			if (elements[i] instanceof IJavaElement) {				IJavaElement element= (IJavaElement) elements[i];				// if element isn't on the build path skip it				if (!ActionUtil.isOnBuildPath(element))					continue;								// Create Javadoc summary				if (BUG_85719_FIXED) {					if (javadocSummary == null) {						javadocSummary= retrieveText(element);						if (javadocSummary != null) {							String elementLabel= JavaElementLabels.getTextLabel(element, JavaElementLabels.ALL_DEFAULT);							javadocSummary= "<b>Javadoc for " + elementLabel + ":</b>\n" + javadocSummary;						}					} else {						javadocSummary= ""; // no Javadoc summary for multiple selection //$NON-NLS-1$					}					}								URL url= JavaUI.getJavadocLocation(element, true);				if (url == null || doesNotExist(url)) {					IPackageFragmentRoot root= JavaModelUtil.getPackageFragmentRoot(element);					if (root != null) {						url= JavaUI.getJavadocBaseLocation(element);						if (root.getKind() == IPackageFragmentRoot.K_SOURCE) {							element= element.getJavaProject();						} else {							element= root;						}						url= JavaUI.getJavadocLocation(element, false);					}				}				if (url != null) {					IHelpResource javaResource= new JavaUIHelpResource(element, url.toExternalForm() + "?noframes=true" ); //$NON-NLS-1$					helpResources.add(javaResource);				}			}		}		// Add static help topics		if (context != null) {			IHelpResource[] resources= context.getRelatedTopics();			if (resources != null) {				for (int j= 0; j < resources.length; j++) {					helpResources.add(resources[j]);				}			}		}				fHelpResources= (IHelpResource[]) helpResources.toArray(new IHelpResource[helpResources.size()]);		if (context != null)			fText= context.getText();				if (BUG_85719_FIXED) {			if (javadocSummary != null && javadocSummary.length() > 0) {				if (fText != null)					fText= context.getText() + "\n\n" + javadocSummary; //$NON-NLS-1$				else					fText= javadocSummary;			}		}				if (fText == null)			fText= "";  //$NON-NLS-1$			}