View | Details | Raw Unified | Return to bug 93559 | Differences between
and this patch

Collapse All | Expand All

(-)IRefactoringProcessorIds.java (-35 lines)
Lines 10-21 Link Here
10
 *******************************************************************************/
10
 *******************************************************************************/
11
package org.eclipse.jdt.ui.refactoring;
11
package org.eclipse.jdt.ui.refactoring;
12
12
13
import org.eclipse.core.runtime.IProgressMonitor;
14
15
import org.eclipse.core.resources.IResourceVisitor;
16
import org.eclipse.core.resources.mapping.ResourceMapping;
17
import org.eclipse.core.resources.mapping.ResourceMappingContext;
18
19
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameCompilationUnitProcessor;
13
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameCompilationUnitProcessor;
20
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameEnumConstProcessor;
14
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameEnumConstProcessor;
21
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameFieldProcessor;
15
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameFieldProcessor;
Lines 221-253 Link Here
221
	 */
215
	 */
222
	public static String DELETE_PROCESSOR= JavaDeleteProcessor.IDENTIFIER;
216
	public static String DELETE_PROCESSOR= JavaDeleteProcessor.IDENTIFIER;
223
	
217
	
224
	/**
225
	 * Processor ID of the copy processor (value <code>"org.eclipse.jdt.ui.CopyProcessor"</code>).
226
	 * 
227
	 * The copy processor is used when copying elements via drag and drop or when pasting
228
	 * elements from the clipboard. The copy processor loads the following participants,
229
	 * depending on the type of the element that gets copied:
230
	 * <ul>
231
	 *   <li><code>IJavaProject</code>: no participants are loaded.</li>
232
	 *   <li><code>IPackageFragmentRoot</code>: participants registered for copying 
233
	 *       <code>IPackageFragmentRoot</code> and <code>ResourceMapping</code>.</li>
234
	 *   <li><code>IPackageFragment</code>: participants registered for copying 
235
	 *       <code>IPackageFragment</code> and <code>ResourceMapping</code>.</li>
236
	 *   <li><code>ICompilationUnit</code>: participants registered for copying 
237
	 *       <code>ICompilationUnit</code> and <code>ResourceMapping</code>.</li>
238
	 *   <li><code>IType</code>: like ICompilationUnit if the primary top level type is copied.
239
	 *       Otherwise no participants are loaded.</li>
240
	 *   <li><code>IMember</code>: no participants are loaded.</li>
241
	 *   <li><code>IFolder</code>: participants registered for copying folders.</li>
242
	 *   <li><code>IFile</code>: participants registered for copying files.</li>
243
	 * </ul>
244
	 * <p>
245
	 * Use the method {@link ResourceMapping#accept(ResourceMappingContext context, IResourceVisitor visitor, IProgressMonitor monitor)} 
246
	 * to enumerate the resources which form the Java element. <code>ResourceMappingContext.LOCAL_CONTEXT</code> 
247
	 * should be use as the <code>ResourceMappingContext</code> passed to the accept methdod.
248
	 * </p>
249
	 * @see org.eclipse.core.resources.mapping.ResourceMapping
250
	 * @since 3.1
251
	 */
252
	public static String COPY_PROCESSOR= "org.eclipse.jdt.ui.CopyProcessor";  //$NON-NLS-1$
253
}
218
}

Return to bug 93559