author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Mon, 13 Nov 2017 22:26:12 -0300 | |
changeset 1060 | af3a048f9618 |
parent 884 | 919f637c2be9 |
child 1072 | a44c741ee5ef |
permissions | -rw-r--r-- |
828 | 1 |
" |
2 |
A custom code generation and refactoring support for Smalltalk/X |
|
3 |
Copyright (C) 2013-2015 Jakub Nesveda |
|
4 |
Copyright (C) 2013-now Jan Vrany |
|
5 |
||
6 |
This library is free software; you can redistribute it and/or |
|
7 |
modify it under the terms of the GNU Lesser General Public |
|
8 |
License as published by the Free Software Foundation; either |
|
9 |
version 2.1 of the License. |
|
10 |
||
11 |
This library is distributed in the hope that it will be useful, |
|
12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
14 |
Lesser General Public License for more details. |
|
15 |
||
16 |
You should have received a copy of the GNU Lesser General Public |
|
17 |
License along with this library; if not, write to the Free Software |
|
18 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
19 |
" |
|
833
297eb38e4eee
Package jn:refactoring_custom renamed to stx:goodies/smallsense/refactoring_custom
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
830
diff
changeset
|
20 |
"{ Package: 'stx:goodies/smallsense/refactoring_custom' }" |
535
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
21 |
|
830
1a88f5e65fe2
Classes moved to namespace SmallSense
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
828
diff
changeset
|
22 |
"{ NameSpace: SmallSense }" |
803
95cdac772759
Fixed failing tests caused by new STX release
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
784
diff
changeset
|
23 |
|
535
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
24 |
Object subclass:#CustomContext |
780
c45cc4cd91f0
Move perspective variable to CustomContext to be sure that every subclass implements it
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
761
diff
changeset
|
25 |
instanceVariableNames:'model perspective' |
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
26 |
classVariableNames:'' |
535
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
27 |
poolDictionaries:'' |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
28 |
category:'Interface-Refactoring-Custom' |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
29 |
! |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
30 |
|
828 | 31 |
!CustomContext class methodsFor:'documentation'! |
32 |
||
33 |
copyright |
|
34 |
" |
|
35 |
A custom code generation and refactoring support for Smalltalk/X |
|
36 |
Copyright (C) 2013-2015 Jakub Nesveda |
|
37 |
Copyright (C) 2013-now Jan Vrany |
|
38 |
||
39 |
This library is free software; you can redistribute it and/or |
|
40 |
modify it under the terms of the GNU Lesser General Public |
|
41 |
License as published by the Free Software Foundation; either |
|
42 |
version 2.1 of the License. |
|
43 |
||
44 |
This library is distributed in the hope that it will be useful, |
|
45 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
46 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
47 |
Lesser General Public License for more details. |
|
48 |
||
49 |
You should have received a copy of the GNU Lesser General Public |
|
50 |
License along with this library; if not, write to the Free Software |
|
51 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
|
52 |
" |
|
53 |
! ! |
|
582
8788d388f801
fix broken tests due to another default code formatting
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
541
diff
changeset
|
54 |
|
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
55 |
!CustomContext class methodsFor:'instance creation'! |
746
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
56 |
|
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
57 |
new |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
58 |
"Returns an initialized instance" |
746
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
59 |
|
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
60 |
^ self basicNew initialize. |
746
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
61 |
|
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
62 |
"Modified: / 19-11-2014 / 09:36:37 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
746
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
63 |
! ! |
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
64 |
|
535
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
65 |
!CustomContext class methodsFor:'queries'! |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
66 |
|
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
67 |
isAbstract |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
68 |
"Return if this class is an abstract class. |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
69 |
True is returned here for myself only; false for subclasses. |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
70 |
Abstract subclasses must redefine again." |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
71 |
|
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
72 |
^ self == CustomContext. |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
73 |
! ! |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
74 |
|
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
75 |
!CustomContext methodsFor:'accessing'! |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
76 |
|
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
77 |
model |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
78 |
"Returns a class model on we operate e.g. RBNamespace, CustomNamespace" |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
79 |
|
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
80 |
^ model |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
81 |
|
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
82 |
"Modified (comment): / 19-11-2014 / 10:00:29 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
83 |
! |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
84 |
|
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
85 |
model: anRBNamespace |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
86 |
"see model" |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
87 |
|
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
88 |
model := anRBNamespace |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
89 |
|
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
90 |
"Modified (format): / 19-11-2014 / 10:01:10 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
780
c45cc4cd91f0
Move perspective variable to CustomContext to be sure that every subclass implements it
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
761
diff
changeset
|
91 |
! |
c45cc4cd91f0
Move perspective variable to CustomContext to be sure that every subclass implements it
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
761
diff
changeset
|
92 |
|
c45cc4cd91f0
Move perspective variable to CustomContext to be sure that every subclass implements it
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
761
diff
changeset
|
93 |
perspective |
c45cc4cd91f0
Move perspective variable to CustomContext to be sure that every subclass implements it
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
761
diff
changeset
|
94 |
"see CustomPerspective" |
c45cc4cd91f0
Move perspective variable to CustomContext to be sure that every subclass implements it
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
761
diff
changeset
|
95 |
|
c45cc4cd91f0
Move perspective variable to CustomContext to be sure that every subclass implements it
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
761
diff
changeset
|
96 |
^ perspective |
c45cc4cd91f0
Move perspective variable to CustomContext to be sure that every subclass implements it
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
761
diff
changeset
|
97 |
|
c45cc4cd91f0
Move perspective variable to CustomContext to be sure that every subclass implements it
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
761
diff
changeset
|
98 |
"Modified (comment): / 24-12-2014 / 22:39:02 / root" |
784
b0ac144b73af
Better algorithm for telling generator/refacotring language availability in CustomCodeGeneratorOrRefactoring >> availableForProgrammingLanguagesInContext:
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
780
diff
changeset
|
99 |
! |
b0ac144b73af
Better algorithm for telling generator/refacotring language availability in CustomCodeGeneratorOrRefactoring >> availableForProgrammingLanguagesInContext:
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
780
diff
changeset
|
100 |
|
b0ac144b73af
Better algorithm for telling generator/refacotring language availability in CustomCodeGeneratorOrRefactoring >> availableForProgrammingLanguagesInContext:
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
780
diff
changeset
|
101 |
perspective: aPerspective |
b0ac144b73af
Better algorithm for telling generator/refacotring language availability in CustomCodeGeneratorOrRefactoring >> availableForProgrammingLanguagesInContext:
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
780
diff
changeset
|
102 |
"see CustomPerspective" |
b0ac144b73af
Better algorithm for telling generator/refacotring language availability in CustomCodeGeneratorOrRefactoring >> availableForProgrammingLanguagesInContext:
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
780
diff
changeset
|
103 |
|
b0ac144b73af
Better algorithm for telling generator/refacotring language availability in CustomCodeGeneratorOrRefactoring >> availableForProgrammingLanguagesInContext:
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
780
diff
changeset
|
104 |
perspective := aPerspective |
b0ac144b73af
Better algorithm for telling generator/refacotring language availability in CustomCodeGeneratorOrRefactoring >> availableForProgrammingLanguagesInContext:
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
780
diff
changeset
|
105 |
|
b0ac144b73af
Better algorithm for telling generator/refacotring language availability in CustomCodeGeneratorOrRefactoring >> availableForProgrammingLanguagesInContext:
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
780
diff
changeset
|
106 |
"Created: / 27-12-2014 / 12:02:53 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
107 |
! ! |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
108 |
|
535
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
109 |
!CustomContext methodsFor:'accessing-selection'! |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
110 |
|
884
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
111 |
selectClassNamed: className |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
112 |
self selectClassesNamed: { className } |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
113 |
|
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
114 |
"Created: / 29-08-2015 / 13:21:20 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
115 |
! |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
116 |
|
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
117 |
selectClassNamed: className selector: selector |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
118 |
self subclassResponsibility |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
119 |
|
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
120 |
"Created: / 29-08-2015 / 13:21:37 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
121 |
! |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
122 |
|
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
123 |
selectClassesNamed: classNames |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
124 |
self subclassResponsibility |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
125 |
|
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
126 |
"Created: / 29-08-2015 / 13:20:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
127 |
! |
919f637c2be9
Added support to update browser's selection after code is generated.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
833
diff
changeset
|
128 |
|
541
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
129 |
selectedClassCategories |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
130 |
"a collection with selected class categories" |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
131 |
|
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
132 |
self subclassResponsibility |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
133 |
|
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
134 |
"Created: / 05-05-2014 / 00:13:34 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
135 |
! |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
136 |
|
535
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
137 |
selectedClasses |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
138 |
"a collection with selected classes" |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
139 |
|
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
140 |
self subclassResponsibility |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
141 |
|
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
142 |
"Created: / 26-04-2014 / 13:13:59 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
143 |
"Modified (comment): / 26-04-2014 / 22:38:18 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
541
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
144 |
! |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
145 |
|
629
e85070e8c11b
add code selection object (CustomSourceCodeSelection) with code, method, class... to CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
626
diff
changeset
|
146 |
selectedCodes |
e85070e8c11b
add code selection object (CustomSourceCodeSelection) with code, method, class... to CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
626
diff
changeset
|
147 |
"a collection with source codes (CustomSourceCodeSelection) |
e85070e8c11b
add code selection object (CustomSourceCodeSelection) with code, method, class... to CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
626
diff
changeset
|
148 |
with selected interval (exact position in source code) and |
e85070e8c11b
add code selection object (CustomSourceCodeSelection) with code, method, class... to CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
626
diff
changeset
|
149 |
corresponding class, method, selector." |
626
a32e9bcc436e
work in progress on first refactoring
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
582
diff
changeset
|
150 |
|
a32e9bcc436e
work in progress on first refactoring
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
582
diff
changeset
|
151 |
self subclassResponsibility |
a32e9bcc436e
work in progress on first refactoring
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
582
diff
changeset
|
152 |
|
629
e85070e8c11b
add code selection object (CustomSourceCodeSelection) with code, method, class... to CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
626
diff
changeset
|
153 |
"Created: / 18-08-2014 / 21:28:10 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
626
a32e9bcc436e
work in progress on first refactoring
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
582
diff
changeset
|
154 |
! |
a32e9bcc436e
work in progress on first refactoring
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
582
diff
changeset
|
155 |
|
541
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
156 |
selectedMethods |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
157 |
"a collection with selected methods" |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
158 |
|
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
159 |
self subclassResponsibility |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
160 |
|
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
161 |
"Created: / 05-05-2014 / 00:12:35 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
162 |
! |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
163 |
|
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
164 |
selectedPackages |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
165 |
"a collection with selected packages" |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
166 |
|
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
167 |
self subclassResponsibility |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
168 |
|
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
169 |
"Created: / 05-05-2014 / 00:12:59 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
170 |
! |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
171 |
|
718
ed7514e9d76c
rename selectedMethodProtocols to selecteProtocols in CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
685
diff
changeset
|
172 |
selectedProtocols |
ed7514e9d76c
rename selectedMethodProtocols to selecteProtocols in CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
685
diff
changeset
|
173 |
"a collection with selected method protocols" |
ed7514e9d76c
rename selectedMethodProtocols to selecteProtocols in CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
685
diff
changeset
|
174 |
|
ed7514e9d76c
rename selectedMethodProtocols to selecteProtocols in CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
685
diff
changeset
|
175 |
self subclassResponsibility |
ed7514e9d76c
rename selectedMethodProtocols to selecteProtocols in CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
685
diff
changeset
|
176 |
|
ed7514e9d76c
rename selectedMethodProtocols to selecteProtocols in CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
685
diff
changeset
|
177 |
"Created: / 05-05-2014 / 00:14:23 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
ed7514e9d76c
rename selectedMethodProtocols to selecteProtocols in CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
685
diff
changeset
|
178 |
! |
ed7514e9d76c
rename selectedMethodProtocols to selecteProtocols in CustomContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
685
diff
changeset
|
179 |
|
541
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
180 |
selectedVariables |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
181 |
"a collection with selected variables" |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
182 |
|
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
183 |
self subclassResponsibility |
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
184 |
|
fb9cae8a5221
Add methods below to CustomContext, implement them in CustomSubContext
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
535
diff
changeset
|
185 |
"Created: / 05-05-2014 / 00:14:59 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
535
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
186 |
! ! |
9eb00f310701
CustomContext a comment for selected classes
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
diff
changeset
|
187 |
|
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
188 |
!CustomContext methodsFor:'initialization'! |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
189 |
|
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
190 |
initialize |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
191 |
|
830
1a88f5e65fe2
Classes moved to namespace SmallSense
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
828
diff
changeset
|
192 |
model := SmallSense::CustomNamespace onEnvironment: BrowserEnvironment new. |
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
193 |
|
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
194 |
"Modified: / 19-11-2014 / 09:35:26 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
830
1a88f5e65fe2
Classes moved to namespace SmallSense
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
828
diff
changeset
|
195 |
"Modified: / 11-05-2015 / 09:07:49 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
196 |
! ! |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
197 |
|
761
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
198 |
!CustomContext methodsFor:'instance creation'! |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
199 |
|
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
200 |
copyWithModel: aModel |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
201 |
"Returs shallow copy with custom class model. It is useful |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
202 |
if we need to keep object immutability when we receive it |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
203 |
as method parameter. Setting just model could have side effect, |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
204 |
because the sender probably does not expect object to be modified, |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
205 |
but only read." |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
206 |
|
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
207 |
^ self copy model: aModel; yourself |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
208 |
|
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
209 |
"Created: / 25-11-2014 / 19:46:05 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
210 |
! ! |
afbac76f54d3
fixed problem with different model in a generator and in the context
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
755
diff
changeset
|
211 |
|
746
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
212 |
!CustomContext methodsFor:'private'! |
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
213 |
|
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
214 |
asRBClass: cls |
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
215 |
"For given real class, return a corresponding RBClass" |
746
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
216 |
|
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
217 |
^ Object isMetaclass |
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
218 |
ifTrue:[ model metaclassNamed: cls theNonMetaclass name ] |
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
219 |
ifFalse:[ model classNamed: cls name ] |
746
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
220 |
|
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
221 |
"Created: / 14-11-2014 / 19:26:22 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
755
37d50424e347
tests fixes - global instance of RBNamespace for creating RBClass holds old data when the global system namespace changes its state - in this case it is old real class instance
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
747
diff
changeset
|
222 |
"Modified (comment): / 19-11-2014 / 09:39:15 / Jakub Nesveda <nesvejak@fit.cvut.cz>" |
747
008860f4cbd4
Make CustomContext>>selectedMethods always return a collection of RBMethod...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
746
diff
changeset
|
223 |
! |
008860f4cbd4
Make CustomContext>>selectedMethods always return a collection of RBMethod...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
746
diff
changeset
|
224 |
|
008860f4cbd4
Make CustomContext>>selectedMethods always return a collection of RBMethod...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
746
diff
changeset
|
225 |
asRBMethod: aMethod |
008860f4cbd4
Make CustomContext>>selectedMethods always return a collection of RBMethod...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
746
diff
changeset
|
226 |
| rbClass | |
008860f4cbd4
Make CustomContext>>selectedMethods always return a collection of RBMethod...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
746
diff
changeset
|
227 |
|
008860f4cbd4
Make CustomContext>>selectedMethods always return a collection of RBMethod...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
746
diff
changeset
|
228 |
rbClass := self asRBClass: aMethod mclass. |
008860f4cbd4
Make CustomContext>>selectedMethods always return a collection of RBMethod...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
746
diff
changeset
|
229 |
^ rbClass methodFor: aMethod selector |
008860f4cbd4
Make CustomContext>>selectedMethods always return a collection of RBMethod...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
746
diff
changeset
|
230 |
|
008860f4cbd4
Make CustomContext>>selectedMethods always return a collection of RBMethod...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
746
diff
changeset
|
231 |
"Created: / 14-11-2014 / 20:17:16 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
746
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
232 |
! ! |
a25dc307d4e8
Make CustomContext>>selectedClasses always return a collection of RBClass...
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
718
diff
changeset
|
233 |
|
668
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
234 |
!CustomContext methodsFor:'testing'! |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
235 |
|
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
236 |
isInteractiveContext |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
237 |
"Return true, if this generator/refactoring context is interactive, |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
238 |
i.e., if it may interact with user (like asking for class name or |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
239 |
similar) or not. |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
240 |
|
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
241 |
Generally speaking, only top-level context is interactive an only |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
242 |
if generator/refactoring was triggerred from menu. |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
243 |
" |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
244 |
^ false |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
245 |
|
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
246 |
"Created: / 16-09-2014 / 09:22:55 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
247 |
! ! |
7f8cddf23efa
Separated generator/refactoring initialization from actuall execution.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
629
diff
changeset
|
248 |
|
582
8788d388f801
fix broken tests due to another default code formatting
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
541
diff
changeset
|
249 |
!CustomContext class methodsFor:'documentation'! |
8788d388f801
fix broken tests due to another default code formatting
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
541
diff
changeset
|
250 |
|
8788d388f801
fix broken tests due to another default code formatting
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
541
diff
changeset
|
251 |
version_HG |
8788d388f801
fix broken tests due to another default code formatting
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
541
diff
changeset
|
252 |
|
8788d388f801
fix broken tests due to another default code formatting
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
541
diff
changeset
|
253 |
^ '$Changeset: <not expanded> $' |
8788d388f801
fix broken tests due to another default code formatting
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
541
diff
changeset
|
254 |
! ! |
8788d388f801
fix broken tests due to another default code formatting
Jakub Nesveda <jakubnesveda@seznam.cz>
parents:
541
diff
changeset
|
255 |