Bug 120603 [refactoring] Refactoring History resource mappings should override getModelProviderId()
org.eclipse.ltk.core.refactoring/src/org/eclipse/ltk/core/refactoring/model/RefactoringDescriptorResourceMapping.java
* Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ltk.core.refactoring.model;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.resources.mapping.ResourceMapping;
import org.eclipse.core.resources.mapping.ResourceMappingContext;
import org.eclipse.core.resources.mapping.ResourceTraversal;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptorProxy;
import org.eclipse.ltk.internal.core.refactoring.Assert;
import org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryManager;
import org.eclipse.ltk.internal.core.refactoring.history.RefactoringHistoryService;
/**
 * Resource mapping for a refactoring descriptor object.
 * 
 * @since 3.2
 */
public final class RefactoringDescriptorResourceMapping extends ResourceMapping {
	
	private final RefactoringDescriptorProxy fDescriptor;
	
	private ResourceTraversal[] fResourceTraversals= null;
	/**
	 * Creates a new refactoring descriptor resource mapping.