1 package com.bull.eclipse.jonas.actions.rar; 2 3 7 8 import org.eclipse.core.resources.IFolder; 9 import org.eclipse.core.resources.IResource; 10 11 import com.bull.eclipse.jonas.actions.JonasFolderAbstractActionDelegate; 12 import com.bull.eclipse.jonas.utils.RarManagement; 13 14 15 public class BuildRarActionDelegate extends JonasFolderAbstractActionDelegate { 16 17 public boolean doActionOn(IFolder fold) throws Exception { 18 RarManagement.buildRarFile(fold.getLocation().toOSString(),fold.getProject()); 19 fold.getParent().getProject().refreshLocal( IResource.DEPTH_INFINITE, null ); 20 return true; 21 } 22 23 24 } 25 | Popular Tags |