[SW2] How to specialize an editCommand
Philippe Marschall
philippe.marschall at gmail.com
Tue Oct 18 23:24:41 MEST 2005
2005/10/18, stéphane ducasse <ducasse at iam.unibe.ch>:
> May be this indicated that a isVisible protocol is missing on command?
Yeah, we added that ;)
And we changed #isValidCommand:in: for some structures.
And we check a command for #isAllowed before rendering it
about the sorting my suggestion is:
SW2CommandsWidget class >> #defaultCommandClasses
^ SW2Command withAllConcreteClasses sort: [ :a :b | a asLabel <= b asLabel ].
More information about the SmallWiki
mailing list