2007/12/12, firerox(a)centrum.cz <firerox(a)centrum.cz>cz>:
On the class
side implement
canBeRoot
^ true
I have been implemented method canBeRoot.
I knew it, but it doesn't resolve my problem :(
Have you any hint?
The code to select the components is:
componentClasses
^ ((PRWidget allSubclasses reject: [ :each | each isAbstract ]) asArray
sort: [ :a :b | a label < b label ];
yourself) ,
((WAComponent allSubclasses select: [ :each | each canBeRoot ]) asArray
sort: [ :a :b | a label < b label ];
yourself)
So canBeRoot should really be enough unless you inherit from PRWidget,
in this case to have to implement
isAbstract
^ false
Cheers
Philippe