DefaultLinkPresenter working strangely? [message #464447] |
Tue, 06 March 2007 08:28  |
Eclipse User |
|
|
|
Hello,
I have a source viewer, and I'd only like to add a new HyperLinkDetector to it. So,
I've subclassed the SourceViewerConfiguration class, and re-implemented the
getHyperlinkDetectors to return the usual URLHyperlinkDetector plus my own one.
To change the presentation of the links, a DefaultLinkPresenter is returned by the
original SourceViewerConfiguration class.
When I use my viewer, I do:
viewer.configure(new MyOwnViewerConfiguration());
Once done, I am surprised that the links are not underlined.
Could anybody help me on this problem? I'm getting really crazy trying to find where
Eclipse's own DefaultLinkPresenter fails... :(
Thanks,
Sébastien
|
|
|
Re: DefaultLinkPresenter working strangely? [message #464598 is a reply to message #464447] |
Mon, 12 March 2007 09:38  |
Eclipse User |
|
|
|
Sebastien Pennec wrote:
> Hello,
>
> I have a source viewer, and I'd only like to add a new
> HyperLinkDetector to it. So, I've subclassed the
> SourceViewerConfiguration class, and re-implemented the
> getHyperlinkDetectors to return the usual URLHyperlinkDetector plus my
> own one.
>
> To change the presentation of the links, a DefaultLinkPresenter is
> returned by the original SourceViewerConfiguration class.
>
> When I use my viewer, I do:
>
> viewer.configure(new MyOwnViewerConfiguration());
>
> Once done, I am surprised that the links are not underlined.
The links aren't permanently underlined but only while the hyperlink
modifier is pressed while moving the mouse.
Dani
>
> Could anybody help me on this problem? I'm getting really crazy trying
> to find where Eclipse's own DefaultLinkPresenter fails... :(
>
> Thanks,
>
> Sébastien
|
|
|
Powered by
FUDForum. Page generated in 0.08858 seconds