I am attempting to extend Firebug in FF3 using the guides at
http://www.softwareishard.com/blog/firebug-tutorial/extending-firebug-yahoo-search-part-vi/.
I would like to have my own DOM side panel for my own custom tab just
like the html tab does. The problem is that DOMBasePanel is not
visible (i.e. Firebug.DOMBasePanel).

I am hacking this for the moment:
  var DOMBasePanel = Firebug.getPanelType('domSide');
  function MyDomSidePanel() {}
  MyDomSidePanel.prototype = extend(DOMBasePanel.prototype,
  {
    name: 'MyDomSidePanel',
    parentPanel: 'MyFirebugExtension',
    title: 'DOM',
    order: 2,

    initialize: function()
    {
      this.selection = null;
      DOMBasePanel.prototype.initialize.apply(this, arguments);
    },
    ...
  });

I would prefer to not hack like this and use the real DOMBasePanel
class. Would you be willing to expose DOMBasePanel as
Firebug.DOMBasePanel?
--~--~---------~--~----~------------~-------~--~----~
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