Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » DefaultLinkPresenter working strangely?
DefaultLinkPresenter working strangely? [message #464447] Tue, 06 March 2007 13:28 Go to next message
Sebastien Pennec is currently offline Sebastien PennecFriend
Messages: 31
Registered: July 2009
Member
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 13:38 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
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
Previous Topic:How to force RCP application to start with specific locale
Next Topic:Programatically finding selected editor's ID
Goto Forum:
  


Current Time: Tue Oct 08 19:39:27 GMT 2024

Powered by FUDForum. Page generated in 0.04187 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top