Eclipse Platform
Release 3.1

org.eclipse.ltk.core.refactoring.participants
Class CopyRefactoring

java.lang.Object
  extended byorg.eclipse.core.runtime.PlatformObject
      extended byorg.eclipse.ltk.core.refactoring.Refactoring
          extended byorg.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring
              extended byorg.eclipse.ltk.core.refactoring.participants.CopyRefactoring
All Implemented Interfaces:
IAdaptable

public class CopyRefactoring
extends ProcessorBasedRefactoring

A generic copy refactoring. The actual refactoring is done by the copy processor passed to the constructor.

This class is not intended to be subclassed by clients.

Since:
3.1

Constructor Summary
CopyRefactoring(CopyProcessor processor)
          Creates a new copy refactoring with the given copy processor.
 
Method Summary
 CopyProcessor getCopyProcessor()
          Returns the copy processor associated with this copy refactoring.
 RefactoringProcessor getProcessor()
          Return the processor associated with this refactoring. The method must not return null.
 
Methods inherited from class org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring
checkFinalConditions, checkInitialConditions, createChange, getAdapter, getName, getTextChange, isApplicable, toString
 
Methods inherited from class org.eclipse.ltk.core.refactoring.Refactoring
checkAllConditions, getValidationContext, setValidationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CopyRefactoring

public CopyRefactoring(CopyProcessor processor)
Creates a new copy refactoring with the given copy processor.

Parameters:
processor - the copy processor
Method Detail

getCopyProcessor

public CopyProcessor getCopyProcessor()
Returns the copy processor associated with this copy refactoring.

Returns:
returns the copy processor associated with this copy refactoring

getProcessor

public RefactoringProcessor getProcessor()
Return the processor associated with this refactoring. The method must not return null.

Specified by:
getProcessor in class ProcessorBasedRefactoring
Returns:
the processor associated with this refactoring

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.