# HG changeset patch # User Claus Gittinger # Date 1567950951 -7200 # Node ID 5d99d0f97a32c89e7ba924a4c59d9eb542ca81bd # Parent 8586d5461ade9d200580521e1ce12a853e87da17 #REFACTORING by exept class: ProjectDefinition class changed: #executeHooks: (send #argumentCount instead of #numArgs) diff -r 8586d5461ade -r 5d99d0f97a32 ProjectDefinition.st --- a/ProjectDefinition.st Sun Sep 08 15:51:41 2019 +0200 +++ b/ProjectDefinition.st Sun Sep 08 15:55:51 2019 +0200 @@ -2974,6 +2974,7 @@ "Created: / 23-01-2007 / 19:08:27 / cg" ! ! + !ProjectDefinition class methodsFor:'description - project information'! applicationAdditionalIconFileNames @@ -5092,6 +5093,7 @@ ^ self subProjectMakeCallsUsing:'call vcmake %1 %2'. ! ! + !ProjectDefinition class methodsFor:'file templates'! autopackage_default_dot_apspec @@ -6684,16 +6686,16 @@ cls := self. [ cls notNil ] whileTrue:[ - cls class selectorsAndMethodsDo:[:selector :method| - (method annotationAt: hookSymbol) notNil ifTrue:[ - method numArgs == 0 ifTrue:[ - self perform: selector - ] ifFalse:[ - self proceedableError:'Hook for %1 may not have arguments'. - ] - ] - ]. - cls := cls superclass. + cls class selectorsAndMethodsDo:[:selector :method| + (method annotationAt: hookSymbol) notNil ifTrue:[ + method argumentCount == 0 ifTrue:[ + self perform: selector + ] ifFalse:[ + self proceedableError:'Hook for %1 may not have arguments'. + ] + ] + ]. + cls := cls superclass. ]. "Created: / 20-11-2012 / 23:00:13 / Jan Vrany " @@ -8474,12 +8476,6 @@ "Modified: / 20-09-2006 / 15:00:00 / cg" ! -isPluginDefinition - "an attribute for end-user-application plugins (-> expecco)" - - ^ false -! - isProjectDefinition "concrete i.e. not abstract"