> On 25 May 2015, at 18:27, Matthieu Lacaton <
[hidden email]> wrote:
>
> Hello everyone,
>
> It's probably a silly question but there is something I don't understand in the PharoCommonTools class. There are many methods in this class that i can't find in the image.
>
> For example, PharoCommonTools >> workspaceTool refers to "self workspace" but I can't find any method named workspace in this class or its super classes.
> And it is the same for all the other tools.
>
> What am I missing ? :s
The class PharoCommonTools inherits from ToolRegistry (in other words, ToolRegistry is the parent of PharoCommonTools), which means that all methods from the parent are available in the child as well, as if they were defined there.
This is a fundamental concept behind the implementation of Pharo (inheritance, method lookup).
> Thanks,
>
> Matthieu