if (context instanceof IContext2) fTitle= ((IContext2)context).getTitle();
	public JavadocHelpContext(IContext context, Object[] elements) throws JavaModelException {		Assert.isNotNull(elements);		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				// This will have to wait due to https://bugs.eclipse.org/bugs/show_bug.cgi?id=85719//				if (javadocSummary == null) {//					javadocSummary= retrieveText(element);//					if (javadocSummary != null) {//						String elementLabel= JavaElementLabels.getTextLabel(element, JavaElementLabels.ALL_DEFAULT);//						javadocSummary= "<b>Javadoc for " + elementLabel + ":</b><br>" + 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();				// This will have to wait due to https://bugs.eclipse.org/bugs/show_bug.cgi?id=85719//		if (javadocSummary != null && javadocSummary.length() > 0) {//			if (fText != null)//				fText= context.getText() + "<br><br>" + javadocSummary; //$NON-NLS-1$//			else//				fText= javadocSummary;//		}				if (fText == null)			fText= "";  //$NON-NLS-1$			}