At 09:29 18/08/2010, Lukas Renggli wrote:
I already committed a
patch :-)
Impressive; thanks!
Just in case you would still have some time to devote, a similar case is
"PRViewCommand >> label", which is in particular often
called by "WAAnchorTag >> goto:"
An alternative would be:
PRViewCommand >> label
^ self
viewComponentClass labelIn: self context
Which would imply for example:
PRDefaultView class >> labelIn: aContext
^ aContext
structure title
And eventually:
PRDefaultView >> label
^ self
class labelIn: sel context
In the "worth" case, the class would instantiate itself to
compute its label.
That could though break the plug-ins that depend on the current behavior.
Regards,
Reza