Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Lazy tool tips
Lazy tool tips [message #988195] Wed, 28 November 2012 13:38 Go to next message
Hallvard Traetteberg is currently offline Hallvard Traetteberg
Messages: 594
Registered: July 2009
Location: Trondheim, Norway
Senior Member
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 Go to previous message
Michael Wenz is currently offline Michael Wenz
Messages: 1574
Registered: July 2009
Location: Walldorf, Germany
Senior Member
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
Previous Topic:GraphitiConnectionEditPart causes problem
Next Topic:Remove Palette from the Editor
Goto Forum:
  


Current Time: Mon Jul 28 00:22:27 EDT 2014

Powered by FUDForum. Page generated in 0.02159 seconds