Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » XWT. How to use Link with anchor?
XWT. How to use Link with anchor? [message #550249] Thu, 29 July 2010 15:36 Go to next message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
AFAIK part of text between <a> and </a> is underlined and can be clicked.

I've tried this:
<Link text="&lt;a&gt;New Link&lt;a/&gt;"/>

But it does not show underlined text.
And I can not include < and > directly into text, because XML does not allow me do this.


Konstantin Scheglov,
Google, Inc.
Re: XWT. How to use Link with anchor? [message #550252 is a reply to message #550249] Thu, 29 July 2010 15:44 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Did you try &gt; und &lt;?

Tom

Am 29.07.10 17:36, schrieb Konstantin Scheglov:
> AFAIK part of text between <a> and </a> is underlined and can be clicked.
>
> I've tried this:
> <Link text="<a>New Link<a/>"/>
> But it does not show underlined text.
> And I can not include < and > directly into text, because XML does not
> allow me do this.
Re: XWT. How to use Link with anchor? [message #550285 is a reply to message #550252] Thu, 29 July 2010 18:36 Go to previous messageGo to next message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
Tom Schindl wrote on Thu, 29 July 2010 19:44
Did you try &gt; und &lt;?


Yes, this is exactly what I've used.
See code in my original message.
Well, may be these entities are not displayed correctly in some browsers/readers.


Konstantin Scheglov,
Google, Inc.
Re: XWT. How to use Link with anchor? [message #550601 is a reply to message #550249] Sat, 31 July 2010 08:42 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
The Text uses the SWT Text widget, which doens't support the hyperlink
instead. I think you can use the Link or HyperLink of Eclipse forms.

best regards
yves yang
"Konstantin Scheglov" <Konstantin.Scheglov@gmail.com> wrote in message
news:i2s76n$s33$1@build.eclipse.org...
> AFAIK part of text between <a> and </a> is underlined and can be clicked.
>
> I've tried this:
> <Link text="<a>New Link<a/>"/>
> But it does not show underlined text.
> And I can not include < and > directly into text, because XML does not
> allow me do this.
> --
> Konstantin Scheglov,
> Instantiations, Inc.
Re: XWT. How to use Link with anchor? [message #550605 is a reply to message #550601] Sat, 31 July 2010 08:47 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Sorry, I replied too quickly without looking at the code. If it doesn't
work, please fill a bug.

Best regards
Yves YANG
"Yves YANG" <yves.yang@soyatec.com> wrote in message
news:i30nme$ame$1@build.eclipse.org...
> The Text uses the SWT Text widget, which doens't support the hyperlink
> instead. I think you can use the Link or HyperLink of Eclipse forms.
>
> best regards
> yves yang
> "Konstantin Scheglov" <Konstantin.Scheglov@gmail.com> wrote in message
> news:i2s76n$s33$1@build.eclipse.org...
>> AFAIK part of text between <a> and </a> is underlined and can be clicked.
>>
>> I've tried this:
>> <Link text="<a>New Link<a/>"/>
>> But it does not show underlined text.
>> And I can not include < and > directly into text, because XML does not
>> allow me do this.
>> --
>> Konstantin Scheglov,
>> Instantiations, Inc.
>
>
Re: XWT. How to use Link with anchor? [message #579666 is a reply to message #550252] Thu, 29 July 2010 18:36 Go to previous message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
Tom Schindl wrote on Thu, 29 July 2010 19:44
> Did you try > und <?


Yes, this is exactly what I've used.
See code in my original message.
Well, may be these entities are not displayed correctly in some browsers/readers.

--
Konstantin Scheglov,
Instantiations, Inc.


Konstantin Scheglov,
Google, Inc.
Re: XWT. How to use Link with anchor? [message #579927 is a reply to message #550601] Sat, 31 July 2010 08:47 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
Sorry, I replied too quickly without looking at the code. If it doesn't
work, please fill a bug.

Best regards
Yves YANG
"Yves YANG" <yves.yang@soyatec.com> wrote in message
news:i30nme$ame$1@build.eclipse.org...
> The Text uses the SWT Text widget, which doens't support the hyperlink
> instead. I think you can use the Link or HyperLink of Eclipse forms.
>
> best regards
> yves yang
> "Konstantin Scheglov" <Konstantin.Scheglov@gmail.com> wrote in message
> news:i2s76n$s33$1@build.eclipse.org...
>> AFAIK part of text between <a> and </a> is underlined and can be clicked.
>>
>> I've tried this:
>> <Link text="<a>New Link<a/>"/>
>> But it does not show underlined text.
>> And I can not include < and > directly into text, because XML does not
>> allow me do this.
>> --
>> Konstantin Scheglov,
>> Instantiations, Inc.
>
>
Previous Topic:XWT. How to use Link with anchor?
Next Topic:Developing plug-ins
Goto Forum:
  


Current Time: Thu Mar 28 12:39:01 GMT 2024

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

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

Back to the top