2005/10/18, stéphane ducasse <ducasse(a)iam.unibe.ch>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 ].