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 31899 Details for
Bug 121313
PDE outline broken in 3.2 M4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to PdeUiBridge
121313 patch.txt (text/plain), 1.24 KB, created by
Brock Janiczak
on 2005-12-17 03:12:40 EST
(
hide
)
Description:
Patch to PdeUiBridge
Filename:
MIME Type:
Creator:
Brock Janiczak
Created:
2005-12-17 03:12:40 EST
Size:
1.24 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylar.xml >Index: src/org/eclipse/mylar/xml/pde/PdeUiBridge.java >=================================================================== >RCS file: /home/technology/org.eclipse.mylar/org.eclipse.mylar.xml/src/org/eclipse/mylar/xml/pde/PdeUiBridge.java,v >retrieving revision 1.9 >diff -u -r1.9 PdeUiBridge.java >--- src/org/eclipse/mylar/xml/pde/PdeUiBridge.java 15 Dec 2005 21:06:44 -0000 1.9 >+++ src/org/eclipse/mylar/xml/pde/PdeUiBridge.java 17 Dec 2005 08:12:01 -0000 >@@ -212,7 +212,12 @@ > if (f != null && f instanceof FormOutlinePage) { > // get the tree viewer for the outline > Class clazz2 = FormOutlinePage.class; >- Field field2 = clazz2.getDeclaredField("treeViewer"); >+ Field field2 = null; >+ try { >+ field2 = clazz2.getDeclaredField("treeViewer"); >+ } catch (NoSuchFieldException e) { >+ field2 = clazz2.getDeclaredField("fTreeViewer"); >+ } > field2.setAccessible(true); > Object f2 = field2.get(f); > if (f2 != null && f2 instanceof TreeViewer) {
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 121313
: 31899