Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 12806 Details for
Bug 68537
TypeHierarchyViewPart uses deprecated setTitle API [type hierarchy]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Fix for this bug
68537_TypeHierarchyViewPart_patch.txt (text/plain), 1.44 KB, created by
Stefan Xenos
on 2004-06-24 16:31:26 EDT
(
hide
)
Description:
Fix for this bug
Filename:
MIME Type:
Creator:
Stefan Xenos
Created:
2004-06-24 16:31:26 EDT
Size:
1.44 KB
patch
obsolete
>Index: TypeHierarchyViewPart.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/TypeHierarchyViewPart.java,v >retrieving revision 1.186 >diff -u -r1.186 TypeHierarchyViewPart.java >--- TypeHierarchyViewPart.java 23 Jun 2004 19:33:38 -0000 1.186 >+++ TypeHierarchyViewPart.java 24 Jun 2004 20:26:06 -0000 >@@ -1197,19 +1197,17 @@ > String viewerTitle= getCurrentViewer().getTitle(); > > String tooltip; >- String title; >+ String contentDescription = ""; //$NON-NLS-1$ > if (fInputElement != null) { >- String[] args= new String[] { viewerTitle, JavaElementLabels.getElementLabel(fInputElement, JavaElementLabels.ALL_DEFAULT) }; >- title= TypeHierarchyMessages.getFormattedString("TypeHierarchyViewPart.title", args); //$NON-NLS-1$ >+ contentDescription = JavaElementLabels.getElementLabel(fInputElement, JavaElementLabels.ALL_DEFAULT); >+ String[] args= new String[] { viewerTitle, contentDescription }; > tooltip= TypeHierarchyMessages.getFormattedString("TypeHierarchyViewPart.tooltip", args); //$NON-NLS-1$ > } else { >- title= viewerTitle; > tooltip= viewerTitle; > } >- setTitle(title); >+ setContentDescription(contentDescription); > setTitleToolTip(tooltip); >- } >- >+ } > private void updateToolbarButtons() { > boolean isType= fInputElement instanceof IType; > for (int i= 0; i < fViewActions.length; i++) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 68537
: 12806