CustomValueHolderWithChangeNotificationAccessMethodsCodeGenerator.st
author Jakub Nesveda <jakubnesveda@seznam.cz>
Sun, 13 Jul 2014 17:25:15 +0200
changeset 613 9bb8c8bebb10
child 656 a95284467938
permissions -rw-r--r--
add access methods generator for ValueHolder with change notification

"{ Package: 'jn:refactoring_custom' }"

CustomAccessMethodsCodeGenerator subclass:#CustomValueHolderWithChangeNotificationAccessMethodsCodeGenerator
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'Interface-Refactoring-Custom'
!

!CustomValueHolderWithChangeNotificationAccessMethodsCodeGenerator class methodsFor:'accessing-presentation'!

description
    "Returns more detailed description of the receiver"
    
    ^ 'Access Method(s) for ValueHolder with Change Notification for selected instance variables'

    "Modified: / 13-07-2014 / 17:13:46 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
!

label
    "Returns show label describing the receiver. This label
     is used in UI as menu item/tree item label."
    
    ^ 'Access Method(s) for ValueHolder with Change Notification'

    "Modified: / 13-07-2014 / 17:13:33 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
! !

!CustomValueHolderWithChangeNotificationAccessMethodsCodeGenerator methodsFor:'executing'!

buildInContext: aCustomContext
    "Creates access methods XX for given context"

    self
        executeSubGeneratorClasses: (
            Array
                with: CustomValueHolderWithChangeNotificationGetterMethodsCodeGenerator
                with: CustomValueHolderWithChangeNotificationSetterMethodsCodeGenerator
        ) 
        inContext: aCustomContext

    "Modified: / 13-07-2014 / 17:12:58 / Jakub Nesveda <nesvejak@fit.cvut.cz>"
! !