This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PluginWindow class and a revamped plug-in sample code


Tom Tromey wrote:
> 
> >>>>> "Fernando" == Fernando Nasser <fnasser@redhat.com> writes:
> 
> Fernando> I added some automatic control of the menus and toolbar
> Fernando> buttons (so they will be disabled and enabled automatically
> Fernando> according to their category) with code stolen from the
> Fernando> Source Window and here is the result.
> 
> How about introducing a new base class so that both the plugin code
> and the source window use the same code, rather than duplicating it?
> 

Keith just suggested the same on a private message last evening.
He is a little more ambitious and want us to get rid of the 
indiscriminate use of hooks by many windows.  So, I guess this
would be a class that would be inherited by many other windows as well.

Sure thing.  I will get a base class out of it and see if I can go
around doing what you guys want.

Maybe I can expand that GDBWin class... What do you think?


-- 
Fernando Nasser
Red Hat - Toronto                       E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]