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: + * + *

+ * 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. + *

+ * @see org.eclipse.core.resources.mapping.ResourceMapping + * @since 3.1 + */ + public static String COPY_PROCESSOR= "org.eclipse.jdt.ui.CopyProcessor"; //$NON-NLS-1$ +}