Bug 120598 Refactoring History JAR Export Wizard should allow (de-)selecting refactorings
I20051213-0010 It is currently not possible to deselect single refactorings from the history during the export of a JAR - only refactorings before a certain date can be excluded. I'd suggest adding the possibility of selecting/deselecting refactorings.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/jarpackager/JarWriter3.java
import org.eclipse.ltk.core.refactoring.history.RefactoringHistory;
import org.eclipse.jdt.internal.corext.refactoring.base.JavaRefactorings;
import org.eclipse.jdt.internal.corext.util.Messages;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.jarpackager.JarPackagerMessages;
import org.eclipse.jdt.internal.ui.jarpackager.JarPackagerUtil;
/**
 * Creates a JAR file for the given JAR package data.
 * <p>
 * Clients may subclass.
 * </p>
 * 
 * @see org.eclipse.jdt.ui.jarpackager.JarPackageData
 * @since 3.1
 */
public class JarWriter3 {
	private Set fDirectories= new HashSet();
	private JarOutputStream fJarOutputStream;
	private JarPackageData fJarPackage;
	/**
	 * Creates an instance which is used to create a JAR based
	 * on the given JarPackage.
	 *
	 * @param jarPackage		the JAR specification
	 * @param parent			the shell used to display question dialogs,
	 *				 			or <code>null</code> if "false/no/cancel" is the answer
	 * 							and no dialog should be shown
	 * @throws	CoreException	to signal any other unusual termination.
	 * 							This can also be used to return information
	 * 							in the status object.