Copyright (c) 2004, 2008 IBM Corporation and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0 Contributors: IBM Corporation - initial API and implementation
/******************************************************************************* * Copyright (c) 2004, 2008 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/
package org.eclipse.ltk.core.refactoring.participants;
A participant to participate in refactorings that copy elements to a shared clipboard. A copy participant can't assume that its associated refactoring processor is a copy processor. A copy operation might be a side effect of another refactoring operation.

Copy participants are registered via the extension point org.eclipse.ltk.core.refactoring.copyParticipants. Extensions to this extension point must therefore extend this abstract class.

Since:3.1
/** * A participant to participate in refactorings that copy elements to a shared * clipboard. A copy participant can't assume that its associated refactoring * processor is a copy processor. A copy operation might be a side effect of another * refactoring operation. * <p> * Copy participants are registered via the extension point <code> * org.eclipse.ltk.core.refactoring.copyParticipants</code>. * Extensions to this extension point must therefore extend this abstract class. * </p> * * @since 3.1 */
public abstract class CopyParticipant extends RefactoringParticipant { private CopyArguments fArguments; @Override protected final void initialize(RefactoringArguments arguments) { fArguments= (CopyArguments)arguments; }
Returns the copy arguments.
Returns:the copy arguments
/** * Returns the copy arguments. * * @return the copy arguments */
public CopyArguments getArguments() { return fArguments; } }