Skip to content

Commit 57d2471

Browse files
authored
Merge pull request #16507 from adri09070/16488-Debugging-context-menu-is-lost-with-new-debug-point-integration
Adding a Calypso class to display the Debug Points menu group in the method list context menu
2 parents 930ce39 + c59287f commit 57d2471

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
"
2+
I define how the debugging point menu group should activate inside the calypso method view
3+
"
4+
Class {
5+
#name : 'SycOpenDebuggingPointsInMethodMenuCommand',
6+
#superclass : 'SycOpenMethodMenuCommand',
7+
#category : 'Calypso-SystemPlugins-DebugPoints-Browser',
8+
#package : 'Calypso-SystemPlugins-DebugPoints-Browser'
9+
}
10+
11+
{ #category : 'activation' }
12+
SycOpenDebuggingPointsInMethodMenuCommand class >> methodContextMenuActivation [
13+
14+
<classAnnotation>
15+
^ CmdContextMenuActivation
16+
byRootGroupItemOrder: 1.4
17+
for: ClyMethod asCalypsoItemContext
18+
]
19+
20+
{ #category : 'execution' }
21+
SycOpenDebuggingPointsInMethodMenuCommand >> activationStrategy [
22+
23+
^ SycDebuggingPointsMenuActivation
24+
]
25+
26+
{ #category : 'accessing' }
27+
SycOpenDebuggingPointsInMethodMenuCommand >> defaultMenuIconName [
28+
29+
^ #smallDebug
30+
]
31+
32+
{ #category : 'accessing' }
33+
SycOpenDebuggingPointsInMethodMenuCommand >> defaultMenuItemName [
34+
35+
^ 'Debug Points'
36+
]

0 commit comments

Comments
 (0)