Hi again
No, it did not work
Here is an outline of the code
Thomas
FBL.ns(function() { with ( FBL ) {
function MyPanel() {}
MyPanel.prototype = extend( Firebug.ActivablePanel,
{
name : myPanel,
title : "My Panel",
initialize : function()
{
Firebug.ActivablePanel.initialize.apply( this, arguments );
},
shutdown : function()
{
Firebug.ActivableModule.shutdown.apply( this, arguments );
},
destroy : function( state )
{
Firebug.unregisterUIListener(this);
Firebug.ActivablePanel.destroy.apply( this, arguments );
},
enablePanel: function(module)
{
Firebug.ActivablePanel.enablePanel.apply( this, arguments );
},
disablePanel: function(module)
{
Firebug.ActivablePanel.disablePanel.apply( this, arguments );
}
});
Firebug.MyPanelModel = extend( Firebug.ActivableModule,
{
initialize: function()
{
Firebug.ActivableModule.initialize.apply( this, arguments );
},
initContext: function( context, persistedState )
{
Firebug.ActivableModule.initContext.apply( this, arguments );
},
showContext: function( browser, context )
{
Firebug.ActivableModule.showContext.apply( this, arguments );
},
loadedContext : function( context )
{
},
showPanel : function( browser, panel )
{
},
addStyleSheet : function( doc )
{
},
reattachContext : function( browser, context )
{
},
});
/* Domplate code */
/*
Registration
*/
Firebug.registerPanel( MyPanel );
Firebug.registerActivableModule( Firebug.MyPanelModel );
}});
On Sep 14, 10:59 pm, John J Barton <
johnjbar...@johnjbarton.com>
wrote: