Bug 120567 [CommonNavigator] Javadoc warnings in 3.2 M4 Test Candidate
3.2 M4 Test Candidate There are several javadoc warnings in org.eclipse.ui.navigator. These should be fixed for 3.2 M4. Generating reference/api/org/eclipse/ui/navigator/ICommonActionProvider.html... /builds/I200512130010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/ICommonActionProvider.java:66: warning - Tag @link: can't find init(IViewPart, StructuredViewer, NavigatorContentService) in org.eclipse.ui.navigator.ICommonActionProvider /builds/I200512130010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/ICommonActionProvider.java:66: warning - Tag @link: can't find init(IViewPart, StructuredViewer, NavigatorContentService) in org.eclipse.ui.navigator.ICommonActionProvider /builds/I200512130010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/ICommonActionProvider.java:66: warning - Tag @link: can't find init(IViewPart, StructuredViewer, NavigatorContentService) in org.eclipse.ui.navigator.ICommonActionProvider /builds/I200512130010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/ICommonActionProvider.java:66: warning - Tag @link: can't find init(IViewPart, StructuredViewer, NavigatorContentService) in org.eclipse.ui.navigator.ICommonActionProvider /builds/I200512130010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/CommonNavigator.java:125: warning - Tag @link: Class or Package not found: POPUP_MENU_ID
bundles/org.eclipse.ui.navigator/src/org/eclipse/ui/navigator/CommonNavigator.java
*/
	protected void updateTitle() {
		if (commonViewer == null)
			return;
		Object input = commonViewer.getInput();
		String viewName = getConfigurationElement().getAttribute("name");  
		
		if (input == null) {
			setPartName(viewName);
			setTitleToolTip("");  
		} else {			
			String inputToolTip = getFrameToolTipText(input);
			
			setPartName(viewName);
			setTitleToolTip(inputToolTip);
		}
	}
	/**
	 * <p>
	 * Returns the tool tip text for the given element. Used as the tool tip text for the current
	 * frame, and for the view title tooltip.
	 * </p>
	 */
	protected String getFrameToolTipText(Object anElement) {
		if (commonViewer != null)
			return ((ILabelProvider) commonViewer.getLabelProvider()).getText(anElement);
		return ""; 
	}
}