equal
deleted
inserted
replaced
28 |
28 |
29 You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/ |
29 You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/ |
30 " |
30 " |
31 ! ! |
31 ! ! |
32 |
32 |
|
33 !VDBFramePresenter class methodsFor:'menu specs'! |
|
34 |
|
35 contextMenu |
|
36 "This resource specification was automatically generated |
|
37 by the MenuEditor of ST/X." |
|
38 |
|
39 "Do not manually edit this!! If it is corrupted, |
|
40 the MenuEditor may not be able to read the specification." |
|
41 |
|
42 |
|
43 " |
|
44 MenuEditor new openOnClass:VDBFramePresenter andSelector:#contextMenu |
|
45 (Menu new fromLiteralArrayEncoding:(VDBFramePresenter contextMenu)) startUp |
|
46 " |
|
47 |
|
48 <resource: #menu> |
|
49 |
|
50 ^ |
|
51 #(Menu |
|
52 ( |
|
53 (MenuItem |
|
54 enabled: canCopyFunctionName |
|
55 label: 'Copy Function Name' |
|
56 itemValue: doCopyFunctionName |
|
57 ) |
|
58 ) |
|
59 nil |
|
60 nil |
|
61 ) |
|
62 ! ! |
|
63 |
33 !VDBFramePresenter methodsFor:'accessing'! |
64 !VDBFramePresenter methodsFor:'accessing'! |
34 |
65 |
35 frame |
66 frame |
36 ^ frame |
67 ^ frame |
37 ! |
68 ! |
56 ^ frame := aGDBFrame |
87 ^ frame := aGDBFrame |
57 |
88 |
58 "Created: / 21-09-2014 / 23:38:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
89 "Created: / 21-09-2014 / 23:38:30 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
59 ! ! |
90 ! ! |
60 |
91 |
|
92 !VDBFramePresenter methodsFor:'menu actions'! |
|
93 |
|
94 canCopyFunctionName |
|
95 ^ frame func notNil |
|
96 |
|
97 "Modified: / 16-01-2018 / 22:19:59 / jv" |
|
98 ! |
|
99 |
|
100 doCopyFunctionName |
|
101 <resource: #uiCallback> |
|
102 |
|
103 self doCopy: frame func. |
|
104 |
|
105 "Modified: / 16-01-2018 / 22:36:37 / jv" |
|
106 ! ! |
|
107 |
61 !VDBFramePresenter methodsFor:'protocol-accessing'! |
108 !VDBFramePresenter methodsFor:'protocol-accessing'! |
62 |
109 |
63 fetchChildren |
110 fetchChildren |
64 "should compute the list of children via the model. |
111 "should compute the list of children via the model. |
65 Be aware, that the somewhat stupid 'optimization' of how the model is fetched may lead to |
112 Be aware, that the somewhat stupid 'optimization' of how the model is fetched may lead to |