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 RenameArguments


java.lang.Object
  extended by 

org.eclipse.ltk.core.refactoring.participants.RefactoringArguments
      extended by 
org.eclipse.ltk.core.refactoring.participants.RenameArguments

public class RenameArguments
extends RefactoringArguments

Rename arguments describe the data that a processor provides to its rename participants.

This class may be subclassed by refactoring processors wishing to provide special rename arguments for special participants.

Since:
3.0

Constructor Summary
RenameArguments ( String newName, boolean updateReferences)
          Creates new rename arguments.
 
Method Summary
  String getNewName ()
          Returns the new element name.
 boolean getUpdateReferences ()
          Returns whether reference updating is requested or not.
  String toString ()
          Returns a string representation of these arguments suitable for debugging purposes only.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RenameArguments

public RenameArguments(
String newName,
                       boolean updateReferences)
Creates new rename arguments.

Parameters:
newName - the new name of the element to be renamed
updateReferences - true if reference updating is requested; false otherwise
Method Detail

getNewName

public 
String getNewName()
Returns the new element name.

Returns:
the new element name

getUpdateReferences

public boolean getUpdateReferences()
Returns whether reference updating is requested or not.

Returns:
returns true if reference updating is requested; false otherwise

toString

public 
String toString()
Returns a string representation of these arguments suitable for debugging purposes only.

Subclasses should reimplement this method.

Overrides:
toString in class RefactoringArguments
Returns:
a debug string
Since:
3.2

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