1 /* 2 * Created on 6 mars 2004 3 * 4 * To change the template for this generated file go to 5 * Window>Preferences>Java>Code Generation>Code and Comments 6 */ 7 package com.bull.eclipse.jonas.actions; 8 9 /** 10 * @author cnedi 11 * 12 * To change the template for this generated type comment go to 13 * Window>Preferences>Java>Code Generation>Code and Comments 14 */ 15 import org.eclipse.jdt.core.ICompilationUnit; 16 17 import com.bull.eclipse.jonas.AddLog; 18 import com.bull.eclipse.jonas.utils.UtilServicesClass; 19 // 20 // This procedure add log to all classes of the project ! 21 // 22 public class AddLogActionDelegate extends JonasFileAbstractActionDelegate { 23 24 public boolean doActionOn(ICompilationUnit cu) throws Exception { 25 26 UtilServicesClass.saveFiles(); 27 28 AddLog addlog = new AddLog(); 29 addlog.run(cu); 30 31 return true; 32 } 33 34 } 35 36