From: tan <t...@enonic.com>
Date: Thu, 16 Sep 2010 10:09:20 -0700 (PDT)
Local: Thurs, Sep 16 2010 1:09 pm
Subject: Re: How to Use the ActivablePanel
No, running the code above, the tab does not have the mini menu at
all. Thanks for the replies here,
Thomas
On Sep 16, 5:44 am, John J Barton <johnjbar...@johnjbarton.com> wrote:
> Does the panel tab mini-menu have enable/disable and does that part
> work? > jjb
> On Sep 15, 2:17 pm, tan <t...@enonic.com> wrote:
> > Yes, a typo from my side, there is also a wrongly placed comma in the
> > After removing these bugs and I run the code, the panel is created and
> > I may miss something here
> > Thomas
> > On Sep 15, 10:55 pm, Pedro Simonetti Garcia <pedrosimone...@gmail.com>
> > > Hi there,
> > > Just a small thing I have noticed:
> > > name : myPanel,
> > > should be
> > > name : "myPanel",
> > > Otherwise it seems to be correct.
> > > Pedro Simonetti.
> > > 2010/9/15 tan <t...@enonic.com>:
> > > > Hi again
> > > > No, it did not work
> > > > Here is an outline of the code
> > > > Thomas
> > > > FBL.ns(function() { with ( FBL ) {
> > > > function MyPanel() {}
> > > > initialize : function()
> > > > shutdown : function()
> > > > destroy : function( state )
> > > > enablePanel: function(module)
> > > > disablePanel: function(module)
> > > > Firebug.MyPanelModel = extend( Firebug.ActivableModule,
> > > > initContext: function( context, persistedState )
> > > > showContext: function( browser, context )
> > > > loadedContext : function( context )
> > > > showPanel : function( browser, panel )
> > > > addStyleSheet : function( doc )
> > > > reattachContext : function( browser, context )
> > > > /* Domplate code */
> > > > /*
> > > > }});
> > > > On Sep 14, 10:59 pm, John J Barton <johnjbar...@johnjbarton.com>
> > > >> > Hi
> > > >> > Are there any information about how to use the ActivablePanel?
> > > >> > My guess right now is that using ActivablePanel would create a panel
> > > >> > My first naive try was to use this
> > > >> > MyPanel.prototype = extend( Firebug.ActivablePanel,
> > > >> If you implement initialize() then you need to propagate it to the
> > > >> And you need to register your new panel:
> > > >> Does this help?
> > > >> > ...
> > > >> > But I guess it needs some more configuration ;)
> > > >> > I have tried to look in the Fb source, but have not quite figured it
> > > >> > So, the question is how do we use the Activation thing?
> > > >> > Thanks in advance
> > > >> > Best regards,
> > > > --
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||