[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: Refresh tool tip on figure

You must be doing something wrong.  Maybe you didn't set up the listeners,
etc. properly.

"Diana" <dhmlau@xxxxxxxxxx> wrote in message
news:d1cbak$dt7$1@xxxxxxxxxxxxxxxxxx
> 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
>