Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

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


java.lang.Object
  extended by 

org.eclipse.core.runtime.PlatformObject
      extended by 

org.eclipse.ltk.core.refactoring.Refactoring
          extended by 

org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring
              extended by 
org.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
Restriction:
This class is not intended to be subclassed by clients.

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.
 
Methods inherited from class org.eclipse.ltk.core.refactoring.participants. ProcessorBasedRefactoring
checkFinalConditions, checkInitialConditions, createChange, getAdapter, getName, getTextChange, isApplicable, setProcessor, toString
 
Methods inherited from class org.eclipse.ltk.core.refactoring. Refactoring
checkAllConditions, doGetRefactoringTickProvider, getRefactoringTickProvider, 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. Implementors can override this method to return the processor to be used by this refactoring. Since 3.4, this method returns the processor passed in ProcessorBasedRefactoring.ProcessorBasedRefactoring(RefactoringProcessor) or by ProcessorBasedRefactoring.setProcessor(RefactoringProcessor).

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

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire