Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Super Tooltip(A pop up box that shows more content than a regular tooltip item)
Super Tooltip [message #894122] Fri, 06 July 2012 18:06 Go to next message
Ronald So is currently offline Ronald So
Messages: 198
Registered: April 2011
Senior Member
Hi,

Is it possible for RAP to show a super tooltip like the following image?

http://www.useit.com/alertbox/super-tooltip.png

It will be very nice if this is doable in RAP as most modern Web application utilizes this component for just-in-time-help.

Thanks!

Ronald
Re: Super Tooltip [message #894732 is a reply to message #894122] Tue, 10 July 2012 09:56 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan Furnadjiev
Messages: 1839
Registered: July 2009
Senior Member
Hi Roland,
you could try the org.eclipse.swt.widgets.ToolTip widget. Currently, the
ToolTip widget does not support markup, but if you need it please open
an enhancement request.
Best,
Ivan

On 7/6/2012 9:06 PM, Ronald So wrote:
> Hi,
>
> Is it possible for RAP to show a super tooltip like the following image?
>
> http://www.useit.com/alertbox/super-tooltip.png
>
> It will be very nice if this is doable in RAP as most modern Web
> application utilizes this component for just-in-time-help.
>
> Thanks!
>
> Ronald

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Super Tooltip [message #894733 is a reply to message #894122] Tue, 10 July 2012 10:00 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 386
Registered: July 2009
Senior Member
Hi!

Well, there is the ToolTip widget in RAP, which mostly looks like this.
You can use RAP theming to change details like background and shadow.

However, it's limited regarding its content (plain text and one image
only), and it also doesn't support the "BALLOON" flag that gives it the
"tail"/pointer. If you don't require the pointer or widgets inside the
ToolTip, thats the one to use. If you want widgets inside, a shell could
be styled/themed like a ToolTip.

If you want that ballon look, its more complicated. We considered many
times to implement such pointers for certain widgets, but it proves to
be complicated for several reasons. Having said that, here is what could do:

1) Open an enhancement bug on bugzilla and wait for us to do it. The
problem is obviously that neither of us knows when that would happen.
However, just supporting the BALLOON flag for ToolTip should be
manageable work. I'm pretty sure it would be in Kepler.

2) I think it might be possible to hack the shell to achieve the effect.
I could give you some pointer, but remember it would be a hack, and I'm
not sure it would work out.

Greetings,
Tim

Am 06.07.2012 20:06, schrieb Ronald So:
> Hi,
>
> Is it possible for RAP to show a super tooltip like the following image?
>
> http://www.useit.com/alertbox/super-tooltip.png
>
> It will be very nice if this is doable in RAP as most modern Web
> application utilizes this component for just-in-time-help.
>
> Thanks!
>
> Ronald

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Super Tooltip [message #895605 is a reply to message #894733] Fri, 13 July 2012 18:30 Go to previous messageGo to next message
Ronald So is currently offline Ronald So
Messages: 198
Registered: April 2011
Senior Member
Thanks Tim. I am sure the shell approach will work just fine but it also requires quite a bit of coding to get the job done. While we are using RAP to build web applications, features like a super tool tip is highly desired that it works out of the box. May be I should log an enhancement request?
Re: Super Tooltip [message #895832 is a reply to message #895605] Mon, 16 July 2012 08:49 Go to previous message
Tim Buschtoens is currently offline Tim Buschtoens
Messages: 386
Registered: July 2009
Senior Member
Hi.

Am 13.07.2012 20:30, schrieb Ronald So:
> highly desired that it works out of the box. May be I should log an
> enhancement request?

Sure, go ahead. Please be as precise as possible on what you need
regarding visuals, features and API.

Greetings,
Tim

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:RAP, Eclipse E4 and SWT Browser Edition
Next Topic:Problem to proxy RAP-Runtime in Nexus
Goto Forum:
  


Current Time: Tue Oct 21 21:41:24 GMT 2014

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

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