Re: [Pharo-users] Calypso question: adding a context menu item

2019-03-16 Thread Sean P. DeNigris
Juraj Kubelka wrote > To implement a context menu item Just in case someone stumbles on this thread with a similar problem… Much has changed in Calypso and dependencies, making this snippet obsolete. After struggling to port to latest, API, the easiest way to find out how to do this seems to be to

Re: [Pharo-users] Calypso question: adding a context menu item

2017-12-06 Thread Juraj Kubelka
Hi Denis, Thanks! In dead, I used incorrect context. Juraj > On Dec 5, 2017, at 18:22, Denis Kudriashov wrote: > > Hi Juraj. > > I repeated your steps and it works for me: > In "vars" mode I have "Say Hello" in context menu of selected variable (just > before "Show in method browser" item).

Re: [Pharo-users] Calypso question: adding a context menu item

2017-12-05 Thread Denis Kudriashov
Hi Juraj. I repeated your steps and it works for me: In "vars" mode I have "Say Hello" in context menu of selected variable (just before "Show in method browser" item). Maybe you were looking at context menu of class pane? In that case command activator should be defined as: ClyHelloCommand clas

[Pharo-users] Calypso question: adding a context menu item

2017-12-05 Thread Juraj Kubelka
Hi, To implement a context menu item. I have implemented a new class: -=-=-=- CmdCommand subclass: #ClyHelloCommand instanceVariableNames: '' classVariableNames: '' package: 'Calypso-Extensions’ -=-=-=- with methods: -=-=-=-=- ClyHelloCommand class >> #systemBrowserMenu