Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Hyperlink disabled for messages in Forms
Hyperlink disabled for messages in Forms [message #70885] Mon, 21 January 2008 04:34 Go to next message
Paul Norrie is currently offline Paul NorrieFriend
Messages: 51
Registered: July 2009
Member
Hi

I'm enjoying playing with RAP immensely. Great work guys. I notice that
with the Forms UI, messages in the Form Header do not display as a
hyperlink but always as only a label. This makes it difficult to see
multiple messages, which were added in 3.3.

Is there a particular reason for this?

See
org.eclipse.ui.internal.forms.widgets.FormHeading#ensureCont rolExists() of
which here's an excerpt from lines 481 - 485 (RAP version 1.0.0):


// messageHyperlink = new Hyperlink(FormHeading.this, SWT.NULL);
messageHyperlink = new Label(FormHeading.this, SWT.NULL);
// messageHyperlink.setUnderlined(true);
messageHyperlink.setText(message);
// messageHyperlink.setHref(messages);


Notice the hyperlink methods have been commented out and label methods
used instead.
Re: Hyperlink disabled for messages in Forms [message #70957 is a reply to message #70885] Mon, 21 January 2008 23:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Hi Paul,

it looks like we overlooked to use the Hyperlink widget everywhere, once
it was implemented. While adopting Eclipse Forms, the Hyperlink widget
wasn't implemented in the first place and meanwhile a label served as a
placeholder.
Feel free to file a bug report - and attach a patch if you like to - to
track progress on this issue.

Cheers,
Rüdiger

Paul Norrie wrote:
> Hi
>
> I'm enjoying playing with RAP immensely. Great work guys. I notice
> that with the Forms UI, messages in the Form Header do not display as a
> hyperlink but always as only a label. This makes it difficult to see
> multiple messages, which were added in 3.3.
>
> Is there a particular reason for this?
>
> See
> org.eclipse.ui.internal.forms.widgets.FormHeading#ensureCont rolExists()
> of which here's an excerpt from lines 481 - 485 (RAP version 1.0.0):
>
>
> // messageHyperlink = new Hyperlink(FormHeading.this, SWT.NULL);
> messageHyperlink = new Label(FormHeading.this, SWT.NULL);
> // messageHyperlink.setUnderlined(true);
> messageHyperlink.setText(message);
> // messageHyperlink.setHref(messages);
>
>
> Notice the hyperlink methods have been commented out and label methods
> used instead.
>
Re: Hyperlink disabled for messages in Forms [message #71723 is a reply to message #70957] Fri, 25 January 2008 04:30 Go to previous message
Paul Norrie is currently offline Paul NorrieFriend
Messages: 51
Registered: July 2009
Member
I've submitted bug 216538 and (hopefully) will later attach a patch for it.

Cheers
Previous Topic:ActivateEvent verses ShellEvent?
Next Topic:problem with images
Goto Forum:
  


Current Time: Sun Sep 15 09:11:35 GMT 2024

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

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

Back to the top