|
Re: Refresh tool tip on figure [message #172527 is a reply to message #172302] |
Fri, 18 March 2005 23:22 |
Pratik Shah Messages: 1077 Registered: July 2009 |
Senior Member |
|
|
You must be doing something wrong. Maybe you didn't set up the listeners,
etc. properly.
"Diana" <dhmlau@ca.ibm.com> wrote in message
news:d1cbak$dt7$1@www.eclipse.org...
> Hi,
>
> Is there a way to force the tool tip of the figure to refresh?
>
> I have a scenario that there are two figures: ChildFigure and ParentFigure
> which both extends from IFigure, and ParentFigure contains ChildFigure. I
> have a mouse motion listener, so that when the mouse is hover over
> ChildFigure or ParentFigure, it gives the corresponding tool tip.
>
> But if I hover over ChildFigure, it shows the tool tip for ChildFigure,
> then the mouse is moved to the ParentFigure (without hovering other
> figures in between), the tool tip still shows the ChildFigure one.
>
> Thanks,
> Diana
>
|
|
|
Re: Refresh tool tip on figure [message #172746 is a reply to message #172527] |
Mon, 21 March 2005 16:14 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Dynamically changing the tooltip of a *single* figure does not update the
displayed tooltip. But, as Pratik pointed out, changing the figure under
the mouse, and therefore the source of the tooltip, should work. Please
post test case code.
"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d1fnrc$g49$1@www.eclipse.org...
> You must be doing something wrong. Maybe you didn't set up the listeners,
> etc. properly.
>
> "Diana" <dhmlau@ca.ibm.com> wrote in message
> news:d1cbak$dt7$1@www.eclipse.org...
>> Hi,
>>
>> Is there a way to force the tool tip of the figure to refresh?
>>
>> I have a scenario that there are two figures: ChildFigure and
>> ParentFigure
>> which both extends from IFigure, and ParentFigure contains ChildFigure.
>> I
>> have a mouse motion listener, so that when the mouse is hover over
>> ChildFigure or ParentFigure, it gives the corresponding tool tip.
>>
>> But if I hover over ChildFigure, it shows the tool tip for ChildFigure,
>> then the mouse is moved to the ParentFigure (without hovering other
>> figures in between), the tool tip still shows the ChildFigure one.
>>
>> Thanks,
>> Diana
>>
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03403 seconds