Index: IInternalRefactoringProcessorIds.java
===================================================================
RCS file: IInternalRefactoringProcessorIds.java
diff -N IInternalRefactoringProcessorIds.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ IInternalRefactoringProcessorIds.java 1 Jan 1970 00:00:00 -0000
@@ -0,0 +1,50 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2005 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+ package org.eclipse.jdt.internal.corext.refactoring;
+
+import org.eclipse.core.runtime.IProgressMonitor;
+
+import org.eclipse.core.resources.IResourceVisitor;
+import org.eclipse.core.internal.resources.mapping.ResourceMapping;
+import org.eclipse.core.internal.resources.mapping.ResourceMappingContext;
+
+public interface IInternalRefactoringProcessorIds {
+
+ /**
+ * Processor ID of the copy processor (value "org.eclipse.jdt.ui.CopyProcessor"
).
+ *
+ * The copy processor is used when copying elements via drag and drop or when pasting
+ * elements from the clipboard. The copy processor loads the following participants,
+ * depending on the type of the element that gets copied:
+ *
IJavaProject
: no participants are loaded.IPackageFragmentRoot
: participants registered for copying
+ * IPackageFragmentRoot
and ResourceMapping
.IPackageFragment
: participants registered for copying
+ * IPackageFragment
and ResourceMapping
.ICompilationUnit
: participants registered for copying
+ * ICompilationUnit
and ResourceMapping
.IType
: like ICompilationUnit if the primary top level type is copied.
+ * Otherwise no participants are loaded.IMember
: no participants are loaded.IFolder
: participants registered for copying folders.IFile
: participants registered for copying files.
+ * Use the method {@link ResourceMapping#accept(ResourceMappingContext context, IResourceVisitor visitor, IProgressMonitor monitor)}
+ * to enumerate the resources which form the Java element. ResourceMappingContext.LOCAL_CONTEXT
+ * should be use as the ResourceMappingContext
passed to the accept methdod.
+ *