CustomCodeGenerator.st
changeset 464 2f2f44408f2c
child 468 21268660f1cd
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CustomCodeGenerator.st	Mon Apr 08 20:47:22 2013 -0400
@@ -0,0 +1,76 @@
+"{ Package: 'jn:refactoring_custom' }"
+
+Object subclass:#CustomCodeGenerator
+	instanceVariableNames:''
+	classVariableNames:''
+	poolDictionaries:''
+	category:'Interface-Refactoring-Custom'
+!
+
+
+!CustomCodeGenerator class methodsFor:'initialization'!
+
+initialize
+    "Invoked at system start or when the class is dynamically loaded."
+
+    "/ please change as required (and remove this comment)
+
+
+! !
+
+!CustomCodeGenerator class methodsFor:'instance creation'!
+
+new
+    "return an initialized instance"
+
+    ^ self basicNew initialize.
+! !
+
+!CustomCodeGenerator methodsFor:'change & update'!
+
+update:something with:aParameter from:changedObject
+    "Invoked when an object that I depend upon sends a change notification."
+
+    "stub code automatically generated - please change as required"
+
+    "/ changedObject == someOfMyValueHolders ifTrue:[
+    "/     self doSomethingApropriate.
+    "/     ^ self.
+    "/ ].
+    super update:something with:aParameter from:changedObject
+! !
+
+!CustomCodeGenerator methodsFor:'code generation helpers'!
+
+canGenerate: className
+
+    ^true.
+
+    "Created: / 08-04-2013 / 20:22:19 / user"
+!
+
+generate
+    ^'Code'.
+
+    "Created: / 08-04-2013 / 20:24:31 / user"
+! !
+
+!CustomCodeGenerator methodsFor:'initialization'!
+
+initialize
+    "Invoked when a new instance is created."
+
+    "/ please change as required (and remove this comment)
+
+    "/ super initialize.   -- commented since inherited method does nothing
+! !
+
+!CustomCodeGenerator class methodsFor:'documentation'!
+
+version_HG
+
+    ^ '$Changeset: <not expanded> $'
+! !
+
+
+CustomCodeGenerator initialize!