Lazy tool tips [message #988195] |
Wed, 28 November 2012 13:38  |
Eclipse User |
|
|
|
Hi,
I'm trying to provide tool tips that takes say 0.1 seconds to compute.
When starting up the editor, it seems all these are computed in advance,
and for large (enough) diagrams this gives an annoying delay. Is it
possible to compute than lazily?
Hallvard
|
|
|
Re: Lazy tool tips [message #988332 is a reply to message #988195] |
Thu, 29 November 2012 07:52  |
Eclipse User |
|
|
|
Hallvard,
the current behavior is part of the underlying GEF and cannot be changed by
Graphiti clients: as soon as a figure is created/refreshed, the tooltip to
display needs to be set. That's what the Graphiti editor does when opening
and adding the figures to the diagram.
From what I've seen in Figure it might be possible to add some lazy loading
on top of GEF, but I'm not sure if that will really work and it means
introducing a new baseclass for all Graphiti figures. But still this sounds
like a reasonable request, so please open a feature request for that if you
like to see it in Graphiti.
Michael
"Hallvard Trætteberg" schrieb im Newsbeitrag
news:k95ll4$k9g$1@xxxxxxxxe.org...
Hi,
I'm trying to provide tool tips that takes say 0.1 seconds to compute.
When starting up the editor, it seems all these are computed in advance,
and for large (enough) diagrams this gives an annoying delay. Is it
possible to compute than lazily?
Hallvard
|
|
|
Powered by
FUDForum. Page generated in 0.07160 seconds