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 92478 Details for
Bug 222610
PDE Hyperlinks don't respect preference
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
patch.txt (text/plain), 1.71 KB, created by
Dani Megert
on 2008-03-13 12:48:14 EDT
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Dani Megert
Created:
2008-03-13 12:48:14 EDT
Size:
1.71 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.ui >Index: src/org/eclipse/pde/internal/ui/editor/text/ChangeAwareSourceViewerConfiguration.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/text/ChangeAwareSourceViewerConfiguration.java,v >retrieving revision 1.14 >diff -u -r1.14 ChangeAwareSourceViewerConfiguration.java >--- src/org/eclipse/pde/internal/ui/editor/text/ChangeAwareSourceViewerConfiguration.java 28 Feb 2008 02:28:24 -0000 1.14 >+++ src/org/eclipse/pde/internal/ui/editor/text/ChangeAwareSourceViewerConfiguration.java 13 Mar 2008 16:47:07 -0000 >@@ -147,9 +147,21 @@ > } > > public IHyperlinkDetector[] getHyperlinkDetectors(ISourceViewer sourceViewer) { >- if (fSourcePage != null) >- return new IHyperlinkDetector[] {(IHyperlinkDetector) fSourcePage.getAdapter(IHyperlinkDetector.class)}; >- return super.getHyperlinkDetectors(sourceViewer); >+ IHyperlinkDetector[] registeredDetectors = super.getHyperlinkDetectors(sourceViewer); >+ if (registeredDetectors == null) >+ return null; >+ >+ if (fSourcePage == null) >+ return registeredDetectors; >+ >+ IHyperlinkDetector additionalDetector = (IHyperlinkDetector) fSourcePage.getAdapter(IHyperlinkDetector.class); >+ if (additionalDetector == null) >+ return registeredDetectors; >+ >+ IHyperlinkDetector[] allDetectors = new IHyperlinkDetector[registeredDetectors.length + 1]; >+ System.arraycopy(registeredDetectors, 0, allDetectors, 0, registeredDetectors.length); >+ allDetectors[registeredDetectors.length] = additionalDetector; >+ return allDetectors; > } > > public abstract boolean affectsTextPresentation(PropertyChangeEvent event);
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 222610
: 92478