In the NautilusRefactoring class we have a method on a class side:

sourceCodeRefactoringMenu: aBuilder
        <nautilusGlobalSourceCodeMenu>
        | target |
        target := aBuilder model.       
        target selectedClass ifNotNil: [:selectedClass | selectedClass
sourceCodeRefactoring: aBuilder ]

I'd like to understand how this line works: target := aBuilder model. I
mean, how aBuilder initializes a model?
Because, if you change the pragma from <nautilusGlobalSourceCodeMenu> to
another one, you will get another result using this particular line.

Mark



--
View this message in context: 
http://forum.world.st/How-pragma-works-to-create-menu-tp4767409.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Reply via email to