Plugins menu (was: Re: Speaking of IDE Updates)

Wilhelm Sanke sanke at hrz.uni-kassel.de
Fri Jan 2 22:53:15 EST 2004


> Both Richard's and my script update the text of the menu button at 
> once also during a "session" when  something is added to or removed 
> from the "plugins" folder. Our scripts are much shorter than the 
> corresponding Rev scripts - and especially Richard's solution is an 
> excellent example of  "clean and lean" programming.

While this remains true in essence, I see from a second look at 
Richard's new "mctools" stack that he, too, distributes the necessary 
scripts across three objects:

 - the function Pluginsfolder has been added to the script of the 
invisible button "newobj"

 - the updating of the text of the menu button "Plugins" takes place in 
the modified script of group "Metacard Menu Bar" of the Menubar

 - finally the lean script of button "Plugins" itself

Considering the summative length of the scripts, my script - exclusively 
contained in button "Plugins" - seems to be the leanest, but probably 
there are reasons for Richard to choose a different approach - 
circumventing problems I do not see? Richard?


Regards,

Wilhelm Sanke





More information about the metacard mailing list