Please have a look at the UML metamodel (File > import > select "plugins and fragments", click 'next' then search for 'org.eclipse.uml2.uml', select it and 'Finish' the wizard). In there, you will see that an Activity is a Class (Activity inherits from Behavior which inherits from Class). That's all Acceleo 'sees'.
If you wish to generate your code for all Classes save for Activities, you can use a guard :
[template public generateEntity(c : Class) ? (not c.oclIsKindOf(Activity))]
...