Skip to main content


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 18:38 Go to next message
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 673
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 12:52 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
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: Tue Apr 16 19:50:42 GMT 2024

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

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

Back to the top