464
|
1 |
"{ Package: 'jn:refactoring_custom' }"
|
|
2 |
|
|
3 |
Object subclass:#CustomRefactoring
|
468
|
4 |
instanceVariableNames:'name description'
|
464
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'Interface-Refactoring-Custom'
|
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!CustomRefactoring class methodsFor:'initialization'!
|
|
12 |
|
|
13 |
initialize
|
|
14 |
"Invoked at system start or when the class is dynamically loaded."
|
|
15 |
|
|
16 |
"/ please change as required (and remove this comment)
|
|
17 |
|
|
18 |
|
|
19 |
! !
|
|
20 |
|
|
21 |
!CustomRefactoring class methodsFor:'instance creation'!
|
|
22 |
|
|
23 |
new
|
|
24 |
"return an initialized instance"
|
|
25 |
|
|
26 |
^ self basicNew initialize.
|
|
27 |
! !
|
|
28 |
|
|
29 |
!CustomRefactoring methodsFor:'change & update'!
|
|
30 |
|
|
31 |
update:something with:aParameter from:changedObject
|
|
32 |
"Invoked when an object that I depend upon sends a change notification."
|
|
33 |
|
|
34 |
"stub code automatically generated - please change as required"
|
|
35 |
|
|
36 |
"/ changedObject == someOfMyValueHolders ifTrue:[
|
|
37 |
"/ self doSomethingApropriate.
|
|
38 |
"/ ^ self.
|
|
39 |
"/ ].
|
|
40 |
super update:something with:aParameter from:changedObject
|
|
41 |
! !
|
|
42 |
|
|
43 |
!CustomRefactoring methodsFor:'initialization'!
|
|
44 |
|
|
45 |
initialize
|
465
|
46 |
"Invoked when a new in stance is created."
|
464
|
47 |
|
|
48 |
"/ please change as required (and remove this comment)
|
|
49 |
|
|
50 |
"/ super initialize. -- commented since inherited method does nothing
|
465
|
51 |
|
|
52 |
"Modified (comment): / 29-04-2013 / 16:43:30 / user"
|
464
|
53 |
! !
|
|
54 |
|
|
55 |
!CustomRefactoring methodsFor:'refactory-changes'!
|
|
56 |
|
|
57 |
canRefactor: className
|
|
58 |
^true.
|
|
59 |
|
|
60 |
"Created: / 08-04-2013 / 20:28:26 / user"
|
|
61 |
!
|
|
62 |
|
|
63 |
refactor
|
467
|
64 |
^'code test JENKINS xxx'.
|
464
|
65 |
|
|
66 |
"Created: / 08-04-2013 / 20:28:55 / user"
|
465
|
67 |
"Modified: / 29-04-2013 / 16:23:54 / user"
|
464
|
68 |
! !
|
|
69 |
|
|
70 |
!CustomRefactoring class methodsFor:'documentation'!
|
|
71 |
|
|
72 |
version_HG
|
|
73 |
|
|
74 |
^ '$Changeset: <not expanded> $'
|
|
75 |
! !
|
|
76 |
|
|
77 |
|
|
78 |
CustomRefactoring initialize!
|