Great!

> If released, the info provided in comment 1 here:
> http://code.google.com/p/fbug/issues/detail?id=4175
> should also go here (for reference):
> http://groups.google.com/group/firebug-working-group/web/firebug-exte...
Since Google Groups will no longer be supporting the Pages and Files
features
I have create a copy on Firebug wiki here:
http://getfirebug.com/wiki/index.php/Extension_Points

The Infotip section updated here:
http://getfirebug.com/wiki/index.php/Extension_Points#InfoTip

Since the original page on Google Groups couldn't be updated I deleted
it
to avoid confusion (unfortunately I can't setup a redirect).

Honza


On Mar 8, 6:25 pm, tan <[email protected]> wrote:
> Hi Honza!
>
> I have now been playing with it and it works as expected.
> I experienced no problems when implementing my owninfotip(s)
> Let me know if there are anything particular here that needs manual
> testing.
>
> Hope this will get into the release.
> Thanks!
>
> Best regards
> Thomas
>
> PS.
> If released, theinfoprovided in comment 1 
> here:http://code.google.com/p/fbug/issues/detail?id=4175
> should also go here (for 
> reference):http://groups.google.com/group/firebug-working-group/web/firebug-exte...
>
> On Mar 3, 12:18 pm, "Honza (Jan Odvarko)" <[email protected]> wrote:
>
> > Thanks!
> > Honza
>
> > On Mar 3, 10:44 am, tan <[email protected]> wrote:
>
> > > Hi
>
> > > The feature request is now reported here:
>
> > >http://code.google.com/p/fbug/issues/detail?id=4175
>
> > > Thomas
>
> > > On Mar 2, 1:11 pm, "Honza (Jan Odvarko)" <[email protected]> wrote:
>
> > > > > Also, if needed I can add a feature request to the project issue list
>
> > > > Yes, please do. I want to track the patch somewhere.
> > > > Thanks!
> > > > Honza
>
> > > > On Mar 2, 1:09 pm, tan <[email protected]> wrote:
>
> > > > > Ok, Good work!
>
> > > > > I have not yet had any success in creating a custominfotipwith re-
> > > > > using the existingNetinfotip.
>
> > > > > If this is going into the project I can do a checkout and try it out.
>
> > > > > Also, if needed I can add a feature request to the project issue list
>
> > > > > Thomas
>
> > > > > On Feb 28, 4:23 pm, "Honza (Jan Odvarko)" <[email protected]> wrote:
>
> > > > > > Just wanted to note that I have made a good progress on this over 
> > > > > > the
> > > > > > weekend
> > > > > > and I have running example on my machine.
>
> > > > > > Honza
>
> > > > > > On Feb 27, 1:49 pm, "Honza (Jan Odvarko)" <[email protected]> wrote:
>
> > > > > > > On Feb 27, 12:53 am, tan <[email protected]> wrote:> I have a 
> > > > > > > module that adds a new tab to the request entry (based on the
> > > > > > > > tutorial on your blog)
>
> > > > > > > > In my tab body I need to display aninfotip(with custominfo) when
> > > > > > > > the user mouse hover particular elements in my tab body.
> > > > > > > > Since the module is not a full Fbpanel, but a module that adds 
> > > > > > > > aNet
> > > > > > > > request tab I do not get an InfoTip element and not the 
> > > > > > > > showInfoTip
> > > > > > > > function.
>
> > > > > > > Yep, exactly.
>
> > > > > > > > I see the logic for theinfotipin the FbNet.js code, but I can 
> > > > > > > > not
> > > > > > > > see there are any way for me to populate theNetinfotipwith 
> > > > > > > > custom
> > > > > > > >info.
>
> > > > > > > You should be able to call populateTimeInfoTip or 
> > > > > > > populateSizeInfoTip
> > > > > > > and pass data in the second parameter (file). Thetiptemplate
> > > > > > > (domplate) is reading data from this object.
>
> > > > > > > > I have looked at the InfoTip.js code, but I can not see that I 
> > > > > > > > can
> > > > > > > > create a new InfoTip on my own (or am I wrong here)
>
> > > > > > > > In short, what I need is a customInfotipfor myNetrequest tab.
>
> > > > > > > > Off-course this can be done creating my owninfotip, but I was 
> > > > > > > > just
> > > > > > > > looking at my options first ;)
>
> > > > > > > I don't think you can easily show thetip(reused from thepanelor
> > > > > > > your own) within the custom tab.
> > > > > > > As you correctly mentioned, you don't have a newpaneland so, you
> > > > > > > don't have showInfoTip method.
> > > > > > > Firebug.InfoTip is distribution the "showInfoTip" event only to 
> > > > > > > the
> > > > > > > currently selectedpanel.
>
> > > > > > > I think we should distribute the "showInfoTip" also to registered
> > > > > > > listeners through "dispatch", which is a mechanism already used on
> > > > > > > many places in Firebug so, shortly, here is the showInfoTip in 
> > > > > > > InfoTip
> > > > > > > object:
>
> > > > > > > Firebug.InfoTip = extend(Firebug.Module,
> > > > > > > {
> > > > > > >     showInfoTip: function(infoTip,panel, target, x, y, 
> > > > > > > rangeParent,
> > > > > > > rangeOffset)
> > > > > > >     {
> > > > > > >         if (!Firebug.showInfoTips)
> > > > > > >             return;
>
> > > > > > >         if (panel.showInfoTip(infoTip, target, scrollX, y,
> > > > > > > rangeParent, rangeOffset))
> > > > > > >         {
> > > > > > >               //panel.showInfoTip returns true, which means 
> > > > > > > thepanel
> > > > > > > is displaying atipfor the given target.
> > > > > > >         }
> > > > > > >         else
> > > > > > >         {
> > > > > > >               //infotipis not displayed, give a chance to the 
> > > > > > > other
> > > > > > > listeners.
> > > > > > >               var result = dispatch2(this.fbListeners, 
> > > > > > > "showInfoTip",
> > > > > > > [infoTip, target, scrollX, y, rangeParent, rangeOffset]);
> > > > > > >         }
> > > > > > >    }
>
> > > > > > > });
>
> > > > > > > In your case you would register the customnettab as a listener
>
> > > > > > > Firebug.InfoTip.addListener(...)
>
> > > > > > > and handle the event.
>
> > > > > > > If you thing this is the correct way for you, please report a new 
> > > > > > > bug
> > > > > > > and I'll prepare a patch!
>
> > > > > > > As soon as this concept is properly designed we can solve the 
> > > > > > > problem
> > > > > > > how to reuse tips in thenetpanel(I guess it'll be simple, if not
> > > > > > > working already)
>
> > > > > > > Honza
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en.

Reply via email to