Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 68537
Collapse All | Expand All

(-)TypeHierarchyViewPart.java (-7 / +5 lines)
Lines 1197-1215 Link Here
1197
		String viewerTitle= getCurrentViewer().getTitle();
1197
		String viewerTitle= getCurrentViewer().getTitle();
1198
		
1198
		
1199
		String tooltip;
1199
		String tooltip;
1200
		String title;
1200
		String contentDescription = ""; //$NON-NLS-1$
1201
		if (fInputElement != null) {
1201
		if (fInputElement != null) {
1202
			String[] args= new String[] { viewerTitle, JavaElementLabels.getElementLabel(fInputElement, JavaElementLabels.ALL_DEFAULT) };
1202
			contentDescription = JavaElementLabels.getElementLabel(fInputElement, JavaElementLabels.ALL_DEFAULT);
1203
			title= TypeHierarchyMessages.getFormattedString("TypeHierarchyViewPart.title", args); //$NON-NLS-1$
1203
			String[] args= new String[] { viewerTitle, contentDescription };
1204
			tooltip= TypeHierarchyMessages.getFormattedString("TypeHierarchyViewPart.tooltip", args); //$NON-NLS-1$
1204
			tooltip= TypeHierarchyMessages.getFormattedString("TypeHierarchyViewPart.tooltip", args); //$NON-NLS-1$
1205
		} else {
1205
		} else {
1206
			title= viewerTitle;
1207
			tooltip= viewerTitle;
1206
			tooltip= viewerTitle;
1208
		}
1207
		}
1209
		setTitle(title);
1208
		setContentDescription(contentDescription);
1210
		setTitleToolTip(tooltip);
1209
		setTitleToolTip(tooltip);
1211
	}
1210
	}	
1212
	
1213
	private void updateToolbarButtons() {
1211
	private void updateToolbarButtons() {
1214
		boolean isType= fInputElement instanceof IType;
1212
		boolean isType= fInputElement instanceof IType;
1215
		for (int i= 0; i < fViewActions.length; i++) {
1213
		for (int i= 0; i < fViewActions.length; i++) {

Return to bug 68537