Defining a new command
Damien Cassou
damien.cassou at gmail.com
Tue Apr 24 08:59:01 UTC 2007
Hi Alexandre,
just create a method whose name starts with 'cmd' and put in your
browser class. This method must return a command class or a command
class collection. For example:
OBCodeBrowser>>cmdNewTraitTemplate
^ OBCmdNewTraitTemplate
Bye
2007/4/24, Bergel, Alexandre <bergel at iam.unibe.ch>:
> Dear all,
>
> I just defined a new command for Omnibrowser, however, how can I make
> it appear on the method menu list ?
> There should be a magic invocation i guess :-)
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.software-artist.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
--
Damien Cassou
More information about the Squeak-dev
mailing list
|